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