Sha256: 44a0ec5ac9bd4ad165fb8f2ff45e24cd3fd743f6a5ff6f0da14ddd692c1f89fb
Contents?: true
Size: 665 Bytes
Versions: 33
Compression:
Stored size: 665 Bytes
Contents
# lib/gemwarrior/entities/weapons/dagger.rb # Entity::Item::Weapon::Dagger require_relative '../weapon' module Gemwarrior class Dagger < Weapon def initialize super self.name = 'dagger' self.name_display = 'Dagger' self.description = 'Flint that has been sharpened to a point, attached to a block of smooth granite by thin rope. Truly a work of art.' self.atk_lo = 1 self.atk_hi = 3 self.dex_mod = 1 end def use(world) puts 'You graze the blade of the dagger lightly and find it to be plenty sharp.' { type: nil, data: nil } end end end
Version data entries
33 entries across 33 versions & 1 rubygems