class Rogue
Attributes
spell_buff[RW]
rogues have good melee damage and the highest dodge, they get extra coin and other perks too :)
Public Class Methods
new(str=12, agi=16, int=12, dmg=6, armor=6, hp=6, cur_hp=6, dodge=20, mana=0, cur_mana=0, xp=0, lvl=1, coin=0, name="Rogue")
click to toggle source
Calls superclass method
Mobs::new
# File lib/mobs.rb, line 63 def initialize(str=12, agi=16, int=12, dmg=6, armor=6, hp=6, cur_hp=6, dodge=20, mana=0, cur_mana=0, xp=0, lvl=1, coin=0, name="Rogue") 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