bdd-creature/struct.lua

29 lines
1.7 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},
2024-08-02 10:04:02 +02:00
nomType={contentType = "string"},
categorie={contentType = "string"},
faiblesses={contentType = "string"},
resistences={contentType = "string"},
immunites={contentType = "string"},
2024-08-02 08:34:54 +02:00
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},
2024-08-02 08:53:17 +02:00
competence= {dataType= "comp", args=3}, -- on va le gérer différemment comme du code lol sinon c'est trop relou
skill= {dataType= "list", args=2}, -- on va le gérer différemment comme du code lol sinon c'est trop relou
2024-08-02 08:34:54 +02:00
armes= {dataType= "list", args=1},
2024-08-01 23:14:47 +02:00
}