feat: ajoute un niveau
This commit is contained in:
parent
2c726beb79
commit
6d2d3103c6
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ end
|
||||||
|
|
||||||
local function addStatCommands(name, value)
|
local function addStatCommands(name, value)
|
||||||
addCommands(name .. ".base", name, value.default)
|
addCommands(name .. ".base", name, value.default)
|
||||||
addCommands(name .. ".lvl", name, 0)
|
addCommands(name .. ".lvl", name, value.lvl or 0)
|
||||||
addCommands(name .. ".add", name, 0)
|
addCommands(name .. ".add", name, 0)
|
||||||
addCommands(name .. ".bonus", name, 0)
|
addCommands(name .. ".bonus", name, 0)
|
||||||
end
|
end
|
||||||
|
|
|
@ -17,8 +17,8 @@ return {
|
||||||
dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.dis"},
|
dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.dis"},
|
||||||
rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.rel"},
|
rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.rel"},
|
||||||
per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.per"},
|
per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10, to="stats.per"},
|
||||||
pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pv"},
|
pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pv", lvl=3},
|
||||||
pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe"},
|
pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe", lvl=3},
|
||||||
eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1, to="vita.eclat"},
|
eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1, to="vita.eclat"},
|
||||||
armurephy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.phy"},
|
armurephy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.phy"},
|
||||||
armurepsy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.psy"},
|
armurepsy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.psy"},
|
||||||
|
|
Loading…
Reference in a new issue