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