class Gemwarrior::Amberoo

Public Class Methods

new() click to toggle source
Calls superclass method Gemwarrior::Monster::new
# File lib/gemwarrior/entities/monsters/amberoo.rb, line 8
def initialize
  super

  self.name         = 'amberoo'
  self.name_display = 'Amberoo'
  self.description  = 'Fossilized and jumping around like an adorably dangerous threat from the past.'
  self.battlecry    = 'I\'m hoppin\' mad!'
  self.face         = 'punchy'
  self.hands        = 'balled'
  self.mood         = 'jumpy'

  self.level        = rand(1..2)
  self.hp_cur       = rand((level * 2)..(level * 3))
  self.hp_max       = hp_cur
  self.atk_lo       = rand(level..(level * 2))
  self.atk_hi       = rand((level * 2)..(level * 2.5).floor)
  self.defense      = rand(2..3)
  self.dexterity    = rand(2..4)

  self.rox          = rand((level * 2)..(level * 3))
  self.xp           = rand(level..(level * 2))
end