Ejemplo n.º 1
0
  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;
  }
Ejemplo n.º 2
0
 @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.";
 }
Ejemplo n.º 3
0
 @Override
 public int damageRoll() {
   return Random.NormalIntRange(weapon.min(), weapon.max());
 }
Ejemplo n.º 4
0
 @Override
 public String description() {
   return Messages.get(this, "desc", weapon.name());
 }
Ejemplo n.º 5
0
 @Override
 public int attackProc(Char enemy, int damage) {
   return weapon.proc(this, enemy, damage);
 }
Ejemplo n.º 6
0
 @Override
 public int drRoll() {
   return Random.NormalIntRange(0, Dungeon.depth + weapon.defenseFactor(null));
 }