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