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

Targeting parameters. More...

#include <Attack.h>

Public Attributes

bool selection_enabled
 The target can be selected. More...
 
bool default_enemy
 The default target is an enemy. More...
 
bool default_multiple
 The default target is a group. More...
 
bool toggle_multiple
 The selection can change between groups and individuals. More...
 
bool fixed_row
 The target group can be changed. More...
 
bool short_range
 The command is short ranged. More...
 
bool all_rows
 Targets all, enemies and allies. More...
 
bool random
 The target is random. More...
 
bool only_for_dead
 If true, the attack will miss unless the target is dead. More...
 
bool no_re_target
 The attack can be re-targeted if the target is dead. More...
 

Detailed Description

Targeting parameters.

Member Data Documentation

◆ all_rows

bool Attack::Target::all_rows

Targets all, enemies and allies.

When true, all allies and enemies are targets, and the selection can't be changed.

◆ default_enemy

bool Attack::Target::default_enemy

The default target is an enemy.

When true, the cursor starts in an enemy row. When false, it starts in the ally row. It may or may not be possible to change it.

◆ default_multiple

bool Attack::Target::default_multiple

The default target is a group.

When true, the cursor starts will all the members of a row selected. When false, it starts with only one target selected. It may or may not be possible to change it.

◆ fixed_row

bool Attack::Target::fixed_row

The target group can be changed.

When true, the target cannot be changed between enemies and allies. In this case {

See also
default_enemy} will determine the group that can be targeted.

◆ no_re_target

bool Attack::Target::no_re_target

The attack can be re-targeted if the target is dead.

◆ only_for_dead

bool Attack::Target::only_for_dead

If true, the attack will miss unless the target is dead.

◆ random

bool Attack::Target::random

The target is random.

When multiple targets are selected, one will be selected at random to be the receiving target. Cursor will cycle among all viable targets.

◆ selection_enabled

bool Attack::Target::selection_enabled

The target can be selected.

If the target of the attack is selectable, at least between some subset of possible targets, this must be true.

◆ short_range

bool Attack::Target::short_range

The command is short ranged.

When true, if the target or the caster is not in the front of their row, the target will take half damage. Also, when true, an enemy covered by another enemy can't be targeted.

◆ toggle_multiple

bool Attack::Target::toggle_multiple

The selection can change between groups and individuals.

When true, the target can be changed between groups and individuals When false, only {

See also
default_multiple} determines if the target is an individual or a group.

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