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

Attack parameters related to the damage done. More...

#include <Attack.h>

Public Attributes

u16 power
 The attack power. More...
 
bool physical
 Indicates physical damage. More...
 
bool magical
 Indicates magical damage. More...
 
int formula
 The damage formula. More...
 
int modifier
 The damage modifier. More...
 
float accuracy
 Probability of the attack to land. More...
 
bool affected_by_darkness
 Indicates if the accuracy is affected by darkness. More...
 
GameData::RestoreType restore
 The restore type. More...
 
bool damage_mp
 Indicates if the attack damages MP instead of HP. More...
 
bool drain_hp
 Indicates if the attack drains HP from the target. More...
 
bool drain_mp
 Indicates if the attack drains MP from the target. More...
 
bool ignore_status_defense
 Indicates if the attack ignores status defense. More...
 
bool critical
 If true, the attack will always be critical. More...
 

Detailed Description

Attack parameters related to the damage done.

Member Data Documentation

◆ accuracy

float Attack::Damage::accuracy

Probability of the attack to land.

◆ affected_by_darkness

bool Attack::Damage::affected_by_darkness

Indicates if the accuracy is affected by darkness.

◆ critical

bool Attack::Damage::critical

If true, the attack will always be critical.

◆ damage_mp

bool Attack::Damage::damage_mp

Indicates if the attack damages MP instead of HP.

◆ drain_hp

bool Attack::Damage::drain_hp

Indicates if the attack drains HP from the target.

◆ drain_mp

bool Attack::Damage::drain_mp

Indicates if the attack drains MP from the target.

◆ formula

int Attack::Damage::formula

The damage formula.

◆ ignore_status_defense

bool Attack::Damage::ignore_status_defense

Indicates if the attack ignores status defense.

◆ magical

bool Attack::Damage::magical

Indicates magical damage.

◆ modifier

int Attack::Damage::modifier

The damage modifier.

◆ physical

bool Attack::Damage::physical

Indicates physical damage.

◆ power

u16 Attack::Damage::power

The attack power.

Used for damage/healing calculation.

◆ restore

GameData::RestoreType Attack::Damage::restore

The restore type.


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