Updated quest Backup Seekers (10329).

Contributed by gyo.
This commit is contained in:
MobiusDev
2016-01-20 11:47:20 +00:00
parent faf6acd9f9
commit fe1cadb093
6 changed files with 13 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
<html><body>Pa'agrio Lord Kakai:<br> <html><body>Pa'agrio Lord Kakai:<br>
The Evil Fragments continue to spread. It's beginning to be a toss up whether we're doing archaeology or parasite control over in the ruins. I'd love to send over some reinforcements, but we've had a rash of monster attacks in the village, so I can't just reassign troops.<br> The Evil Fragments continue to spread. It's beginning to be a toss up whether we're doing archaeology or parasite control over in the ruins. I'd love to send over some reinforcements, but we've had a rash of monster attacks in the village, so I can't just reassign troops.<br>
Could you head on over to Ye Sagira and help out?<br> Could you head on over to Ye Sagira and help out?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10329_BackupSeekers 30565-03.html">"No problem."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10329_BackupSeekers 30565-03.htm">"No problem."</Button>
</body></html> </body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Pa'agrio Lord Kakai:<br> <html><body>Pa'agrio Lord Kakai:<br>
You can find <font color="LEVEL">Atran</font> at the <font color="LEVEL">crossroads, on the way from the village to Ye Sagira</font>. Don't let his gruff exterior fool you, he talks like an ogre, but he's sweet as spun candy at the core.<br> You can find <font color="LEVEL">Atran</font> at the <font color="LEVEL">crossroads, on the way from the village to Ye Sagira</font>. Don't let his gruff exterior fool you, he talks like an ogre, but he's sweet as spun candy at the core. <br>
If you tell him I sent you, he'll tell you how to get to Ye Sagira. May the luck of Pa'agrio always find you. If you tell him I sent you, he'll tell you how to get to Ye Sagira. May the luck of Pa'agrio always find you.
</body></html> </body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Pa'agrio Lord Kakai:<br> <html><body>Pa'agrio Lord Kakai:<br>
I taught Pantheon's son, Saril, swordmanship when he was a young lad. Nice kid. Has a mean. sixte parry.<br> I taught Pantheon's son, Saril, swordsmanship when he was a young lad. Nice kid. Has a mean sixte parry.<br>
(Only characters who have completed the Level 20 or below quest, Request to Seal Pieces of Evil, can take this quest.). (Only characters who have completed the Level 20 or below quest, Request to Seal Pieces of Evil, can take this quest.).
</body></html> </body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Atran:<br> <html><body>Atran:<br>
So, so, so, so, so bored.<br> So, so, so, so, so, so bored. <br>
(The quest has already been completed) (The quest has already been completed)
</body></html> </body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Atran:<br>
You hit me?! Leave, now, before I lose my temper. Now<br>
(Only characters under level 20, who have completed the Request to Seal Evil Fragment quest, may start this quest)
</body></html>

View File

@@ -46,11 +46,9 @@ public class Q10329_BackupSeekers extends Quest
private static final int KAKAI = 30565; private static final int KAKAI = 30565;
private static final int ATRAN = 33448; private static final int ATRAN = 33448;
private static final int BART = 33204; private static final int BART = 33204;
// Items // Items
private static final ItemHolder RING_OF_KNOWLEDGE = new ItemHolder(875, 2); private static final ItemHolder RING_OF_KNOWLEDGE = new ItemHolder(875, 2);
private static final ItemHolder NECKLACE_OF_KNOWLEDGE = new ItemHolder(906, 1); private static final ItemHolder NECKLACE_OF_KNOWLEDGE = new ItemHolder(906, 1);
// Misc // Misc
private static final int MAX_LEVEL = 20; private static final int MAX_LEVEL = 20;
private static final Location BART_SPAWN_1 = new Location(-117955, 255832, -1320); private static final Location BART_SPAWN_1 = new Location(-117955, 255832, -1320);
@@ -85,8 +83,8 @@ public class Q10329_BackupSeekers extends Quest
addTalkId(KAKAI, ATRAN); addTalkId(KAKAI, ATRAN);
addSpawnId(BART); addSpawnId(BART);
addMoveFinishedId(BART); addMoveFinishedId(BART);
addCondMaxLevel(MAX_LEVEL, "30565-05.html"); addCondMaxLevel(MAX_LEVEL, "30565-05.htm");
addCondCompletedQuest(Q10328_RequestToSealTheEvilFragment.class.getSimpleName(), "30565-05.html"); addCondCompletedQuest(Q10328_RequestToSealTheEvilFragment.class.getSimpleName(), "30565-05.htm");
} }
@Override @Override
@@ -106,7 +104,7 @@ public class Q10329_BackupSeekers extends Quest
htmltext = event; htmltext = event;
break; break;
} }
case "30565-03.html": case "30565-03.htm":
{ {
qs.startQuest(); qs.startQuest();
htmltext = event; htmltext = event;
@@ -120,7 +118,7 @@ public class Q10329_BackupSeekers extends Quest
{ {
if (qs.isStarted()) if (qs.isStarted())
{ {
showOnScreenMsg(player, NpcStringId.ACCESSORIES_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500); showOnScreenMsg(player, NpcStringId.ACCESSORIES_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 10000);
giveAdena(player, 25000, true); giveAdena(player, 25000, true);
giveItems(player, RING_OF_KNOWLEDGE); giveItems(player, RING_OF_KNOWLEDGE);
giveItems(player, NECKLACE_OF_KNOWLEDGE); giveItems(player, NECKLACE_OF_KNOWLEDGE);
@@ -268,11 +266,7 @@ public class Q10329_BackupSeekers extends Quest
{ {
case State.CREATED: case State.CREATED:
{ {
if (npc.getId() == KAKAI) htmltext = npc.getId() == KAKAI ? "30565-01.htm" : "33448-04.html";
{
htmltext = "30565-01.htm";
break;
}
break; break;
} }
case State.STARTED: case State.STARTED: