Hey every one here is what I'm working with. My question is, how do I access a different weapon from the RPG::Weapons class.
Code:
#==============================================================================# ** RPG::Weapon#------------------------------------------------------------------------------# This class handles the weapon's w_type, price and features.#==============================================================================class RPG::Weapon < RPG::EquipItem #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_accessor :prefix, :suffix #-------------------------------------------------------------------------- # * Aliasing Method: Initializing Processing #-------------------------------------------------------------------------- alias :rpgi5254252452 :initialize #-------------------------------------------------------------------------- # * Initializing Processing #-------------------------------------------------------------------------- def initialize rpgi5254252452() @prefix = @suffix = $data_weapons[5] endend