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

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


    }
   
    // unequip item
    if (targetItem.isEquipped())
    {
      activeChar.disarmWeapons();
    }
   
    if (TryAugmentItem(activeChar, targetItem, refinerItem, gemstoneItem))
    {
      int stat12 = 0x0000FFFF & targetItem.getAugmentation().getAugmentationId();
View Full Code Here


      return;

    // unequip item
    if(targetItem.isEquipped())
    {
      activeChar.disarmWeapons();
    }

    // remove the augmentation
    targetItem.removeAugmentation();
View Full Code Here

            SystemMessage msg = new SystemMessage(SystemMessageId.STRIDER_CANT_BE_RIDDEN_WHILE_IN_BATTLE);
            activeChar.sendPacket(msg);
          }
          else if(!pet.isDead() && !activeChar.isMounted())
          {
            if(!activeChar.disarmWeapons())
              return;
           
            if (!activeChar.getFloodProtectors().getItemPetSummon().tryPerformAction("mount"))
              return;
           
View Full Code Here

        activeChar.sendPacket(new SystemMessage(SystemMessageId.SUMMON_A_PET));
        ThreadPoolManager.getInstance().scheduleGeneral(new PetSummonFinalizer(activeChar, npcTemplate, item), 4800);
       
        break;
      case 2: // wyvern
        if (!activeChar.disarmWeapons())
          return;
       
        Ride mount = new Ride(activeChar.getObjectId(), Ride.ACTION_MOUNT, sitem.getNpcId());
        activeChar.sendPacket(mount);
        activeChar.broadcastPacket(mount);
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.