Sha256: ce88dee86070e7716999a3a70895076370cb51964481143984908a6b587cf421

Contents?: true

Size: 987 Bytes

Versions: 15

Compression:

Stored size: 987 Bytes

Contents

# lib/gemwarrior/entities/monsters/amberoo.rb
# Amberoo monster

require_relative '../monster'

module Gemwarrior
  class Amberoo < Monster
    def initialize
      super
    
      self.name         = 'amberoo'
      self.description  = 'Fossilized and jumping around like an adorably dangerous threat from the past.'
      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((level * 2)..(level * 2.5).floor)
      self.dexterity    = rand(3..4)

      self.rox          = rand((level * 2)..(level * 3))
      self.xp           = rand(level..(level * 2))
      
      self.battlecry    = 'I\'m hoppin\' mad!'
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gemwarrior-0.8.6 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.8.5 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.8.3 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.8.2 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.8.1 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.8.0 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.9 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.8 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.7 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.6 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.5 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.4 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.3 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.2 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.7.1 lib/gemwarrior/entities/monsters/amberoo.rb