Sha256: a838922f1dd703929d1814250e974bca6ecdc2268dd4590577fb9c5e2b839dc1

Contents?: true

Size: 1 KB

Versions: 12

Compression:

Stored size: 1 KB

Contents

# lib/gemwarrior/entities/monsters/amberoo.rb
# Entity::Creature::Monster::Amberoo

require_relative '../monster'

module Gemwarrior
  class Amberoo < Monster
    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((level * 2)..(level * 2.5).floor)
      self.dexterity    = rand(3..4)

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gemwarrior-0.12.5 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.12.1 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.12.0 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.11.5 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.11.4 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.11.3 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.11.2 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.11.1 lib/gemwarrior/entities/monsters/amberoo.rb
gemwarrior-0.11.0 lib/gemwarrior/entities/monsters/amberoo.rb