feat: ajoute un niveau

This commit is contained in:
Kazhnuz 2024-08-06 22:22:43 +02:00
parent 2c726beb79
commit 6d2d3103c6
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ end
local function addStatCommands(name, value)
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 .. ".bonus", name, 0)
end

View file

@ -17,8 +17,8 @@ return {
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"},
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"},
pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1, to="vita.pe"},
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", lvl=3},
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"},
armurepsy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0, to="armure.psy"},