Sha256: c678add88f3460cb65be2c56341483a76d196f8cbcc72db9690b372a557ae49c
Contents?: true
Size: 666 Bytes
Versions: 15
Compression:
Stored size: 666 Bytes
Contents
# lib/gemwarrior/entities/weapons/stone.rb # Entity::Item::Weapon::Stone require_relative '../weapon' module Gemwarrior class Stone < Weapon def initialize super self.name = 'stone' self.name_display = 'Stone' self.description = 'A small, yet quite sharp, sedimentary pebble, suitable for tossing in amusement, and perhaps combat.' self.atk_lo = 1 self.atk_hi = 2 end def use(world) puts 'You toss the stone a few feet into the air, and then it falls back into your palm. The experience was truly thrilling.' { type: nil, data: nil } end end end
Version data entries
15 entries across 15 versions & 1 rubygems