Exemplo n.º 1
0
 @Override
 protected void handleAttack(Creature creature) {
   super.handleAttack(creature);
   if (Rnd.get(1, 100) < 3) {
     spawnServant();
   }
 }
  @Override
  protected void handleAttack(Creature creature) {
    super.handleAttack(creature);

    if (Rnd.get(1, 100) < 1) {
      spawnClone();
    }
  }
 @Override
 protected void handleAttack(Creature creature) {
   super.handleAttack(creature);
   checkPercentage(getLifeStats().getHpPercentage());
   attackCount++;
   if (attackCount == 20) {
     AggroEventHandler.onAggro(this, creature);
   }
 }
 @Override
 public void handleAttack(Creature creature) {
   super.handleAttack(creature);
   if (isHome.compareAndSet(true, false)) {
     if (getNpcId() == 217309) {
       sendMsg(1500388);
       startPhaseTask(this);
     } else {
       startPhase2Task();
     }
   }
 }
 @Override
 protected void handleAttack(Creature creature) {
   super.handleAttack(creature);
   checkPercentage(getLifeStats().getHpPercentage());
 }
 @Override
 protected void handleAttack(Creature creature) {
   super.handleAttack(creature);
   isDeadGod();
 }