mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
23b974bbb2
Fairly straightforward one here I think. Unfortunately the subweapon name does not appear in the definition (actually... are subweapon names in the game at all? I don't recall them being in there, I think it's all just in the manual?) so it's hard to map these definitions to the subweapons. Might be good to think about whether we could insert comments somehow. Anyway, this works for now and might help with collecting the subweapons in one place to understand the remaining members of the definition.
36 lines
730 B
JSON
36 lines
730 B
JSON
{
|
|
"struct": {
|
|
"attack": "s16",
|
|
"heartCost": "s16",
|
|
"attackElement": "u16",
|
|
"unk6": "u8",
|
|
"nFramesInvincibility": "u8",
|
|
"stunFrames": "u16",
|
|
"unkA": "u8",
|
|
"blueprintNum":"u8",
|
|
"hitboxState": "u16",
|
|
"hitEffect": "u16",
|
|
"crashId": "u8",
|
|
"unk11": "u8",
|
|
"entityRoomIndex": "u16"
|
|
},
|
|
"fields": {
|
|
"attackElement": [
|
|
"field_att0",
|
|
"field_att1",
|
|
"field_att2",
|
|
"field_att3",
|
|
"field_att4",
|
|
"HIT",
|
|
"CUT",
|
|
"POISON",
|
|
"CURSE",
|
|
"STONE",
|
|
"WATER",
|
|
"DARK",
|
|
"HOLY",
|
|
"ICE",
|
|
"THUNDER",
|
|
"FIRE"
|
|
]}
|
|
} |