Sha256: a33597ff84a139f5f4a9f5c58b7a0f6ee9e9d1927228c59e747b96b6654620d5
Contents?: true
Size: 1014 Bytes
Versions: 15
Compression:
Stored size: 1014 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
15 entries across 15 versions & 1 rubygems