Sha256: d4bb201af587547b036f7ed4dfbb095c88eab60ff74b231262f993bc3af80acc
Contents?: true
Size: 959 Bytes
Versions: 46
Compression:
Stored size: 959 Bytes
Contents
# lib/gemwarrior/entities/monsters/coraliz.rb # Coraliz monster require_relative '../monster' module Gemwarrior class Coraliz < Monster def initialize super self.name = 'coraliz' self.description = 'Small blue lizard that slithers around, nipping at your ankles.' self.face = 'spotted' self.hands = 'slippery' self.mood = 'emotionless' self.level = rand(5..8) self.hp_cur = rand((level * 2)..(level*3)) self.hp_max = hp_cur self.atk_lo = rand(level..(level * 3).floor) self.atk_hi = rand((level * 3).floor..(level * 3).floor) self.defense = rand(4..6) self.dexterity = rand(7..9) self.rox = rand((level * 2)..(level * 3)) self.xp = rand(level..(level * 3)) self.battlecry = 'Where am I? You\'ll never guess!' end end end
Version data entries
46 entries across 46 versions & 1 rubygems