Class: GiantRat

Inherits:
Mobs
  • Object
show all
Defined in:
lib/mobs.rb

Overview

Opponents below

Instance Attribute Summary

Attributes inherited from Mobs

#agi, #armor, #coin, #cur_hp, #cur_mana, #dmg, #dodge, #hp, #int, #lvl, #mana, #name, #str, #xp

Instance Method Summary collapse

Constructor Details

#initialize(str = 12, agi = 10, int = 4, dmg = 5, armor = 6, hp = 8, cur_hp = 8, dodge = 5, mana = 0, cur_mana = 0, xp = 200, lvl = 1, coin = 1, name = "ROUS") ⇒ GiantRat

Returns a new instance of GiantRat.



46
47
48
# File 'lib/mobs.rb', line 46

def initialize(str=12, agi=10, int=4, dmg=5, armor=6, hp=8, cur_hp=8, dodge=5, mana=0, cur_mana=0, xp=200, lvl=1, coin=1, name="ROUS")
  super(str,agi,int,dmg,armor,hp,cur_hp,dodge,mana,cur_mana,xp,lvl,coin,name)
end