Sha256: 8b60270f788f2dbb7c72564df90927315a564d6d1bc37ca57c140c8e431b5f6a

Contents?: true

Size: 1.02 KB

Versions: 48

Compression:

Stored size: 1.02 KB

Contents

# lib/gemwarrior/entities/monsters/cubicat.rb
# Entity::Creature::Monster::Cubicat

require_relative '../monster'

module Gemwarrior
  class Cubicat < Monster
    def initialize
      super

      self.name         = 'cubicat'
      self.name_display = 'Cubicat'
      self.description  = 'Perfectly geometrically cubed feline, fresh from its woven enclosure, claws at the ready.'
      self.battlecry    = 'I don\'t really care, as long as you die!'
      self.face         = 'striking'
      self.hands        = 'grippy'
      self.mood         = 'salacious'

      self.level        = rand(6..8)
      self.hp_cur       = rand((level * 2)..(level * 3))
      self.hp_max       = hp_cur
      self.atk_lo       = rand(level..(level * 2).floor)
      self.atk_hi       = rand((level * 2).floor..(level * 3).floor)
      self.defense      = rand(5..7)
      self.dexterity    = rand(8..10)

      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/cubicat.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/monsters/cubicat.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/monsters/cubicat.rb