965966967968969970971972973974975
timer.cancel(); } L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(VultusSonOfVoltarQuestMonster); if(isQuest != null) { isQuest.deleteMe(); } if(st.getQuestItemsCount(GloveOfVoltar) > 0 && st.getQuestItemsCount(VultusHead) == 0) { st.giveItems(VultusHead, 1); }
10131014101510161017101810191020102110221023
timer.cancel(); } L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(RevenantOfTantosChief); if(isQuest != null) { isQuest.deleteMe(); } st.giveItems(ScepterOfTantos, 1); st.set("cond", "10"); st.setState(STARTED); st.playSound(SOUND_MIDDLE);
2829303132333435363738
case admin_delete: L2Object obj = activeChar.getTarget(); if(obj != null && obj.isNpc()) { L2NpcInstance target = (L2NpcInstance) obj; target.deleteMe(); L2Spawn spawn = target.getSpawn(); if(spawn != null) { spawn.stopRespawn(); }
665666667668669670671672673674675
{ activeChar.sendMessage("Incorrect monster template."); return; } int respawnTime = spawn.getRespawnDelay(); target.deleteMe(); spawn.stopRespawn(); try { // L2MonsterInstance mob = new L2MonsterInstance(monsterTemplate, // template1);
2425262728293031323334
protected boolean thinkActive() { L2NpcInstance actor = getActor(); if(actor != null && System.currentTimeMillis() >= TIME_TO_DIE) { actor.deleteMe(); return false; } return super.thinkActive(); } }
4243444546474849505152
_wait = true; _wait_timeout = System.currentTimeMillis() + DESPAWN_TIME; } if(_wait_timeout != 0 && _wait && _wait_timeout < System.currentTimeMillis()) { actor.deleteMe(); return true; } return super.thinkActive(); }
172173174175176177178179180181182
else if(event.equalsIgnoreCase("Wait1")) { L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(Aruraune); if(isQuest != null) { isQuest.deleteMe(); } if(st.getInt("cond") == 2) { st.set("cond", "1"); }
185186187188189190191192193194195
else if(event.equalsIgnoreCase("Wait2")) { L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(OlMahumInspector); if(isQuest != null) { isQuest.deleteMe(); } isQuest = L2ObjectsStorage.getByNpcId(OlMahumPilgrimNPC); if(isQuest != null) { isQuest.deleteMe();
190191192193194195196197198199200
isQuest.deleteMe(); } isQuest = L2ObjectsStorage.getByNpcId(OlMahumPilgrimNPC); if(isQuest != null) { isQuest.deleteMe(); } if(st.getInt("cond") == 6) { st.set("cond", "5"); }
203204205206207208209210211212213
else if(event.equalsIgnoreCase("Wait3")) { L2NpcInstance isQuest = L2ObjectsStorage.getByNpcId(OlMahumBetrayer); if(isQuest != null) { isQuest.deleteMe(); } return null; } else if(event.equalsIgnoreCase("Wait4")) {