Difference between revisions of "FF7/Attack data"
< FF7
Jump to navigation
Jump to search
my_wiki>NFITC1 |
m (28 revisions imported) |
||
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | == KERNEL.BIN - Section 2: Attack data format == | + | == KERNEL.BIN - Section 2: Attack data format == |
− | + | ''(Note: Akari and NFITC1 have some minor differences with respect to information on this page. Most of this page comes from NFITC1's work on WallMarket)'' | |
− | |||
− | |||
This section contains the data for the different attacks. Each record is 28 bytes long. | This section contains the data for the different attacks. Each record is 28 bytes long. | ||
− | + | {| class="wikitable" | |
− | {| | ||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | ! Offset | |
− | + | ! Length | |
− | + | ! Description | |
|- | |- | ||
− | | | + | | 0x00 |
− | + | | 1 byte | |
− | | | + | | Attack % |
|- | |- | ||
− | | | + | | 0x01 |
− | | | + | | 1 byte |
− | | | + | | [[FF7/Battle/Impact_Effect_Id_List|Impact Effect Id]] |
|- | |- | ||
− | | | + | | 0x02 |
− | | | + | | 1 byte |
− | | | + | | Target Hurt Action Index |
|- | |- | ||
− | | | + | | 0x03 |
− | | | + | | 1 byte |
− | | | + | | Unknown |
|- | |- | ||
− | | | + | | 0x04 |
− | + | | 2 byte | |
− | | | + | | Casting cost |
|- | |- | ||
− | | | + | | 0x06 |
− | + | | 2 bytes | |
− | | | + | | [[FF7/Battle/Sound_Effect_Id_List|Impact Sound]] |
|- | |- | ||
− | | | + | | 0x08 |
− | | | + | | 2 bytes |
− | + | | [[FF7/Battle/Camera_Movement_Id_List?redlink=1|Camera Movement Id]] for single target. | |
|- | |- | ||
− | | | + | | 0x0A |
− | | | + | | 2 bytes |
− | | | + | | [[FF7/Battle/Camera_Movement_Id_List?redlink=1|Camera Movement Id]] for multiple targets. |
|- | |- | ||
− | | | + | | 0x0C |
− | | | + | | 1 byte |
+ | | [[FF7/Battle/Targeting_Data|Target Flags]] | ||
|- | |- | ||
− | | | + | | 0x0D |
− | | | + | | 1 byte |
+ | | [[FF7/Battle/Attack_Effect_Id_List|Attack Effect Id]] | ||
|- | |- | ||
− | | | + | | 0x0E |
− | | | + | | 1 byte |
+ | | [[FF7/Battle/Damage_Calculation|Damage Calculation]] | ||
|- | |- | ||
− | | | + | | 0x0F |
− | | | + | | 1 byte |
+ | | Strength of attack for damage calculation | ||
|- | |- | ||
− | | | + | | 0x10 |
− | | | + | | 1 byte |
+ | | Condition sub-menu | ||
|- | |- | ||
− | |style="background:rgb( | + | | style="background: rgb(204,204,255)" rowspan="4" colspan="1" align="center" | |
− | | | + | | 00 |
+ | | Party HP | ||
|- | |- | ||
− | | | + | | 01 |
− | | | + | | Party MP |
|- | |- | ||
− | | | + | | 02 |
− | | | + | | Party Status |
− | |||
|- | |- | ||
− | | | + | | Other |
− | | | + | | None |
− | |||
|- | |- | ||
− | | | + | | 0x11 |
− | + | | 1 byte | |
− | | | + | | Status Effect Change |
|- | |- | ||
− | |style="background:rgb( | + | | style="background: rgb(204,204,255)" rowspan="3" colspan="1" align="center" | |
− | | | + | | 3Fh |
− | | | + | | Chance to Inflict/Heal status (out of 63) |
|- | |- | ||
− | | | + | | 40h |
− | | | + | | Cure if inflicted |
− | |||
|- | |- | ||
− | | | + | | 80h |
− | | | + | | Cure if inflicted, Inflict if not |
|- | |- | ||
− | | | + | | 0x12 |
− | | | + | | 1 byte |
+ | | [[FF7/Battle/Attack_Special_Effects|Attack Additional Effects]] | ||
|- | |- | ||
− | | | + | | 0x13 |
− | | | + | | 1 byte |
+ | | Additional Effects Modifier | ||
|- | |- | ||
− | | | + | | 0x14 |
− | | | + | | 4 bytes |
− | | | + | | [[FF7/Battle/Status_Effects|Status]] |
|- | |- | ||
− | | | + | | 0x18 |
− | | | + | | 2 bytes |
− | | | + | | [[FF7/Battle/Elemental_Data|Element]] |
|- | |- | ||
− | + | | 0x1A | |
− | + | | 2 bytes | |
− | + | | [[FF7/Battle/Special_Attack_Flags|Special Attack Flags]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
|} | |} |
Latest revision as of 05:10, 23 May 2019
KERNEL.BIN - Section 2: Attack data format
(Note: Akari and NFITC1 have some minor differences with respect to information on this page. Most of this page comes from NFITC1's work on WallMarket) This section contains the data for the different attacks. Each record is 28 bytes long.
Offset | Length | Description |
---|---|---|
0x00 | 1 byte | Attack % |
0x01 | 1 byte | Impact Effect Id |
0x02 | 1 byte | Target Hurt Action Index |
0x03 | 1 byte | Unknown |
0x04 | 2 byte | Casting cost |
0x06 | 2 bytes | Impact Sound |
0x08 | 2 bytes | Camera Movement Id for single target. |
0x0A | 2 bytes | Camera Movement Id for multiple targets. |
0x0C | 1 byte | Target Flags |
0x0D | 1 byte | Attack Effect Id |
0x0E | 1 byte | Damage Calculation |
0x0F | 1 byte | Strength of attack for damage calculation |
0x10 | 1 byte | Condition sub-menu |
00 | Party HP | |
01 | Party MP | |
02 | Party Status | |
Other | None | |
0x11 | 1 byte | Status Effect Change |
3Fh | Chance to Inflict/Heal status (out of 63) | |
40h | Cure if inflicted | |
80h | Cure if inflicted, Inflict if not | |
0x12 | 1 byte | Attack Additional Effects |
0x13 | 1 byte | Additional Effects Modifier |
0x14 | 4 bytes | Status |
0x18 | 2 bytes | Element |
0x1A | 2 bytes | Special Attack Flags |