Quest Queen Navari's Letter, Ketra Orc Outpost (10525).

This commit is contained in:
MobiusDev 2017-11-21 18:45:11 +00:00
parent b8c5f90abb
commit 961f49ff7b
11 changed files with 172 additions and 2 deletions

View File

@ -147,7 +147,6 @@
10456 Operation: Rescue
10457 Kefensis' Illusion
10506 Diana's Request
10525 Queen Navari's Letter, Ketra Orc Outpost Achieve Level 76
10527 The Assassination of the Ketra Orc Commander Defeat Ketra's Commander Tayr
10528 The Assassination of the Ketra Orc Chief Defeat Ketra's Chief Brakki
10530 Kekropus' Letter, The Dragon's Transition Achieve Level 81

View File

@ -118,7 +118,7 @@ public class Q10521_QueenNavarisLetterVarkaSilenosBarracks extends LetterQuest
{
if (npc.getId() == GREGORY)
{
htmltext = (qs.isCond(2)) ? "31279-01.htm" : "31279-04.htm";
htmltext = (qs.isCond(2)) ? "31279-01.htm" : "31279-04.html";
}
else if (qs.isCond(3))
{

View File

@ -0,0 +1,4 @@
<html><body>High Priest Gregory:<br>
Haha. Queen Navari has already contacted me, and I have waiting for you. Have you heard what is happening?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10525_QueenNavarisLetterKetraOrcOutpost 31279-02.htm">"Not Exactly."</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>High Priest Gregory:<br>
Hahaha. That's what I thought<br>
The Ertheia are quite impatient, and tend to rush over without asking too many questions when they're asked for help.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10525_QueenNavarisLetterKetraOrcOutpost 31279-03.htm">"How can I help you?"</Button>
</body></html>

View File

@ -0,0 +1,5 @@
<html><body>High Priest Gregory:<br>
I thought that the Ertheia had nothing to do with this, but the Ketra Orcs seem to be up to no good nowadays we have our eyes on them.<br>
We have been suspecting collision between the Embryo and the Ketra Orcs for a long time now. Since the Ertheia also have something to do with the Embryo, you have been called on to provide help.<br>
For details, find the <font color="LEVEL">Giant's Minion Lugonnes</font> in the <font color="LEVEL">Ketra Orc Outpost</font>.
</body></html>

View File

@ -0,0 +1,3 @@
<html><body>High Priest Gregory:<br>
In the Town of Goddard has told you to go to the Giant's Minion Lugonnes in the Ketra Orc Outpost.<br>
</body></html>

View File

@ -0,0 +1,4 @@
<html><body>Giant's Minion Lugonnes:<br>
You are... Ertheia. What brings you here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10525_QueenNavarisLetterKetraOrcOutpost 33853-02.htm">"I have come because of the Delegation's Pledge."</Button>
</body></html>

View File

@ -0,0 +1,6 @@
<html><body>Giant's Minion Lugonnes:<br>
I was worried that I hadn't received a reply to my request for backup. I was starting to think that it was difficult for the Ertheia to make it all the way out here.<br>
I wonder if you have heard about the ancient monster <font color="LEVEL">Sakum</font>. We have gained intelligence that the ancient monster, who should have vanished years ago, was actually cloned by the <font color="LEVEL">Embryo</font> and is currently in the <font color="LEVEL">Ketra Orc Outpost</font>.<br>
It appears that the Embryo have colluded with the Ketra Orcs. That means that we need to stop it right away. There is a lot work for us to do. Please come to me when you are done preparing.<br>
(You can obtain the next Queen Navari's Letter at Lv. 81.)<br>
</body></html>

View File

@ -0,0 +1,135 @@
/*
* This file is part of the L2J Mobius project.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package quests.Q10525_QueenNavarisLetterKetraOrcOutpost;
import com.l2jmobius.gameserver.enums.QuestType;
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.base.ClassId;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.LetterQuest;
/**
* Queen Navari's Letter, Ketra Orc Outpost (10521)
* @URL https://l2wiki.com/Queen_Navari%27s_Letter,_Ketra_Orc_Outpost
* @author Mobius
*/
public class Q10525_QueenNavarisLetterKetraOrcOutpost extends LetterQuest
{
// NPCs
private static final int GREGORY = 31279;
private static final int LUGONNES = 33852;
// Items
private static final int KETRA_ORC_OUTPOST = 46732;
private static final int SOE_TOWN_OF_GODDARD = 46731;
// Misc
private static final int MIN_LEVEL = 76;
private static final int MAX_LEVEL = 80;
// Teleport
private static final Location TELEPORT_LOC = new Location(147711, -52920, -2728);
public Q10525_QueenNavarisLetterKetraOrcOutpost()
{
super(10521);
addTalkId(GREGORY, LUGONNES);
setIsErtheiaQuest(true);
setLevel(MIN_LEVEL, MAX_LEVEL);
setStartLocation(SOE_TOWN_OF_GODDARD, TELEPORT_LOC);
setStartQuestSound("Npcdialog1.serenia_quest_13");
registerQuestItems(SOE_TOWN_OF_GODDARD, KETRA_ORC_OUTPOST);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, false);
if (qs == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "31279-02.htm":
{
htmltext = event;
break;
}
case "31279-03.htm":
{
if (qs.isCond(2))
{
qs.setCond(3, true);
giveItems(player, KETRA_ORC_OUTPOST, 1);
htmltext = event;
}
break;
}
case "33852-02.htm":
{
if (qs.isCond(3))
{
if (player.getLevel() >= MIN_LEVEL)
{
addExpAndSp(player, 1277640, 306);
giveStoryQuestReward(npc, player);
showOnScreenMsg(player, NpcStringId.YOU_HAVE_FINISHED_ALL_OF_QUEEN_NAVARI_S_LETTERS_GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_LETTERS_FROM_A_MINSTREL_AT_LV_85, ExShowScreenMessage.TOP_CENTER, 8000);
qs.exitQuest(QuestType.ONE_TIME, true);
htmltext = event;
}
else
{
htmltext = getNoQuestLevelRewardMsg(player);
}
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState qs = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
if (qs.isStarted())
{
if (npc.getId() == GREGORY)
{
htmltext = (qs.isCond(2)) ? "31279-01.htm" : "31279-04.html";
}
else if (qs.isCond(3))
{
htmltext = "33852-01.html";
}
}
return htmltext;
}
@Override
public boolean canShowTutorialMark(L2PcInstance player)
{
return player.getClassId() == ClassId.STRATOMANCER;
}
}

View File

@ -0,0 +1,7 @@
<html><body>The Queen's Letter:<br>
I got an emergency request from the Town of Goddard. Near the Town of Goddard at Ketra Orc Outpost.<br>
It's different from the one we came in, but it's worth looking into. Go see <font color="LEVEL">High Priest Gregory</font>.<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>

View File

@ -331,6 +331,7 @@ import quests.Q10521_QueenNavarisLetterVarkaSilenosBarracks.Q10521_QueenNavarisL
import quests.Q10522_TheDarkSecretOfVarkaSilenos.Q10522_TheDarkSecretOfVarkaSilenos;
import quests.Q10523_TheAssassinationOfTheVarkaSilenosCommander.Q10523_TheAssassinationOfTheVarkaSilenosCommander;
import quests.Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief.Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief;
import quests.Q10525_QueenNavarisLetterKetraOrcOutpost.Q10525_QueenNavarisLetterKetraOrcOutpost;
import quests.Q10526_TheDarkSecretOfTheKetraOrcs.Q10526_TheDarkSecretOfTheKetraOrcs;
import quests.Q10534_HatchlingResearch.Q10534_HatchlingResearch;
import quests.Q10541_TrainLikeTheRealThing.Q10541_TrainLikeTheRealThing;
@ -753,6 +754,7 @@ public class QuestMasterHandler
Q10522_TheDarkSecretOfVarkaSilenos.class,
Q10523_TheAssassinationOfTheVarkaSilenosCommander.class,
Q10524_TheAssassinationOfTheVarkaSilenosCommanderChief.class,
Q10525_QueenNavarisLetterKetraOrcOutpost.class,
Q10526_TheDarkSecretOfTheKetraOrcs.class,
Q10534_HatchlingResearch.class,
Q10541_TrainLikeTheRealThing.class,