Sha256: 73c9db39fad69398b9fc49b0265ccf20987b17b979a3f26b8673a739ee1674dc

Contents?: true

Size: 1.03 KB

Versions: 48

Compression:

Stored size: 1.03 KB

Contents

# lib/gemwarrior/entities/monsters/apatiger.rb
# Entity::Creature::Monster::Apatiger

require_relative '../monster'

module Gemwarrior
  class Apatiger < Monster
    def initialize
      super

      self.name         = 'apatiger'
      self.name_display = 'Apatiger'
      self.description  = 'Apathetic about most everything as it lazes around, save for eating you.'
      self.battlecry    = 'Gggggggggrrrrrrrrrrrrrrrrooooooooooowwwwwwwwwwwwlllllllll!'
      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.rox          = rand((level * 2)..(level * 3))
      self.xp           = rand(level..(level * 2))
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
gemwarrior-0.15.20 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/monsters/apatiger.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/monsters/apatiger.rb