class RPG::Armor

Attributes

atype_id[RW]

Public Class Methods

new() click to toggle source
Calls superclass method RPG::EquipItem::new
# File lib/rgss3/rpg.rb, line 642
def initialize
  super
  @atype_id = 0
  @etype_id = 1
  @features.push(RPG::BaseItem::Feature.new(22, 1, 0))
end

Public Instance Methods

performance() click to toggle source
# File lib/rgss3/rpg.rb, line 648
def performance
  params[3] + params[5] + params.inject(0) {|r, v| r += v }
end