Sha256: b36b41a54e6708d869d5b4e9f80a7065fc852c1d2cc6e58a669d02f8e3bf3b67
Contents?: true
Size: 695 Bytes
Versions: 9
Compression:
Stored size: 695 Bytes
Contents
# lib/gemwarrior/entities/items/mace.rb # Item::Mace require_relative '../item' module Gemwarrior class Mace < Item def initialize super self.name = '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.takeable = true self.useable = true self.consumable = false self.equippable = true end def use(player = nil) puts 'You swing the mace around a few times, really testing out its smashability.' { type: nil, data: nil } end end end
Version data entries
9 entries across 9 versions & 1 rubygems