Sha256: a24faeb7a686966e1617222ee36d71b8192c94316898a83ad318aaa260fa57d0

Contents?: true

Size: 993 Bytes

Versions: 10

Compression:

Stored size: 993 Bytes

Contents

# lib/gemwarrior/entities/monsters/citrinaga.rb
# Citrinaga monster

require_relative '../monster'

module Gemwarrior
  class Citrinaga < Monster
    def initialize
      self.name         = 'citrinaga'
      self.description  = 'Refreshing in its shiny, gleaming effectiveness at ending your life.'
      self.face         = 'shiny'
      self.hands        = 'glistening'
      self.mood         = 'staid'
      
      self.level        = rand(5..7)
      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*3).floor)
      self.defense      = rand(7..9)
      self.dexterity    = rand(6..7)

      self.inventory    = Inventory.new
      self.rox          = rand((level * 2)..(level * 3))
      self.xp           = rand(level..(level * 3))
      
      self.battlecry    = 'Slice and dice so nice!'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gemwarrior-0.7.0 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.6.5 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.6.4 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.6.3 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.6.2 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.6.1 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.6.0 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.5.2 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.5.1 lib/gemwarrior/entities/monsters/citrinaga.rb
gemwarrior-0.5 lib/gemwarrior/entities/monsters/citrinaga.rb