Sha256: 71cf1ba12158791b848d6bb79545e935b956e22069cbee68af54f39907ce4e89
Contents?: true
Size: 1002 Bytes
Versions: 46
Compression:
Stored size: 1002 Bytes
Contents
# lib/gemwarrior/entities/monsters/apatiger.rb # Apatiger monster require_relative '../monster' module Gemwarrior class Apatiger < Monster def initialize super self.name = 'apatiger' self.description = 'Apathetic about most everything as it lazes around, save for eating you.' self.face = 'calloused' self.hands = 'soft' self.mood = 'apathetic' self.level = rand(4..5) self.hp_cur = rand((level * 2)..(level * 3)) self.hp_max = hp_cur self.atk_lo = rand(level..(level * 1.5).floor) self.atk_hi = rand((level * 1.5).floor..(level * 2.5).floor) self.defense = rand(4..7) self.dexterity = rand(3..7) self.rox = rand((level * 2)..(level * 3)) self.xp = rand(level..(level * 2)) self.battlecry = 'Gggggggggrrrrrrrrrrrrrrrrooooooooooowwwwwwwwwwwwlllllllll!' end end end
Version data entries
46 entries across 46 versions & 1 rubygems