DynRPG v0.32 Unofficial
Plugin SDK
|
An entry of the monster's behavior (normal attack, skill, transform, etc.) More...
#include <MonsterBehavior.h>
Public Attributes | |
int | id |
index of the monster's behavior (one-based) | |
ActionKind_T | kind |
The monster's action (Only AK_BASIC, AK_SKILL, & AK_TRANSFORM) | |
BasicAction_T | basicActionId |
If kind is RPG::AK_BASIC: Kind of the basic action (see RPG::BasicAction) | |
int | skillId |
If kind is RPG::AK_SKILL: Database ID of the skill (See RPG::ActionKind) | |
int | monsterId |
If kind is RPG::AK_TRANSFORM: Database ID of the monster to transform into (See RPG::ActionKind) | |
MonsterPrecondition_T | precondition |
The monster's precondition. | |
int | preconditionParam [2] |
Precondition parameters (amount vary depending on precondition) | |
bool | preconditionSwitchId |
If precondition is set to MON_PRE_SWITCH (See RPG::MonsterPrecondition) | |
bool | switchOn |
Does the action turn on a switch? | |
int | switchOnId |
The ID of the switch to turn ON. | |
bool | switchOff |
Does the action turn off a switch? | |
int | switchOffId |
The ID of the switch to turn OFF. | |
int | priority |
the priority of the action | |
An entry of the monster's behavior (normal attack, skill, transform, etc.)
This class is used to describe a monster's behavior as defined in the database, and represents a single entry.