RPG::Actor

Data class for actors.

Superclass

Attributes

id

The actor ID.

name

The actor name.

class_id

The actor class ID.

initial_level

The actor's initial level.

final_level

The actor's final level.

exp_basis

The value on which the experience curve is based (10..50).

exp_inflation

The amount of experience curve inflation (10..50).

character_name

The actor's character graphic file name.

character_hue

The adjustment value for the character graphic's hue (0..360).

battler_name

The actor's battler graphic file name.

battler_hue

The adjustment value for the battler graphic's hue (0..360).

parameters

2-dimensional array containing base parameters for each level (Table).

Generally takes the form parameters[kind, level].

kind indicates the parameter type (0: max HP, 1: max SP, 2: strength, 3: dexterity, 4: agility, 5: intelligence).

weapon_id

ID of the actor's initially equipped weapon.

armor1_id

ID of the actor's initially equipped shield.

armor2_id

ID of the actor's initially equipped helmet.

armor3_id

ID of the actor's initially equipped body armor.

armor4_id

ID of the actor's initially equipped accessory.

weapon_fix

Flag making the actor's weapon unremovable.

armor1_fix

Flag making the actor's shield unremovable.

armor2_fix

Flag making the actor's helmet unremovable.

armor3_fix

Flag making the actor's body armor unremovable.

armor4_fix

Flag making the actor's accessory unremovable.

Definition

Last updated