![]() |
V-Gears 0
Free Final Fantasy VII engine.
|
An attack structure. More...
#include <Attack.h>
Classes | |
struct | Animation |
Animation data related to the attack;. More... | |
struct | Damage |
Attack parameters related to the damage done. More... | |
struct | StatusEffect |
Status effect information. More... | |
struct | Target |
Targeting parameters. More... | |
Public Member Functions | |
Attack () | |
Constructor. More... | |
Public Attributes | |
u32 | id |
Attack ID. More... | |
std::string | name |
Attack name. More... | |
Damage | damage |
Damage parameters. More... | |
u16 | mp |
MP cost. More... | |
Target | target |
Targeting options. More... | |
bool | reflectable |
The attack can be reflected. More... | |
std::vector< StatusEffect > | status_effects |
Information about status change mode and chance. More... | |
std::vector< unsigned int > | elements |
Information about the item elements. More... | |
Animation | animation |
Animation data. More... | |
An attack structure.
|
inline |
Constructor.
Initializes data to default values.
std::vector<unsigned int> Attack::elements |
Information about the item elements.
2 bytes.
u16 Attack::mp |
MP cost.
Determines the MP const of the attack.
std::string Attack::name |
Attack name.
bool Attack::reflectable |
The attack can be reflected.
std::vector<StatusEffect> Attack::status_effects |
Information about status change mode and chance.
Target Attack::target |
Targeting options.