Merged with released L2J-Unity files.
This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Welcome. I have been waiting for you. The item you could not find the previous time has been found, which is why I contacted Queen Navari. I was sure that you would come this time.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10785_LettersFromTheQueenFieldsOfMassacre 30857-02.html">"What's happened?"</button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
You look rather worried. That device must have been important. But I do not think that rushing things will solve the issue.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10785_LettersFromTheQueenFieldsOfMassacre 30857-03.html">"Right."</button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-03.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-03.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
Good idea. I did not confirm that device myself. Rather, someone else had reported.<br>
|
||||
I'm not sure what it is, but it's definitely not ours. It looks similar to the one the delegation had, which is why I was sure that it was that.<br>
|
||||
First go find <font color="LEVEL">Shuvann</font> at the <font color="LEVEL">Fields of Massacre</font>. It was him who found the device first.
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/30857-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>High Priest Orven:<br>
|
||||
First go find <font color="LEVEL">Shuvann</font> at the <font color="LEVEL">Fields of Massacre</font>. It was him who found the device first.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/33867-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/33867-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Shuvann:<br>
|
||||
What brings you here? The Fields of Massacre is not safe. I encourage you to go back.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10785_LettersFromTheQueenFieldsOfMassacre 33867-02.html">"I have High Priest Orven's message."</button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/33867-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/33867-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Shuvann:<br>
|
||||
Oh! You must be here for the item I came across. I did hear from Orven. It must be important to Ertheia.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10785_LettersFromTheQueenFieldsOfMassacre 33867-03.html">"Yes."</button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/33867-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/33867-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Shuvann:<br>
|
||||
I see. Let me find the document, where I recorded what happened.<br>
|
||||
(You can obtain the next Letters from the Queen at Level 65.)
|
||||
</body></html>
|
||||
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* 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.Q10785_LettersFromTheQueenFieldsOfMassacre;
|
||||
|
||||
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: Fields of Massacre (10785)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public final class Q10785_LettersFromTheQueenFieldsOfMassacre extends LetterQuest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ORVEN = 30857;
|
||||
private static final int SHUVANN = 33867;
|
||||
// Items
|
||||
private static final int SOE_ADEN = 39578;
|
||||
private static final int SOE_FIELDS_OF_MASSACRE = 39579;
|
||||
private static final int ENCHANT_WEAPON_A = 26350;
|
||||
// Location
|
||||
private static final Location TELEPORT_LOC = new Location(147446, 22761, -1984);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 61;
|
||||
private static final int MAX_LEVEL = 64;
|
||||
|
||||
public Q10785_LettersFromTheQueenFieldsOfMassacre()
|
||||
{
|
||||
super(10785);
|
||||
addTalkId(ORVEN, SHUVANN);
|
||||
|
||||
setIsErtheiaQuest(true);
|
||||
setLevel(MIN_LEVEL, MAX_LEVEL);
|
||||
setStartLocation(SOE_ADEN, TELEPORT_LOC);
|
||||
setStartQuestSound("Npcdialog1.serenia_quest_7");
|
||||
registerQuestItems(SOE_ADEN, SOE_FIELDS_OF_MASSACRE);
|
||||
}
|
||||
|
||||
@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 "30857-02.html":
|
||||
case "33867-02.html":
|
||||
break;
|
||||
case "30857-03.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(player, SOE_FIELDS_OF_MASSACRE, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33867-03.html":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
giveItems(player, ENCHANT_WEAPON_A, 1);
|
||||
giveStoryQuestReward(player, 71);
|
||||
addExpAndSp(player, 807240, 193);
|
||||
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_65, 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, false);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
if (qs.isStarted())
|
||||
{
|
||||
if (npc.getId() == ORVEN)
|
||||
{
|
||||
htmltext = (qs.isCond(1)) ? "30857-01.html" : "30857-04.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "33867-01.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
7
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/popup.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10785_LettersFromTheQueenFieldsOfMassacre/popup.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>The Queen's Letter:<br>
|
||||
A part of the Broken Device has been found. You must retrieve it.<br>
|
||||
Go talk to <font color="LEVEL">High Priest Orven</font> in Einhasad Temple in the Town of Aden. He will tell you.<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>
|
||||
Reference in New Issue
Block a user