Minor change at Backup Seekers quest.
This commit is contained in:
parent
bd57c3027b
commit
954a9681ce
@ -114,7 +114,7 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
htmltext = event;
|
htmltext = event;
|
||||||
qs.setMemoState(1);
|
qs.setMemoState(1);
|
||||||
final L2Npc bart = addSpawn(BART, BART_SPAWN_1, false, 300000);
|
final L2Npc bart = addSpawn(BART, BART_SPAWN_1, false, 300000);
|
||||||
bart.broadcastPacket(new NpcSay(bart.getObjectId(), ChatType.NPC_GENERAL, bart.getTemplate().getDisplayId(), NpcStringId.I_WILL_GUIDE_YOU_FOLLOW_ME));
|
bart.broadcastPacket(new NpcSay(bart.getObjectId(), ChatType.NPC_GENERAL, bart.getId(), NpcStringId.I_WILL_GUIDE_YOU_FOLLOW_ME));
|
||||||
startQuestTimer("MOVE_DELAY", 500, bart, player);
|
startQuestTimer("MOVE_DELAY", 500, bart, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -148,7 +148,7 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
{
|
{
|
||||||
if (loc_index == 5)
|
if (loc_index == 5)
|
||||||
{
|
{
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.TALK_TO_THAT_APPRENTICE_AND_GET_ON_KUKURI));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.TALK_TO_THAT_APPRENTICE_AND_GET_ON_KUKURI));
|
||||||
startQuestTimer("DELETE_NPC", 2000, npc, owner);
|
startQuestTimer("DELETE_NPC", 2000, npc, owner);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -159,7 +159,7 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
{
|
{
|
||||||
if (loc_index == 11)
|
if (loc_index == 11)
|
||||||
{
|
{
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.THIS_IS_IT_FOR_ME));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.THIS_IS_IT_FOR_ME));
|
||||||
startQuestTimer("DELETE_NPC", 2000, npc, owner);
|
startQuestTimer("DELETE_NPC", 2000, npc, owner);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -183,7 +183,7 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
|
|
||||||
if (getRandom(100) < 10)
|
if (getRandom(100) < 10)
|
||||||
{
|
{
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.HEY_KID_HURRY_UP_AND_FOLLOW_ME));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.HEY_KID_HURRY_UP_AND_FOLLOW_ME));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -202,8 +202,8 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
npc.broadcastInfo();
|
npc.broadcastInfo();
|
||||||
addMoveToDesire(npc, BART_LOC_1[0], 0);
|
addMoveToDesire(npc, BART_LOC_1[0], 0);
|
||||||
npc.getVariables().set("MOVE_INDEX", 0);
|
npc.getVariables().set("MOVE_INDEX", 0);
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.YOU_MUST_BE_THE_ONE_KAKAI_TALKED_ABOUT));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.YOU_MUST_BE_THE_ONE_KAKAI_TALKED_ABOUT));
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.YOU_SHOULD_RIDE_KUKURI_TO_GO_TO_YE_SAGIRA));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.YOU_SHOULD_RIDE_KUKURI_TO_GO_TO_YE_SAGIRA));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if (qs.isMemoState(2))
|
else if (qs.isMemoState(2))
|
||||||
@ -213,8 +213,8 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
npc.broadcastInfo();
|
npc.broadcastInfo();
|
||||||
addMoveToDesire(npc, BART_LOC_2[0], 0);
|
addMoveToDesire(npc, BART_LOC_2[0], 0);
|
||||||
npc.getVariables().set("MOVE_INDEX", 0);
|
npc.getVariables().set("MOVE_INDEX", 0);
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.OPEN_YOUR_MAP_WHEN_YOU_ARRIVE_AT_YE_SAGIRA));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.OPEN_YOUR_MAP_WHEN_YOU_ARRIVE_AT_YE_SAGIRA));
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.IT_S_HARD_TO_TELL_WHERE_YOU_ARE_AT_WITHOUT_A_MAP_IN_YE_SAGIRA));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.IT_S_HARD_TO_TELL_WHERE_YOU_ARE_AT_WITHOUT_A_MAP_IN_YE_SAGIRA));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -228,7 +228,7 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
{
|
{
|
||||||
qs.setMemoState(2);
|
qs.setMemoState(2);
|
||||||
final L2Npc bart = addSpawn(BART, BART_SPAWN_2, false, 300000);
|
final L2Npc bart = addSpawn(BART, BART_SPAWN_2, false, 300000);
|
||||||
bart.broadcastPacket(new NpcSay(bart.getObjectId(), ChatType.NPC_GENERAL, bart.getTemplate().getDisplayId(), NpcStringId.I_WILL_GUIDE_YOU_FOLLOW_ME));
|
bart.broadcastPacket(new NpcSay(bart.getObjectId(), ChatType.NPC_GENERAL, bart.getId(), NpcStringId.I_WILL_GUIDE_YOU_FOLLOW_ME));
|
||||||
startQuestTimer("MOVE_DELAY", 500, bart, player);
|
startQuestTimer("MOVE_DELAY", 500, bart, player);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -255,7 +255,7 @@ public class Q10329_BackupSeekers extends Quest
|
|||||||
{
|
{
|
||||||
npc.setHeading(Util.calculateHeadingFrom(npc, owner));
|
npc.setHeading(Util.calculateHeadingFrom(npc, owner));
|
||||||
npc.broadcastPacket(new ExRotation(npc.getObjectId(), npc.getHeading()));
|
npc.broadcastPacket(new ExRotation(npc.getObjectId(), npc.getHeading()));
|
||||||
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.HEY_KID_HURRY_UP_AND_FOLLOW_ME));
|
npc.broadcastPacket(new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getId(), NpcStringId.HEY_KID_HURRY_UP_AND_FOLLOW_ME));
|
||||||
startQuestTimer("CHECK_PLAYER", 1200, npc, owner);
|
startQuestTimer("CHECK_PLAYER", 1200, npc, owner);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user