![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
Data for each attack. More...
Public Attributes | |
u8 | accuracy |
Probability of the attack to land. More... | |
u8 | impact_effect |
Impact effect. More... | |
u8 | hurt_anim |
Index of the animation played by the target when hit. More... | |
u8 | unknown |
Unknown data. More... | |
u16 | mp |
MP cost. More... | |
u16 | sound |
Impact sound. More... | |
u16 | camera_single |
Camera movement ID for single target. More... | |
u16 | camera_multiple |
Camera movement ID for multiple target. More... | |
u8 | target_raw |
Targeting mode. More... | |
u8 | effect |
Atack effect ID. More... | |
u8 | damage_raw |
Damage formula. More... | |
u8 | power |
The attack power. More... | |
u8 | condition_raw |
The restore type. More... | |
u8 | status_change_raw |
Information about status change mode and chance. More... | |
u8 | additional_effects_raw |
Special flags. More... | |
u8 | additional_effects_mod_raw |
Special flags. More... | |
u32 | status_raw |
Information about what status can be inflicted or cured. More... | |
u16 | element_raw |
Information about the item elements. More... | |
u16 | special_raw |
Special flags. More... | |
int | id |
Attack ID. More... | |
std::string | name |
Attack name. More... | |
std::string | description |
Attack description. More... | |
Target | target |
Target selection mode. More... | |
u8 | damage_formula |
The damage formula. More... | |
u8 | damage_modifier |
The damage modifier. More... | |
RESTORE_TYPE | restore_type |
What the attack restores when used. More... | |
StatusEffect | status |
Status effects. More... | |
std::vector< int > | elements |
Elements of the attack. More... | |
Data for each attack.
As found in KERNEL.BIN, file 1, in order, up to camera_multiple. Members after special_raw are not found literally in KERNEL.BIN, but are derived from other members.
u8 KernelDataInstaller::AttackData::accuracy |
Probability of the attack to land.
1 byte.
u8 KernelDataInstaller::AttackData::additional_effects_mod_raw |
Special flags.
1 byte.
u8 KernelDataInstaller::AttackData::additional_effects_raw |
Special flags.
1 byte.
u16 KernelDataInstaller::AttackData::camera_multiple |
Camera movement ID for multiple target.
2 bytes.
Determines the camera movement when the command is executed over multiple targets.
u16 KernelDataInstaller::AttackData::camera_single |
Camera movement ID for single target.
2 bytes.
Determines the camera movement when the command is executed over a single target.
u8 KernelDataInstaller::AttackData::condition_raw |
u8 KernelDataInstaller::AttackData::damage_formula |
u8 KernelDataInstaller::AttackData::damage_modifier |
u8 KernelDataInstaller::AttackData::damage_raw |
Damage formula.
1 byte.
This byte is divided into two nybbles (four bits). Upper nybble determines what considerations are made in calculating damage such as physical/magical, allowing criticals, how to calculate accuracy, etc. There are also three sets of known formulae that are paired with the upper nybble values. These are selected in the Lower Nybble and determine how to calculate pre-defense damage
std::string KernelDataInstaller::AttackData::description |
Attack description.
Not found in the same file as the rest of the data, but on file 10.
u8 KernelDataInstaller::AttackData::effect |
Atack effect ID.
1 byte.
Used for animation in battle.
u16 KernelDataInstaller::AttackData::element_raw |
Information about the item elements.
2 bytes.
std::vector<int> KernelDataInstaller::AttackData::elements |
u8 KernelDataInstaller::AttackData::hurt_anim |
Index of the animation played by the target when hit.
1 byte.
int KernelDataInstaller::AttackData::id |
Attack ID.
Not actually in the item file data, it's the order at which it appears.
u8 KernelDataInstaller::AttackData::impact_effect |
Impact effect.
1 byte.
The sprite shown when the attack hits.
u16 KernelDataInstaller::AttackData::mp |
MP cost.
2 bytes.
Determines the camera movement when the command is executed over a single target.
std::string KernelDataInstaller::AttackData::name |
Attack name.
Not found in the same file as the rest of the data, but on file 18.
u8 KernelDataInstaller::AttackData::power |
The attack power.
1 byte.
Used for damage/healing calculation.
RESTORE_TYPE KernelDataInstaller::AttackData::restore_type |
u16 KernelDataInstaller::AttackData::sound |
Impact sound.
2 bytes.
Determines the camera movement when the command is executed over multiple targets.
u16 KernelDataInstaller::AttackData::special_raw |
Special flags.
2 bytes.
StatusEffect KernelDataInstaller::AttackData::status |
u8 KernelDataInstaller::AttackData::status_change_raw |
Information about status change mode and chance.
1 bytes.
u32 KernelDataInstaller::AttackData::status_raw |
Information about what status can be inflicted or cured.
4 bytes.
The first six bits are the chance of inflicting/curing (out of 63). If the seventh bit is set, the status is cured instead of inflicted. If the eighth bit is set, then the status is toggled (cured if present, inflicted if not present).
Target KernelDataInstaller::AttackData::target |
u8 KernelDataInstaller::AttackData::target_raw |
u8 KernelDataInstaller::AttackData::unknown |
Unknown data.
1 bytes.