Sha256: 6a1e90bd28dbad02ef3f1d33c66042d3697afe0b057d4d6c9172073c0334a47b

Contents?: true

Size: 1.02 KB

Versions: 19

Compression:

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

19 entries across 19 versions & 1 rubygems

Version Path
gemwarrior-0.8.6 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.8.5 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.8.3 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.8.2 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.8.1 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.8.0 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.9 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.8 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.7 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.6 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.5 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.4 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.3 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.2 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.1 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.7.0 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.6.5 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.6.4 lib/gemwarrior/entities/monsters/bosses/garynetty.rb
gemwarrior-0.6.3 lib/gemwarrior/entities/monsters/bosses/garynetty.rb