Class: Gemwarrior::Garynetty
- Defined in:
- lib/gemwarrior/entities/monsters/bosses/garynetty.rb
Constant Summary
Constants inherited from Monster
Instance Attribute Summary
Attributes inherited from Monster
#battlecry, #is_boss, #is_dead
Attributes inherited from Creature
#atk_hi, #atk_lo, #defense, #dexterity, #face, #hands, #hp_cur, #hp_max, #inventory, #level, #mood, #rox, #speak, #use, #xp
Attributes inherited from Entity
#consumable, #describe, #describe_detailed, #description, #display_shopping_cart, #equippable, #equipped, #name, #name_display, #number_of_uses, #takeable, #talkable, #useable, #useable_battle, #used, #used_again
Instance Method Summary collapse
-
#initialize ⇒ Garynetty
constructor
A new instance of Garynetty.
Methods inherited from Monster
Methods inherited from Creature
Methods inherited from Entity
Constructor Details
#initialize ⇒ Garynetty
Returns a new instance of Garynetty.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/gemwarrior/entities/monsters/bosses/garynetty.rb', line 9 def initialize super self.name = 'garynetty' self.name_display = 'Garynetty' self.description = 'Conservative, yet odd, the Garynetty is not messing around.' self.battlecry = '...?!' self.face = 'irregular' self.hands = 'sharp' self.mood = 'abrasive' self.level = rand(10..12) self.hp_cur = rand((level * 4.5).floor..(level * 5.5).floor) self.hp_max = hp_cur self.atk_lo = rand((level * 2)..(level * 2.5).floor) self.atk_hi = rand((level * 2.5).floor..(level * 3).floor) self.defense = rand(7..9) self.dexterity = rand(10..12) self.inventory = random_item self.rox = rand((level * 5)..(level * 6)) self.xp = rand((level * 7)..(level * 11)) self.is_boss = true end |