class Cleric

playable character roles each role will have a focus, like healing or magic spells

Attributes

spell_buff[RW]

clerics can heal themselves, and even put their HP’s above max during combat, as a buffer

Public Class Methods

new(str=12, agi=12, int=10, dmg=5, armor=8, hp=6, cur_hp=6, dodge=5, mana=12, cur_mana=12, xp=0, lvl=1, coin=0, name="Cleric") click to toggle source
Calls superclass method Mobs::new
# File lib/mobs.rb, line 33
def initialize(str=12, agi=12, int=10, dmg=5, armor=8, hp=6, cur_hp=6, dodge=5, mana=12, cur_mana=12, xp=0, lvl=1, coin=0, name="Cleric")
  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