Quest Seven Signs, One Who Seeks the Power of the Seal (10296).
This commit is contained in:
parent
58597a3f83
commit
79e7b0edfc
@ -92,7 +92,6 @@
|
||||
<npc id="32835" x="85793" y="-245640" z="-8320" heading="0" />
|
||||
<npc id="32836" x="84705" y="-246730" z="-8320" heading="0" />
|
||||
<!-- Spawn: Seven Signs, Solina's Tomb -->
|
||||
<npc id="18949" x="76625" y="-240824" z="-10832" heading="0" />
|
||||
<npc id="27407" x="44269" y="-251082" z="-6760" heading="0" />
|
||||
<npc id="27407" x="43811" y="-248086" z="-6760" heading="0" />
|
||||
<npc id="27407" x="44314" y="-250726" z="-6760" heading="0" />
|
||||
|
@ -190,6 +190,10 @@ public final class SSQMonasteryOfSilence extends AbstractInstance
|
||||
}
|
||||
case "FOLLOW":
|
||||
{
|
||||
if (npc == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
npc.setIsRunning(true);
|
||||
npc.getAI().startFollow(player);
|
||||
if (player.isInCombat())
|
||||
@ -200,7 +204,7 @@ public final class SSQMonasteryOfSilence extends AbstractInstance
|
||||
else
|
||||
{
|
||||
final QuestState qs = player.getQuestState(Q10295_SevenSignsSolinasTomb.class.getSimpleName());
|
||||
if ((qs != null) && (qs.getCond() < 2))
|
||||
if ((qs != null) && (qs.getCond() < 2) && !qs.isCompleted())
|
||||
{
|
||||
npc.broadcastSay(ChatType.NPC_GENERAL, ELCADIA_DIALOGS2[getRandom(ELCADIA_DIALOGS2.length)]);
|
||||
}
|
||||
|
@ -0,0 +1,4 @@
|
||||
<html><body>Hardin:<br>
|
||||
I have been waiting for you. Hahaha, Elcadia, you have worked so hard. Now, do you have the result you craved? Hahaha. You seem like you have no idea what I am talking about. The Revolutionaries or Dusk and the Priests of Dawn are mere rabbles - your purpose was to watch them with Elcadia at Franz's request, wasn't it?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 30832-02.html">How do you know that?</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Hardin:<br>
|
||||
Hahaha... I don't know what you think of me, but I see through the minds of pitiful humans like Franz. In the end, however, I've got what I wanted with the help of Elcadia and you have been made aware of the upcoming threats to this world. Of course I do not want to take any side...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 30832-03.html">"Just get to the point."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Hardin:<br>
|
||||
I see. I Will tell Franz when I go back. I'll tell him that he should face the future threats more squarely and be prepared. Just as you saw with your bare eyes, Embryo's threat is just beginning... Tell him also that the Emperor's Seven Signs cannot be manipulated by mere humans...
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Hardin:<br>
|
||||
I see. I Will tell Franz when I go back. I'll tell him that he should face the future threats more squarely and be prepared. Just as you saw with your bare eyes, Embryo's threat is just beginning... Tell him also that the Emperor's Seven Signs cannot be manipulated by mere humans...
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Priest Wood:<br>
|
||||
I see that you have completed the work. All that's left now is to report to Lord Franz. Can you report to Lord Franz?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest SSQHideoutOfTheDawn">Report.</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
Well done! How's the assignment? Report to me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 32597-02.html">"Well..."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
Hardin... He is not credible and even dangerous... I have no idea what he's been up to based on the fact that he had built his own world after leaving the Ivory Tower with his enormous power. Anyhow, I must express my gratitude to you for putting in such a tremendous effort for this assignment.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 32597-03.html">Recieve reward.</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Priest Franz:<br>
|
||||
I believe we have enough information now. No matter what Hardin or the other Dusks say... Don't ever falter. Hardin is not someone you can trust. Now, seems like we are one step ahead toward the truth. I believe I will need your help again later on. I will ask you a favor again when that time comes. Good work!
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Abyssal Saintess Elcardia:<br>
|
||||
That was an unbelievable fight Etis van Etina... He is the one behind everything. Embryo and Etis are scheming to find the remaining seals and take control or this world.<br>
|
||||
His power here was incomplete, and moreover his body was not real, but he was quite formidable nonetheless. I'm sure you noticed as much...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 32784-02.html">Ask what I should do from now on.</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Abyssal Saintess Elcardia:<br>
|
||||
You fought well, perhaps you were confidant having fought him before. He had only absorbed the power of 2 seals, and by using a virtual image he found us in this dimension. The scary part is that even with his limited power, I couldn't defeat him.<br>
|
||||
We cannot allow any remaining seals to fall Into Embyo's possession! If he absorbs more power... We may never be able to stop him...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 32784-03.html">Ask how to stop Embryo.</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Abyssal Saintess Elcardia:<br>
|
||||
I will go back and inform everyone of this situation. Someone will know what to do.<br>
|
||||
Thank you. You are the reason I've made it this far. I think of us as friends, I hope you do as well.<br>
|
||||
Oh, right. Hardin wanted me to ask you to come visit him, he wants to tell you something. Now that your schedule is clear, why don't you go see him?
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Abyssal Saintess Elcardia:<br>
|
||||
I must go back now and inform my people of this. We will come up with something.<br>
|
||||
Thank you, I never would have reached this far without you. I know I have been difficult, but I hope you will consider me a friend? I will think of you as one.<br>
|
||||
Oh, before I forget, Hardin wanted me to ask you to visit him again, he has something important to tell you. I don't know what it is... Since you aren't busy why don't you go see him?
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Abyssal Saintess Elcardia:<br>
|
||||
That guy... He is named Etis van Etina. Interesting... That isn't his true form, this is some kind of mirror thought form... The real form of Embryo would be too much for us alone.<br>
|
||||
Let's finish here and get out of this place. We'll return to my home, discuss what we should do next over tea, clear our minds.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal exit_instance">Let's get out of this place.</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Sister of Silence Eris:<br>
|
||||
Now, it's finally time to tell you what you need to know.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 32792-02.htm">Ask about the truth.</Button>
|
||||
</body></html>
|
@ -0,0 +1,6 @@
|
||||
<html><body>Sister of Silence Eris:<br>
|
||||
I don't know if your questions about Embryo have been answered. I wonder if it has something to do with Jude van Etina disappearing after stealing Solina's power...<br>
|
||||
Clearly Embryo's activities have not been stopped, even now. 3 seals have already risen above ground.<br>
|
||||
You must investigate the real identity of Embryo, the world needs to know. Alas, I have a favor to ask you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal 32792-03.htm">Agree to help.</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Sister of Silence Eris:<br>
|
||||
I think I have explained enough about Embryo's origin, birth, and true identity. Now it's important to find out who's leading Embryo, and to protect the remaining 4 seals. We must make preparations. The pieces of this puzzle are in place, now everything begins.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Sister of Silence Eris:<br>
|
||||
Embryo and it's leader are growing in strength. Soon, all will feel their threat, and by then it will be too late.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal start_video_1">Ask who the leader of Embryo is.</Button>
|
||||
</body></html>
|
@ -16,10 +16,14 @@
|
||||
*/
|
||||
package quests.Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
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.instancezone.Instance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
import quests.Q10295_SevenSignsSolinasTomb.Q10295_SevenSignsSolinasTomb;
|
||||
|
||||
@ -32,6 +36,16 @@ public final class Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ERIS_EVIL_THOUGHTS = 32792;
|
||||
private static final int ELCADIA_INSTANCE = 32787;
|
||||
private static final int ETIS_VAN_ETINA = 18949;
|
||||
private static final int ELCADIA = 32784;
|
||||
private static final int HARDIN = 30832;
|
||||
private static final int WOOD = 32593;
|
||||
private static final int FRANZ = 32597;
|
||||
// Location
|
||||
private static final Location UNKNOWN_LOC = new Location(76707, -241022, -10832);
|
||||
// Reward
|
||||
private static final int CERTIFICATE_OF_DAWN = 17265;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 81;
|
||||
|
||||
@ -39,9 +53,10 @@ public final class Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal extends Quest
|
||||
{
|
||||
super(10296);
|
||||
addStartNpc(ERIS_EVIL_THOUGHTS);
|
||||
addTalkId(ERIS_EVIL_THOUGHTS);
|
||||
addCondMinLevel(MIN_LEVEL, ""); // TODO: HTML
|
||||
addCondCompletedQuest(Q10295_SevenSignsSolinasTomb.class.getSimpleName(), ""); // TODO: HTML
|
||||
addTalkId(ERIS_EVIL_THOUGHTS, ELCADIA_INSTANCE, ELCADIA, HARDIN, WOOD, FRANZ);
|
||||
addKillId(ETIS_VAN_ETINA);
|
||||
addCondMinLevel(MIN_LEVEL, "");
|
||||
addCondCompletedQuest(Q10295_SevenSignsSolinasTomb.class.getSimpleName(), "");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -53,10 +68,98 @@ public final class Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal extends Quest
|
||||
return null;
|
||||
}
|
||||
|
||||
final String htmltext = null;
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
|
||||
case "32792-02.htm":
|
||||
case "32784-02.html":
|
||||
case "30832-02.html":
|
||||
case "32597-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32792-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "start_video_1":
|
||||
{
|
||||
playMovie(player, Movie.SSQ2_BOSS_OPENING);
|
||||
startQuestTimer("teleport_to_unknown", 60000, null, player);
|
||||
return null;
|
||||
}
|
||||
case "teleport_to_unknown":
|
||||
{
|
||||
final L2Npc etis = player.getInstanceWorld().getNpc(ETIS_VAN_ETINA);
|
||||
if (etis != null)
|
||||
{
|
||||
etis.deleteMe();
|
||||
}
|
||||
player.teleToLocation(UNKNOWN_LOC);
|
||||
final L2Npc elcadia = player.getInstanceWorld().getNpc(ELCADIA_INSTANCE);
|
||||
elcadia.teleToLocation(player, true);
|
||||
qs.setCond(2, true);
|
||||
startQuestTimer("spawn_etis", 10000, null, player);
|
||||
return null;
|
||||
}
|
||||
case "spawn_etis":
|
||||
{
|
||||
final L2Npc etis = player.getInstanceWorld().getNpc(ETIS_VAN_ETINA);
|
||||
if (etis == null)
|
||||
{
|
||||
addSpawn(ETIS_VAN_ETINA, UNKNOWN_LOC, false, 0, false, player.getInstanceId());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
case "respawn_elcadia":
|
||||
{
|
||||
addSpawn(ELCADIA_INSTANCE, UNKNOWN_LOC, false, 0, false, player.getInstanceId());
|
||||
return null;
|
||||
}
|
||||
case "exit_instance":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
}
|
||||
final Instance world = player.getInstanceWorld();
|
||||
world.ejectPlayer(player);
|
||||
world.destroy();
|
||||
return null;
|
||||
}
|
||||
case "32784-03.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30832-03.html":
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "32597-03.html":
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
qs.unset("erisKilled");
|
||||
rewardItems(player, CERTIFICATE_OF_DAWN, 1);
|
||||
addExpAndSp(player, 70000000, 16800);
|
||||
qs.exitQuest(false, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
@ -64,12 +167,101 @@ public final class Q10296_SevenSignsOneWhoSeeksThePowerOfTheSeal extends Quest
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
// QuestState qs = getQuestState(player, true);
|
||||
final String htmltext = getNoQuestMsg(player);
|
||||
switch (npc.getId())
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (qs.getState())
|
||||
{
|
||||
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == ERIS_EVIL_THOUGHTS)
|
||||
{
|
||||
htmltext = "32792-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ERIS_EVIL_THOUGHTS:
|
||||
{
|
||||
if (qs.isCond(1) || qs.isCond(2))
|
||||
{
|
||||
htmltext = "32792-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELCADIA_INSTANCE:
|
||||
{
|
||||
if (qs.getInt("erisKilled") == 1)
|
||||
{
|
||||
htmltext = "32787-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELCADIA:
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "32784-01.html";
|
||||
}
|
||||
else if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "32784-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HARDIN:
|
||||
{
|
||||
if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "30832-01.html";
|
||||
}
|
||||
else if (qs.isCond(5))
|
||||
{
|
||||
htmltext = "30832-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case WOOD:
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
htmltext = "32593-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case FRANZ:
|
||||
{
|
||||
if (qs.isCond(5))
|
||||
{
|
||||
htmltext = "32597-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
qs.set("erisKilled", 1);
|
||||
npc.deleteMe();
|
||||
final L2Npc elcadia = player.getInstanceWorld().getNpc(ELCADIA_INSTANCE);
|
||||
elcadia.deleteMe();
|
||||
startQuestTimer("respawn_elcadia", 60000, null, player);
|
||||
playMovie(player, Movie.SSQ2_BOSS_CLOSING);
|
||||
return super.onKill(npc, player, isSummon);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user