Sha256: eb58719c25be67ed7bd8b0963fd2197edd7bfb3bf351e439e2692f67754bbdcb
Contents?: true
Size: 1013 Bytes
Versions: 48
Compression:
Stored size: 1013 Bytes
Contents
# lib/gemwarrior/entities/monsters/coraliz.rb # Entity::Creature::Monster::Coraliz require_relative '../monster' module Gemwarrior class Coraliz < Monster def initialize super self.name = 'coraliz' self.name_display = 'Coraliz' self.description = 'Small blue lizard that slithers around, nipping at your ankles.' self.battlecry = 'Where am I? You\'ll never guess!' 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)) end end end
Version data entries
48 entries across 48 versions & 1 rubygems