You wait 10 minutes?
Does it need to be less than 10 minutes?
Change 600000 to 10000 and 60000 to 1000 for test.
New patch btw.
Index: dist/game/data/scripts/quests/Q421_LittleWingsBigAdventure/Q421_LittleWingsBigAdventure.java
===================================================================
--- dist/game/data/scripts/quests/Q421_LittleWingsBigAdventure/Q421_LittleWingsBigAdventure.java (revision 7463)
+++ dist/game/data/scripts/quests/Q421_LittleWingsBigAdventure/Q421_LittleWingsBigAdventure.java (working copy)
@@ -16,6 +16,7 @@
*/
package quests.Q421_LittleWingsBigAdventure;
+import org.l2jmobius.Config;
import org.l2jmobius.commons.util.Rnd;
import org.l2jmobius.gameserver.ai.CtrlIntention;
import org.l2jmobius.gameserver.datatables.SkillTable;
@@ -118,6 +119,24 @@
st.giveItems(FAIRY_LEAF, 4);
}
}
+ else if (event.startsWith("respawn_ghost_"))
+ {
+ if (npc.isDead())
+ {
+ if (npc.isInsideRadius(player, Config.ALT_PARTY_RANGE, false, false))
+ {
+ final Attackable newNpc = (Attackable) addSpawn(27189, npc.getX(), npc.getY(), npc.getZ(), Rnd.get(65536), true, 300000);
+ newNpc.setRunning();
+ newNpc.addDamageHate(player, 0, 999);
+ newNpc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, player);
+ startQuestTimer("respawn_ghost_" + newNpc.getNpcId(), 600000, newNpc, player);
+ }
+ }
+ else
+ {
+ startQuestTimer("respawn_ghost_" + npc.getNpcId(), 60000, npc, player);
+ }
+ }
return htmltext;
}
@@ -323,6 +342,7 @@
newNpc.setRunning();
newNpc.addDamageHate(originalKiller, 0, 999);
newNpc.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, originalKiller);
+ startQuestTimer("respawn_ghost_" + newNpc.getNpcId(), 600000, newNpc, killer);
}
return null;