class Wizard
Attributes
spell_buff[RW]
wizards can cast damaging spells and have a pet familiar
Public Class Methods
new(str=8, agi=10, int=16, dmg=4, armor=4, hp=4, cur_hp=4, dodge=5, mana=16, cur_mana=16, xp=0, lvl=1, coin=0, name="Wizard")
click to toggle source
Calls superclass method
Mobs::new
# File lib/mobs.rb, line 78 def initialize(str=8, agi=10, int=16, dmg=4, armor=4, hp=4, cur_hp=4, dodge=5, mana=16, cur_mana=16, xp=0, lvl=1, coin=0, name="Wizard") super(str,agi,int,dmg,armor,hp,cur_hp,dodge,mana,cur_mana,xp,lvl,coin,name) @buff_food = false @buff_drink = false @spell_buff = false end