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

Version Path
gemwarrior-0.15.20 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.19 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.18 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.17 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.16 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.15 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.14 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.13 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.12 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.11 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.10 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.9 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.8 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.7 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.6 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.5 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.4 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.3 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.2 lib/gemwarrior/entities/weapons/opalaser.rb
gemwarrior-0.15.1 lib/gemwarrior/entities/weapons/opalaser.rb