RPG::Weapon

Data class for weapons.

Superclass

Attributes

id

The weapon ID.

name

The weapon name.

icon_name

The weapon's icon graphic file name.

description

The weapon description.

animation1_id

The animation ID when using the weapon.

animation2_id

The animation ID when on the receiving end of the weapon.

price

The weapon's price.

atk

The weapon's attack power.

pdef

The weapon's physical defense rating.

mdef

The weapon's magic defense rating.

str_plus

The weapon's strength bonus.

dex_plus

The weapon's dexterity bonus.

agi_plus

The weapon's agility bonus.

int_plus

The weapon's intelligence bonus.

element_set

The weapon's element. 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