Sha256: 88776cc7f4c6b1c927f0f59411ef5e276788e225264ff62861962d028104a7a7

Contents?: true

Size: 1.02 KB

Versions: 10

Compression:

Stored size: 1.02 KB

Contents

# lib/gemwarrior/entities/monsters/apatiger.rb
# Apatiger monster

require_relative '../monster'

module Gemwarrior
  class Apatiger < Monster
    def initialize
      self.name         = 'apatiger'
      self.description  = 'Apathetic about most everything as it lazes around, save for eating you.'
      self.face         = 'calloused'
      self.hands        = 'soft'
      self.mood         = 'apathetic'
      
      self.level        = rand(4..5)
      self.hp_cur       = rand((level * 2)..(level * 3))
      self.hp_max       = hp_cur
      self.atk_lo       = rand(level..(level * 1.5).floor)
      self.atk_hi       = rand((level * 1.5).floor..(level * 2.5).floor)
      self.defense      = rand(4..7)
      self.dexterity    = rand(3..7)

      self.inventory    = Inventory.new
      self.rox          = rand((level * 2)..(level * 3))
      self.xp           = rand(level..(level * 2))
      
      self.battlecry    = 'Gggggggggrrrrrrrrrrrrrrrrooooooooooowwwwwwwwwwwwlllllllll!'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gemwarrior-0.7.0 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.6.5 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.6.4 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.6.3 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.6.2 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.6.1 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.6.0 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.5.2 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.5.1 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.5 lib/gemwarrior/entities/monsters/apatiger.rb