public Statue() { super(); do { weapon = (Weapon) Generator.random(Generator.Category.WEAPON); } while (!(weapon instanceof MeleeWeapon) || weapon.cursed); weapon.identify(); weapon.enchant(Enchantment.random()); HP = HT = 15 + Dungeon.depth * 5; defenseSkill = 4 + Dungeon.depth; }
@Override public String description() { return "You would think that it's just another one of this dungeon's ugly statues, but its red glowing eyes give it away." + "\n\nWhile the statue itself is made of stone, the _" + weapon.name() + "_, it's wielding, looks real."; }
@Override public int damageRoll() { return Random.NormalIntRange(weapon.min(), weapon.max()); }
@Override public String description() { return Messages.get(this, "desc", weapon.name()); }
@Override public int attackProc(Char enemy, int damage) { return weapon.proc(this, enemy, damage); }
@Override public int drRoll() { return Random.NormalIntRange(0, Dungeon.depth + weapon.defenseFactor(null)); }