Class: RPG::Armor
Instance Attribute Summary collapse
-
#atype_id ⇒ Object
Returns the value of attribute atype_id.
Attributes inherited from EquipItem
Attributes inherited from BaseItem
#description, #features, #icon_index, #id, #name, #note
Instance Method Summary collapse
-
#initialize ⇒ Armor
constructor
A new instance of Armor.
- #performance ⇒ Object
Constructor Details
Instance Attribute Details
#atype_id ⇒ Object
Returns the value of attribute atype_id.
868 869 870 |
# File 'lib/R3EXS/RGSS3.rb', line 868 def atype_id @atype_id end |
Instance Method Details
#performance ⇒ Object
864 865 866 |
# File 'lib/R3EXS/RGSS3.rb', line 864 def performance params[3] + params[5] + params.inject(0) { |r, v| r += v } end |