Sha256: 1149c860da59515e6e05a7a3f0b20c363d33f3fae4ffa0e67c656124bdb2a824
Contents?: true
Size: 645 Bytes
Versions: 33
Compression:
Stored size: 645 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 self.dex_mod = -2 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
33 entries across 33 versions & 1 rubygems