515516517518519520521522523524525
st.set("cond", "3"); st.setState(STARTED); QuestTimer timer = st.getQuestTimer("Wait1"); if(timer != null) { timer.cancel(); } } } else if(npcId == OlMahumInspector) {
529530531532533534535536537538539
isQuest.deleteMe(); } QuestTimer timer = st.getQuestTimer("Wait2"); if(timer != null) { timer.cancel(); } if(cond == 6) { st.set("cond", "7"); st.setState(STARTED);
547548549550551552553554555556557
isQuest.deleteMe(); } QuestTimer timer = st.getQuestTimer("Wait3"); if(timer != null) { timer.cancel(); } if(cond == 8) { if(st.getQuestItemsCount(LetterOfBetrayer) == 0) {
569570571572573574575576577578579
isQuest.deleteMe(); } QuestTimer timer = st.getQuestTimer("Wait4"); if(timer != null) { timer.cancel(); } if(cond == 12) { st.set("cond", "13"); st.setState(STARTED);
587588589590591592593594595596597
isQuest.deleteMe(); } QuestTimer timer = st.getQuestTimer("Wait5"); if(timer != null) { timer.cancel(); } if(cond == 15) { st.set("cond", "16"); st.setState(STARTED);
157158159160161162163164165166167
if(event.equalsIgnoreCase("32332-01.htm")) { QuestTimer timer = st.getQuestTimer("Katenar_Fail"); if(timer != null) { timer.cancel(); } st.giveItems(Sealed_Doc, 1); st.set("cond", "13"); st.unset("id"); st.setState(STARTED);
410411412413414415416417418419420
if(npcId == Guardian_Angel) { QuestTimer timer = st.getQuestTimer("Guardian_Angel_Fail"); if(timer != null) { timer.cancel(); } Despawn_Guardian_Angel(); if(cond == 12) { for(L2Player cha : L2World.getAroundPlayers(st.getPlayer()))
118119120121122123124125126127128
st.set("cond", "13"); st.giveItems(H_LETTER, 1); QuestTimer timer = st.getQuestTimer("HARKILGAMED_Fail"); if(timer != null) { timer.cancel(); } DESPAWN_HARKILGAMED(); } else if(event.equalsIgnoreCase("32215-05a.htm")) {
628629630631632633634635636637638
else if(cond == 4 && npcId == DrevanulPrinceZeruel) { QuestTimer timer = st.getQuestTimer("DrevanulPrinceZeruel_Fail"); if(timer != null) { timer.cancel(); } L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel); if(isQuest != null) { isQuest.deleteMe();
656657658659660661662663664665666
return "You trapped the Seal of Drevanul Prince Zeruel"; } QuestTimer timer = st.getQuestTimer("DrevanulPrinceZeruel_Fail"); if(timer != null) { timer.cancel(); } L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(DrevanulPrinceZeruel); if(isQuest != null) { isQuest.deleteMe();