Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2NpcInstance.deleteMe()


    else if(event.equalsIgnoreCase("CABRIOCOFFER_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CABRIOCOFFER);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    else if(event.equalsIgnoreCase("CHEST_HALLATE_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CHEST_HALLATE);
View Full Code Here


    else if(event.equalsIgnoreCase("CHEST_HALLATE_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CHEST_HALLATE);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    else if(event.equalsIgnoreCase("CHEST_KERNON_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CHEST_KERNON);
View Full Code Here

    else if(event.equalsIgnoreCase("CHEST_KERNON_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CHEST_KERNON);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    else if(event.equalsIgnoreCase("CHEST_GOLKONDA_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CHEST_GOLKONDA);
View Full Code Here

    else if(event.equalsIgnoreCase("CHEST_GOLKONDA_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(CHEST_GOLKONDA);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    if(oldweapon != 0)
    {
      if(st.getQuestItemsCount(oldweapon) >= 1)
View Full Code Here

    if(event.equalsIgnoreCase("DrevanulPrinceZeruel_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    return htmltext;
  }
View Full Code Here

        timer.cancel();
      }
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
      st.set("cond", "5");
      st.unset("id");
      st.setState(STARTED);
    }
View Full Code Here

        timer.cancel();
      }
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    return null;
  }
}
View Full Code Here

    if(event.equalsIgnoreCase("AldersSpirit_Fail"))
    {
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(AldersSpirit);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
      st.set("cond", "9");
    }
    return htmltext;
  }
View Full Code Here

        timer.cancel();
      }
      L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(AldersSpirit);
      if(isQuest != null)
      {
        isQuest.deleteMe();
      }
    }
    else if(npcId == Roa)
    {
      if(cond == 11)
View Full Code Here

      return null;
    }
    else if(event.equalsIgnoreCase("DAIMON_Fail") && isQuest != null)
    {
      Functions.npcSay(isQuest, "Darkness could not have ray?");
      isQuest.deleteMe();
      return null;
    }
    return event;
  }
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.