Examples of destroyItemWithoutTrace()


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

    // Consume Blessed Spiritshot if player has enough of them
    // TODO: test ss
    if(!Config.DONT_DESTROY_SS)
    {
      if(!activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), weaponItem.getSpiritShotCount(), null, false))
      {
        if(activeChar.getAutoSoulShot().containsKey(itemId))
        {
          activeChar.removeAutoSoulShot(itemId);
          activeChar.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

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

      weaponItem = null;

      // TODO: test ss
      if(!Config.DONT_DESTROY_SS)
      {
        if(!activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), SSCount, null, false))
        {
          if(activeChar.getAutoSoulShot().containsKey(itemId))
          {
            activeChar.removeAutoSoulShot(itemId);
            activeChar.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

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

            if(dummy != null)
            {
                dummy.getEffects(activeChar, activeChar);
                MagicSkillUser MSU = new MagicSkillUser(playable, activeChar, _skill.getId(), 1, 1, 0);
                activeChar.sendPacket(MSU);
                activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), 1, null, false);
            }
      return;
        }
   
        if(_effect.numCharges < 2)
View Full Code Here

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

    if(count < 1)
      return;

    weaponInst.setChargedFishshot(true);
    activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), 1, null, false);
    L2Object oldTarget = activeChar.getTarget();
    activeChar.setTarget(activeChar);

    weaponInst = null;
View Full Code Here

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

    // If the player doesn't have enough beast soulshot remaining, remove any auto soulshot task.
    // TODO: test ss
    if(!Config.DONT_DESTROY_SS)
    {
      if(!activeOwner.destroyItemWithoutTrace("Consume", item.getObjectId(), shotConsumption, null, false))
      {
        if(activeOwner.getAutoSoulShot().containsKey(itemId))
        {
          activeOwner.removeAutoSoulShot(itemId);
          activeOwner.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

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

    }

    // TODO: test ss
    if(!Config.DONT_DESTROY_SS)
    {
      if(!activeOwner.destroyItemWithoutTrace("Consume", item.getObjectId(), shotConsumption, null, false))
      {
        if(activeOwner.getAutoSoulShot().containsKey(itemId))
        {
          activeOwner.removeAutoSoulShot(itemId);
          activeOwner.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

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

    // Consume Spiritshot if player has enough of them
    // TODO: test ss
    if(!Config.DONT_DESTROY_SS)
    {
      if(!activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), weaponItem.getSpiritShotCount(), null, false))
      {
        if(activeChar.getAutoSoulShot().containsKey(itemId))
        {
          activeChar.removeAutoSoulShot(itemId);
          activeChar.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.destroyItemWithoutTrace()

                activeChar.sendPacket(new SystemMessage(SystemMessageId.SPIRITSHOTS_GRADE_MISMATCH));
            return;
        }

        // Consume Blessed Spiritshot if player has enough of them
        if (!activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), weaponItem.getSpiritShotCount(), null, false))
        {
            if(activeChar.getAutoSoulShot().containsKey(itemId))
            {
                activeChar.removeAutoSoulShot(itemId);
                activeChar.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.destroyItemWithoutTrace()

                activeChar.sendPacket(new SystemMessage(SystemMessageId.SPIRITSHOTS_GRADE_MISMATCH));
      return;
    }

        // Consume Spiritshot if player has enough of them
        if (!activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), weaponItem.getSpiritShotCount(), null, false))
    {
            if(activeChar.getAutoSoulShot().containsKey(itemId))
            {
                activeChar.removeAutoSoulShot(itemId);
                activeChar.sendPacket(new ExAutoSoulShot(itemId, 0));
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.destroyItemWithoutTrace()

    {
      return;
    }

    weaponInst.setChargedFishshot(true);
    activeChar.destroyItemWithoutTrace("Consume", item.getObjectId(), 1, null, false);
        L2Object oldTarget = activeChar.getTarget();
        activeChar.setTarget(activeChar);

    //activeChar.sendPacket(new SystemMessage(SystemMessage.ENABLED_SPIRITSHOT));
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.