Sha256: 9ad5308b01895b031659efdccf3eb0f6a894807de3edb2a5ed6a9f5a77bfc008
Contents?: true
Size: 590 Bytes
Versions: 15
Compression:
Stored size: 590 Bytes
Contents
# lib/gemwarrior/entities/weapons/opalaser.rb # Entity::Item::Weapon::Opalaser require_relative '../item' module Gemwarrior class Opalaser < Weapon def initialize super self.name = 'opalaser' self.name_display = 'Opalaser' self.description = 'Gleaming with supernatural light, this object feels alien, yet familiar.' self.atk_lo = 9 self.atk_hi = 11 end def use(world) puts 'You pull the "trigger" on the opalaser, but nothing happens.' { type: nil, data: nil } end end end
Version data entries
15 entries across 15 versions & 1 rubygems