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