RPG::State

Data class for state.

Superclass

Attributes

id

State ID.

name

State name.

animation_id

The state's animation ID.

restriction

Sets restrictions (0: none, 1: can't use magic, 2: always attack enemies, 3: always attack allies, 4: can't move).

nonresistance

Truth value of the [Nonresistance] option.

zero_hp

Truth value of the [Regard as HP 0] option.

cant_get_exp

Truth value of the [Can't Get EXP] option.

cant_evade

Truth value of the [Can't Evade] option.

slip_damage

Truth value of the [Slip Damage] option.

rating

State rating (0..10).

hit_rate

Hit percentage.

maxhp_rate

Maximum HP percentage.

maxsp_rate

Maximum SP percentage.

str_rate

Strength percentage.

dex_rate

Dexterity percentage.

agi_rate

Agility percentage.

int_rate

Intelligence percentage.

atk_rate

Attack percentage.

pdef_rate

Physical defense percentage.

mdef_rate

Magic defense percentage.

eva

Evasion correction.

battle_only

Truth value of whether the state wears off at battle end.

hold_turnauto_release_prob

Percent probability of wearing off after the number of turns in hold_turn have passed.

shock_release_prob

Percent probability of wearing off after receiving physical damage.

guard_element_set

Elemental defense. An Elemental ID array.

plus_state_set

States to add. A State ID array.

minus_state_set

States to cancel. A State ID array.

Definition

Last updated