Sha256: 4db761b77b09aa5013d683a25024a97d3ea61ed6088858ead108310f3ef61f1b

Contents?: true

Size: 1.01 KB

Versions: 46

Compression:

Stored size: 1.01 KB

Contents

# lib/gemwarrior/entities/monsters/garynetty.rb
# Garrynetty monster

require_relative '../../monster'

module Gemwarrior
  class Garynetty < Monster
    def initialize
      self.name         = 'Garynetty'
      self.description  = 'Conservative, yet odd, the Garynetty is not messing around.'
      self.face         = 'irregular'
      self.hands        = 'sharp'
      self.mood         = 'abrasive'

      self.level        = rand(12..15)
      self.hp_cur       = rand((level * 2.5).floor..(level * 3.5).floor)
      self.hp_max       = hp_cur
      self.atk_lo       = rand((level * 2)..(level * 2.5).floor)
      self.atk_hi       = rand((level * 2.5).floor..(level * 3).floor)
      self.defense      = rand(7..9)
      self.dexterity    = rand(10..12)

      self.inventory    = Inventory.new
      self.rox          = rand((level * 2)..(level * 3))
      self.xp           = rand((level * 3)..(level * 4))

      self.battlecry    = '...?!'
      self.is_boss      = true
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

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