389390391392393394395396397398399
st.set("cond", "11"); st.setState(STARTED); QuestTimer timer = st.getQuestTimer("AldersSpirit_Fail"); if(timer != null) { timer.cancel(); } L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(AldersSpirit); if(isQuest != null) { isQuest.deleteMe();
208209210211212213214215216217218
} st.set("Ex", "-3"); QuestTimer timer = st.getQuestTimer("QT"); if(timer != null) { timer.cancel(); } st.startQuestTimer("QT", 30000); } else if(Ex == -3) {
229230231232233234235236237238239
else if(event.startsWith("TE")) { QuestTimer timer = st.getQuestTimer("TE"); if(timer != null) { timer.cancel(); } int event_id = 0; if(!event.equalsIgnoreCase("TE")) { event_id = Integer.valueOf(event.substring(2));
148149150151152153154155156157158
{ Despawn_OlMahumSupportTroop(); QuestTimer timer = st.getQuestTimer("Wait1"); if(timer != null) { timer.cancel(); } return null; } return htmltext; }
362363364365366367368369370371372
return; } // Не убили, или убили чужого QuestTimer qt = st2.getQuestTimer("Archon Hellisha has despawned"); if(qt != null) { qt.cancel(); } if(st2.getQuestItemsCount(Items[3]) < 700) { st2.giveItems(Items[3], 1); }
575576577578579580581582583584585
AutoChat(Mob_2, Text[13].replace("PLAYERNAME", player.getName())); DeleteMySpawn(player, NPC[4]); QuestTimer qt = st.getQuestTimer("Mob_2 has despawned"); if(qt != null) { qt.cancel(); } qt = st.getQuestTimer("NPC_4 Timer"); if(qt != null) { qt.cancel();
580581582583584585586587588589590
qt.cancel(); } qt = st.getQuestTimer("NPC_4 Timer"); if(qt != null) { qt.cancel(); } } return null; } else if(event.equalsIgnoreCase("5-1"))
675676677678679680681682683684685
st.set("Quest0", "1"); st.set("Quest1", "0"); // На всякий случай QuestTimer qt = st.getQuestTimer("NPC_4 despawn"); if(qt != null) { qt.cancel(); } startQuestTimer("NPC_4 despawn", 180000, Mob_2, player); } htmltext = "10-04.htm"; }
11191120112111221123112411251126112711281129
npc.reduceCurrentHp(9999999, npc, null, true, true, false, false); DeleteMySpawn(player, Mob[2]); QuestTimer qt = st.getQuestTimer("Mob_2 despawn"); if(qt != null) { qt.cancel(); } st.set("Tab", "1"); } } }
12541255125612571258125912601261126212631264
} } QuestTimer qt = st.getQuestTimer("Mob_1 has despawned"); if(qt != null) { qt.cancel(); } DeleteMySpawn(st2.getPlayer(), Mob[0]); } } else if(npcId == Mob[1] && cond == 15)