Merged with released L2J-Unity files.

This commit is contained in:
mobiusdev
2016-06-12 01:34:09 +00:00
parent e003e87887
commit 635557f5da
18352 changed files with 3245113 additions and 2892959 deletions

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Sylvain:<br>
You're back. I heard from the Ivory Tower Wizard at Cruma Tower.<br>
Your fragment and the Cruma Tower fragment are two completely different entities. But not to worry! I'm sure your efforts were not in vain.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10774_LettersFromTheQueenCrumaTowerPart2 30070-02.html">"Is there a way I can see the giant myself?"</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>High Priest Sylvain:<br>
You want to meet the giants yourself? I insist that you reconsider. Giants are less cooperative than you might think.<br>
I'm a mere priest who serves Einhasad. I know nothing about meeting the ancient giants... But the wizards in Cruma Tower may know a way.<br>
I heard that you saw Ivory Tower Wizard Janssen. Did he not say anything about the giants?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10774_LettersFromTheQueenCrumaTowerPart2 30070-03.html">"He talked about a wizard named Rombel."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Sylvain:<br>
Rombel! He has extensive knowledge on giants too. He is at Underground Level 3 of Cruma Tower next to Ivory Tower Wizard Janssen.<br>
Then you just need to go to <font color="LEVEL">Cruma Tower Underground Level 3</font> and see <font color="LEVEL">Ivory Tower Wizard Rombel</font>. If Janssen referred him, I'm sure he can tell you how to meet the ancient giants.<br>
I hope you learn what the Ertheia need to know. May Einhasad's blessing go with you.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priest Sylvain:<br>
It seems you need to see Rombel to meet the giants. Rombel is next to Janssen.<br>
Go to <font color="LEVEL">Cruma Tower Underground Level 3</font>.<br>
I hope you learn what the Ertheia need to learn.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Ivory Tower Wizard Rombel:<br>
Cough...My cough is quite severe at the moment, please come back later.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10774_LettersFromTheQueenCrumaTowerPart2 30487-02.html">"But it's an emergency."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Ivory Tower Wizard Rombel:<br>
Even if it's an emergency..cough...I can't help you. My cough is so, cough, severe...I can't even see straight. Come back and talk to me when...cough cough!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10774_LettersFromTheQueenCrumaTowerPart2 30487-03.html">"Researcher Lorain sent me."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Ivory Tower Wizard Rombel:<br>
Cough, I don't know who sent you, but just take this and leave. Cough...if it's truly urgent, then wait until, cough cough!<br>
(You can receive the next Letters from the Queen at Lv. 52).
</body></html>

View File

@@ -0,0 +1,125 @@
/*
* 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.Q10774_LettersFromTheQueenCrumaTowerPart2;
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: Cruma Tower, Part 2 (10774)
* @author malyelfik
*/
public final class Q10774_LettersFromTheQueenCrumaTowerPart2 extends LetterQuest
{
// NPCs
private static final int SYLVAIN = 30070;
private static final int ROMBEL = 30487;
// Items
private static final int SOE_DION_TOWN = 39595;
private static final int SOE_CRUMA_TOWER = 39596;
private static final int ENCHANT_ARMOR_C = 952;
// Location
private static final Location TELEPORT_LOC = new Location(16014, 142326, -2688);
// Misc
private static final int MIN_LEVEL = 46;
private static final int MAX_LEVEL = 50;
public Q10774_LettersFromTheQueenCrumaTowerPart2()
{
super(10774);
addTalkId(SYLVAIN, ROMBEL);
setIsErtheiaQuest(true);
setLevel(MIN_LEVEL, MAX_LEVEL);
setStartLocation(SOE_DION_TOWN, TELEPORT_LOC);
setStartQuestSound("Npcdialog1.serenia_quest_4");
registerQuestItems(SOE_DION_TOWN, SOE_CRUMA_TOWER);
}
@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 "30070-02.html":
case "30487-02.html":
break;
case "30070-03.html":
{
if (qs.isCond(1))
{
qs.setCond(2, true);
giveItems(player, SOE_CRUMA_TOWER, 1);
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_SYLVAIN_GAVE_YOU_TO_GO_TO_CRUMA_TOWER2, ExShowScreenMessage.TOP_CENTER, 8000);
}
break;
}
case "30487-03.html":
{
if (qs.isCond(2))
{
giveItems(player, ENCHANT_ARMOR_C, 2);
giveStoryQuestReward(player, 11);
addExpAndSp(player, 483840, 116);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_52, 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() == SYLVAIN)
{
htmltext = (qs.isCond(1)) ? "30070-01.html" : "30070-04.html";
}
else if (qs.isCond(2))
{
htmltext = "30487-01.html";
}
}
return htmltext;
}
}

View File

@@ -0,0 +1,7 @@
<html><body>The Queen's Letter:<br>
Child ofThe fragment found in Cruma Tower is not related to the Grail we're looking for. However, you may still find a lead when you see the ancient giants in the tower.<br>
Go to <font color="LEVEL">High Priest Sylvain</font> in Einhasad Temple in <font color="LEVEL">Town of Dion</font> to ask for help.<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>