Sha256: 3fa59686f0330df184e720691e9711882abe037986ab9b94f9bc59df44dc45d1

Contents?: true

Size: 615 Bytes

Versions: 15

Compression:

Stored size: 615 Bytes

Contents

# lib/gemwarrior/entities/weapons/mace.rb
# Entity::Item::Weapon::Mace

require_relative '../weapon'

module Gemwarrior
  class Mace < Weapon
    def initialize
      super

      self.name         = 'mace'
      self.name_display = 'Mace'
      self.description  = 'Sharp spikes atop a steel ball, affixed to a sturdy wooden handle. You could do damage with this.'
      self.atk_lo       = 4
      self.atk_hi       = 6
    end
    
    def use(world)
      puts 'You swing the mace around a few times, really testing out its smashability.'
      { type: nil, data: nil }
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gemwarrior-0.12.8 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.7 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.6 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.5 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.4 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.3 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.2 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.1 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.12.0 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.11.5 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.11.4 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.11.3 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.11.2 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.11.1 lib/gemwarrior/entities/weapons/mace.rb
gemwarrior-0.11.0 lib/gemwarrior/entities/weapons/mace.rb