sotn-decomp/tools/splat_ext/subweapondefs_config.json
bismurphy 23b974bbb2
Extract subweapon definitions (#790)
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.
2023-11-19 00:32:27 +00:00

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"
]}
}