V-Gears 0
Free Final Fantasy VII engine.
Attack Struct Reference

An attack structure. More...

#include <Attack.h>

Collaboration diagram for Attack:

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< StatusEffectstatus_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...
 

Detailed Description

An attack structure.

Constructor & Destructor Documentation

◆ Attack()

Attack::Attack ( )
inline

Constructor.

Initializes data to default values.

Member Data Documentation

◆ animation

Animation Attack::animation

Animation data.

◆ damage

Damage Attack::damage

Damage parameters.

◆ elements

std::vector<unsigned int> Attack::elements

Information about the item elements.

2 bytes.

◆ id

u32 Attack::id

Attack ID.

◆ mp

u16 Attack::mp

MP cost.

Determines the MP const of the attack.

◆ name

std::string Attack::name

Attack name.

◆ reflectable

bool Attack::reflectable

The attack can be reflected.

◆ status_effects

std::vector<StatusEffect> Attack::status_effects

Information about status change mode and chance.

◆ target

Target Attack::target

Targeting options.


The documentation for this struct was generated from the following file: