RPG::EquipItem

A superclass of weapons and armor.

Superclass

Attributes

price

The price of the weapon or armor.

etype_id

The type of weapon or armor.

params

The amount of parameter change. An array of integers using the following IDs as subscripts:

Definition

class RPG::EquipItem < RPG::BaseItem
  def initialize
    super
    @price = 0
    @etype_id = 0
    @params = [0] * 8
  end
  attr_accessor :price
  attr_accessor :etype_id
  attr_accessor :params
end