Class: RPG::Weapon
Instance Attribute Summary collapse
-
#animation_id ⇒ Object
Returns the value of attribute animation_id.
-
#wtype_id ⇒ Object
Returns the value of attribute wtype_id.
Attributes inherited from EquipItem
Attributes inherited from BaseItem
#description, #features, #icon_index, #id, #name, #note
Instance Method Summary collapse
-
#initialize ⇒ Weapon
constructor
A new instance of Weapon.
- #performance ⇒ Object
Constructor Details
Instance Attribute Details
#animation_id ⇒ Object
Returns the value of attribute animation_id.
875 876 877 |
# File 'lib/R3EXS/RGSS3.rb', line 875 def animation_id @animation_id end |
#wtype_id ⇒ Object
Returns the value of attribute wtype_id.
874 875 876 |
# File 'lib/R3EXS/RGSS3.rb', line 874 def wtype_id @wtype_id end |
Instance Method Details
#performance ⇒ Object
870 871 872 |
# File 'lib/R3EXS/RGSS3.rb', line 870 def performance params[2] + params[4] + params.inject(0) { |r, v| r += v } end |