Method: Gemwarrior::Dagger#initialize
- Defined in:
- lib/gemwarrior/entities/items/dagger.rb
#initialize ⇒ Dagger
Returns a new instance of Dagger.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/gemwarrior/entities/items/dagger.rb', line 8 def initialize self.name = '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 = 2 self.atk_hi = 4 self.takeable = true self.useable = false self.equippable = true self.equipped = false end |