Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.abortAttack()


     
      /*
       * if(item.getItem().getType2() == L2Item.TYPE2_WEAPON) { activeChar.checkIfWeaponIsAllowed(); }
       */
     
      activeChar.abortAttack();
     
      activeChar.sendPacket(new EtcStatusUpdate(activeChar));
      // if an "invisible" item has changed (Jewels, helmet),
      // we dont need to send broadcast packet to all other users
      if (!((item.getItem().getBodyPart() & L2Item.SLOT_HEAD) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_NECK) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_L_EAR) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_R_EAR) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_L_FINGER) > 0 || (item.getItem().getBodyPart() & L2Item.SLOT_R_FINGER) > 0))
View Full Code Here


                  else
                  {
                    player.setCurrentHp(0);
                    if (player.isInOlympiadMode())
                    {
                      player.abortAttack();
                      player.abortCast();
                      player.getStatus().stopHpMpRegeneration();
                    }
                    else
                      player.doDie(activeChar);
View Full Code Here

                else
                {
                  player.setCurrentHp(0);
                  if (player.isInOlympiadMode())
                  {
                    player.abortAttack();
                    player.abortCast();
                    player.getStatus().stopHpMpRegeneration();
                    // player.setIsDead(true);
                    player.setIsPendingRevive(true);
                    if (player.getPet() != null)
View Full Code Here

        {
          owner.abortCast();
        }
        if(owner.isAttackingNow())
        {
          owner.abortAttack();
        }
        unEquipItemInSlot(PAPERDOLL_RHAND);
        unEquipItemInSlot(PAPERDOLL_LHAND);
        unEquipItemInSlot(PAPERDOLL_LRHAND);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.