class RPG::Weapon
Attributes
animation_id[RW]
wtype_id[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
RPG::EquipItem::new
# File lib/rgss3/rpg.rb, line 626 def initialize super @wtype_id = 0 @animation_id = 0 @features.push(RPG::BaseItem::Feature.new(31, 1, 0)) @features.push(RPG::BaseItem::Feature.new(22, 0, 0)) end
Public Instance Methods
performance()
click to toggle source
# File lib/rgss3/rpg.rb, line 633 def performance params[2] + params[4] + params.inject(0) {|r, v| r += v } end