Sha256: bd533b5b0e5f7999eff9d6de284aec536ec9a7600e3b938f52e20f8858306718

Contents?: true

Size: 971 Bytes

Versions: 46

Compression:

Stored size: 971 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

46 entries across 46 versions & 1 rubygems

Version Path
gemwarrior-0.10.8 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.7 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.6 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.5 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.4 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.2 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.1 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.10.0 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.39 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.37 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.36 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.35 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.34 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.33 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.32 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.31 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.30 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.28 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.27 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.9.26 lib/gemwarrior/entities/monsters/amberoo.rb