RPG::Enemy::Action
Data class for enemy [Actions].
Superclass
Referrer
Attributes
kind
Type of action (0: basic, 1: skill).
basic
When set to a [Basic] action, defines it further (0: attack, 1: defend, 2: escape, 3: do nothing).
skill_id
When set to a [Skill], the ID of that skill.
condition_turn_acondition_turn_b
a and b values specified in the [Turn] condition. To be input in the form a + bx.
When the turn is not specified as a condition, a = 0 and b = 1.
condition_hp
Percentage specified in the [HP] condition.
When HP is not specified as a condition, this value is set to 100.
condition_level
Standard level specified in the [Level] condition.
When the level is not specified as a condition, this value is set to 1.
condition_switch_id
Switch ID specified in the [Switch] condition.
When the switch ID is not specified as a condition, this value is set to 0. Consequently, it is essential to check whether this value is 0.
rating
The action's rating (1..10).
Definition
Last updated