DynRPG v0.32 Unofficial
Plugin SDK
|
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. | |
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.