Class: Kobold

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

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 = 8, int = 8, dmg = 5, armor = 5, hp = 6, cur_hp = 6, dodge = 10, mana = 2, cur_mana = 2, xp = 150, lvl = 1, coin = 2, name = "Kobold") ⇒ Kobold



62
63
64
# File 'lib/mobs.rb', line 62

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