Quest Letters from the Queen: Wall of Argos (10795).
Contributed by gigilo1968.
This commit is contained in:
parent
3ec54fecb4
commit
3334277670
4
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-01.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Gregory:<br>
|
||||
Aren't you an Ertheia? What brings you here?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10795_LettersFromTheQueenWallOfAgros 31279-02.html">"I got Queen Navari's letter."</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Gregory:<br>
|
||||
Oh, are you the one that queen Navari was referring to? The messengers were in a hurry, so I was waiting for the Ertheia they said would come in their place. <br>
|
||||
So you are looking for the Holy Grail?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10795_LettersFromTheQueenWallOfAgros 31279-03.html">"Yes"</button>
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-03.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>High Priest Gregory:<br>
|
||||
The Holy Grail... I already heard it from the messengers, but to think you really are looking for such a thing. I guess this is all part of Einhasad's will...<br>The messengers found a clue in the <font color="LEVEL">Wall of Argos</font>. Go talk to the <font color="LEVEL">Hermit</font> for details.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31279-04.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>High Priest Gregory:<br>
|
||||
Go to the <font color="LEVEL">Wall of Argos</font> and talk to the <font color="LEVEL">Hermit</font> there for details.
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31616-01.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31616-01.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Hermit:<br>Can I help you?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10795_LettersFromTheQueenWallOfAgros 31616-02.html">"What's this item from the delegation?"</button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31616-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31616-02.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Hermit:<br>
|
||||
Messengers? Which messengers?<br>
|
||||
Now that I think about it... I don't think I've ever seen anyone of your race before... Are you an Ertheia, the children of Sayha?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10795_LettersFromTheQueenWallOfAgros 31616-03.html">"Yes."</button>
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31616-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/31616-03.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Hermit:<br>
|
||||
To think that I would ever meet an Ertheia. I guess the strange fellows that came by and left right away were also Ertheia.<br>
|
||||
(The next Letters from the Queen will be available at Lv. 76.)
|
||||
</body></html>
|
@ -0,0 +1,109 @@
|
||||
package quests.Q10795_LettersFromTheQueenWallOfAgros;
|
||||
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
import quests.LetterQuest;
|
||||
|
||||
/**
|
||||
* Letters from the Queen: Wall of Argos (10795)
|
||||
* @URL https://l2wiki.com/Letters_from_the_Queen:_Wall_of_Argos
|
||||
* @author Gigi
|
||||
*/
|
||||
public class Q10795_LettersFromTheQueenWallOfAgros extends LetterQuest
|
||||
{
|
||||
// NPCs
|
||||
private static final int GREGORY = 31279;
|
||||
private static final int HERMIT = 31616;
|
||||
// Items
|
||||
private static final int SOE_WAAL_OF_ARGOS = 39585;
|
||||
private static final int SOE_GODDARD = 39584;
|
||||
private static final int EAA = 730;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 70;
|
||||
private static final int MAX_LEVEL = 75;
|
||||
// Teleport
|
||||
private static final Location TELEPORT_LOC = new Location(147711, -53956, -2728);
|
||||
|
||||
public Q10795_LettersFromTheQueenWallOfAgros()
|
||||
{
|
||||
super(10795);
|
||||
addTalkId(GREGORY, HERMIT);
|
||||
|
||||
setIsErtheiaQuest(true);
|
||||
setLevel(MIN_LEVEL, MAX_LEVEL);
|
||||
setStartLocation(SOE_GODDARD, TELEPORT_LOC);
|
||||
setStartQuestSound("Npcdialog1.serenia_quest_10");
|
||||
registerQuestItems(SOE_GODDARD, SOE_WAAL_OF_ARGOS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "31279-02.html":
|
||||
case "31616-02.html":
|
||||
{
|
||||
break;
|
||||
}
|
||||
case "31279-03.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(player, SOE_WAAL_OF_ARGOS, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "31616-03.html":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
giveItems(player, EAA, 5);
|
||||
giveStoryQuestReward(player, 123);
|
||||
addExpAndSp(player, 1088640, 261);
|
||||
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_76, ExShowScreenMessage.TOP_CENTER, 8000);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
htmltext = null;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = null;
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
if (qs.isStarted())
|
||||
{
|
||||
if (npc.getId() == GREGORY)
|
||||
{
|
||||
htmltext = (qs.isCond(1)) ? "31279-01.html" : "31279-04.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "31616-01.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
8
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/popup.html
vendored
Normal file
8
trunk/dist/game/data/scripts/quests/Q10795_LettersFromTheQueenWallOfAgros/popup.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>The Queen's Letter:<br>
|
||||
Have you arrived at the Town of Goddard?<br1>
|
||||
The delegation found something at the Wall of Argos.<br1>
|
||||
Go find <font color="LEVEL">High Priest Gregory</font> in Einhasad Temple in the Town of Goddard. <br>
|
||||
(A <font color="LEVEL">Scroll of Escape</font> is enclosed. If you want to go now, use it to travel immediately.)<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h %teleport%">"Here I go!"</button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Close</button>
|
||||
</body></html>
|
Loading…
Reference in New Issue
Block a user