Sha256: 1b9954d2b56f454071fd2aca96f3ce7e1340320784e64535a0c1c059ee5994d4
Contents?: true
Size: 1009 Bytes
Versions: 10
Compression:
Stored size: 1009 Bytes
Contents
# lib/gemwarrior/entities/monsters/amberoo.rb # Amberoo monster require_relative '../monster' module Gemwarrior class Amberoo < Monster def initialize self.name = 'amberoo' self.description = 'Fossilized and jumping around like an adorably dangerous threat from the past.' self.face = 'punchy' self.hands = 'balled' self.mood = 'jumpy' self.level = rand(1..2) self.hp_cur = rand((level * 2)..(level * 3)) self.hp_max = hp_cur self.atk_lo = rand(level..(level * 2)) self.atk_hi = rand((level * 2)..(level * 2.5).floor) self.defense = rand((level * 2)..(level * 2.5).floor) self.dexterity = rand(3..4) self.inventory = Inventory.new self.rox = rand((level * 2)..(level * 3)) self.xp = rand(level..(level * 2)) self.battlecry = 'I\'m hoppin\' mad!' end end end
Version data entries
10 entries across 10 versions & 1 rubygems