Sha256: 12a1f7b6e5a06d33cd2176dcfdbf25933a875c2856dff428e2719de9ab60b5a4

Contents?: true

Size: 1.04 KB

Versions: 48

Compression:

Stored size: 1.04 KB

Contents

# lib/gemwarrior/entities/monsters/amethystle.rb
# Entity::Creature::Monster::Amethystle

require_relative '../monster'

module Gemwarrior
  class Amethystle < Monster
    def initialize
      super

      self.name         = 'amethystle'
      self.name_display = 'Amethystle'
      self.description  = 'Sober and contemplative, it moves with purplish tentacles swaying in the breeze.'
      self.battlecry    = 'You\'ve found yourself in quite the thorny issue!'
      self.face         = 'sharp'
      self.hands        = 'loose'
      self.mood         = 'mesmerizing'

      self.level        = rand(2..3)
      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(2..4)
      self.dexterity    = rand(1..2)

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