DynRPG v0.32 Unofficial
Plugin SDK
Public Attributes | List of all members
RPG::Action Class Reference

Action of a battler (normal attack, skill, escape, etc.), including target More...

#include <Action.h>

Public Attributes

ActionKind_T kind
 Kind of the action (see RPG::ActionKind)
 
BasicAction_T basicActionId
 If kind is RPG::AK_BASIC: Kind of the basic action (see RPG::BasicAction)
 
bool retrying
 true if the last try to execute the action failed
 
int skillId
 If kind is RPG::AK_SKILL: Database ID of the skill.
 
int monsterId
 If kind is RPG::AK_TRANSFORM: Database ID of the monster to transform into.
 
int itemId
 If kind is RPG::AK_ITEM: Database ID of the item.
 
int switchIdOn
 If the action turns on a switch: The ID of the switch.
 
int switchIdOff
 
Target_T target
 Target of the action (see RPG::Target)
 
int targetId
 If target is RPG::TARGET_ACTOR or RPG::TARGET_MONSTER: Zero-based party member index of the target.
 

Detailed Description

Action of a battler (normal attack, skill, escape, etc.), including target

This class is used to describe the action an actor or monster does in battle.

Note
The action of a battler is always tied to the battler itself.
See also
RPG::Battler
RPG::ActionKind
RPG::BasicAction
RPG::Target

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