RPG::Enemy
Data class for enemies.
Superclass
Attributes
id
The enemy ID.
name
The enemy name.
battler_name
The enemy's battler graphic file name.
battler_hue
The adjustment value for the battler graphic's hue (0..360).
maxhp
The enemy's max HP.
maxsp
The enemy's max SP.
str
The enemy's strength.
dex
The enemy's dexterity.
agi
The enemy's agility.
int
The enemy's intelligence.
atk
The enemy's attack power.
pdef
The enemy's physical defense rating.
mdef
The enemy's magic defense rating.
eva
The enemy's evasion rating.
animation1_id
The battle animation ID.
animation2_id
The target animation ID.
element_ranks
Level of elemental effectiveness. 1-dimensional array using element IDs as subscripts (Table), with 6 levels (0: A, 1: B, 2: C, 3: D, 4: E, 5: F).
state_ranks
Level of status effectiveness. 1-dimensional array using status IDs as subscripts (Table), with 6 levels (0: A, 1: B, 2: C, 3: D, 4: E, 5: F).
actions
The enemy's actions. An RPG::Enemy::Action array.
exp
The enemy's experience.
gold
The enemy's gold.
item_id
The ID of the item used as treasure.
weapon_id
The ID of the weapon used as treasure.
armor_id
The ID of the armor used as treasure.
treasure_prob
The probability of treasure being left behind.
Inner Class
Definition
Last updated