bdd-creature/struct.lua

23 lines
1.4 KiB
Lua
Raw Normal View History

2024-08-01 23:14:47 +02:00
return {
2024-08-02 08:34:54 +02:00
name={contentType = "string", preParse = true},
level={contentType = "number", default = 0, preParse = true},
2024-08-01 23:14:47 +02:00
atk= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
con= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
hab= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
int= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
sag= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
vol= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
cha= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
dis= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
rel= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
per= {dataType= "stat", modulo= 5, default= 50, max=255, min=10},
pv= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1},
pe= {dataType= "stat", modulo= 1, default= 12, max=9999999, min=1},
eclat= {dataType= "stat", modulo= 1, default= 10, max=200, min=1},
armurephy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0},
armurepsy= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0},
armurespe= {dataType= "stat", modulo= 1, default= 0, max=9999999, min=0},
2024-08-02 08:34:54 +02:00
armes= {dataType= "list", args=2},
competence= {dataType= "comp"}, -- on va le gérer différemment comme du code lol sinon c'est trop relou
armes= {dataType= "list", args=1},
2024-08-01 23:14:47 +02:00
}