Sha256: a58f52790ba818a5fd6551baf1f08971b6d17cdb5e2ec5af7513421fb4dbf8ea

Contents?: true

Size: 1 KB

Versions: 48

Compression:

Stored size: 1 KB

Contents

# lib/gemwarrior/entities/monsters/aquamarine.rb
# Entity::Creature::Monster::Aquamarine

require_relative '../monster'

module Gemwarrior
  class Aquamarine < Monster
    def initialize
      super

      self.name         = 'aquamarine'
      self.name_display = 'Aquamarine'
      self.description  = 'It is but one of the few, the proud, the underwater.'
      self.battlecry    = 'Attention! You are about to get smashed!'
      self.face         = 'strained'
      self.hands        = 'hairy'
      self.mood         = 'tempered'

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

      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.0 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.8 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.7 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.6 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.5 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.4 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.3 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.2 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.1 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.14.0 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.13.2 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.13.1 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.13.0 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.8 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.7 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.6 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.5 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/monsters/aquamarine.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/monsters/aquamarine.rb