This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Rafforty:<br>
You're back, and alive, thank the Gods! And you rescued Kegor? Courage and skill in battle a rare commodity these days. We owe you immensely.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32020-02.htm">"I just helped a man in trouble."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Rafforty:<br>
The Divine Sword is ours once again! Now comes the time to actually use the darned thing... Now a guild member could wield it, sure. But none of us compare to you - you are truly a demon on the battlefield. Will you see this through with us?<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32020-03.htm">"I've come this far. Let's end the reign of the Ice Queen together!"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Rafforty:<br>
We're thrilled to have you, truly. Come inside the clan hall. Jinia and Kegor have much to speak about with you. Ready to go in?<br>
<a action="bypass -h npc_%objectId%_Quest JiniaGuildHideout2">Enter.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Rafforty:<br>
It's not time. Patience.<br>
(Only characters level 82 or above who have completed quest "Acquisition of Divine Sword" may take on this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Rafforty:<br>
You lucked out to have us around is what happened. Now get some rest, try a mug of ale at the pub. Maybe a dark brew with a nice foamy head. We will discuss this later.<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Rafforty:<br>
You are always welcome inside the Jinia Guild Clan Hall. Jinia and Kegor are waiting for you.<br>
Enter now?<br>
<a action="bypass -h npc_%objectId%_Quest JiniaGuildHideout2">Enter.</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Rafforty:<br>
We respect your decision. Jinia Guild will find a solution to this problem somehow, even without you.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Rafforty:<br>
Hello? Are you OK there? Come on now, pull yourself together...
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Rafforty:<br>
Forgive me, but can you come back later? The Guild is having an important meeting right now.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Freya's Steward:<br>
Ah, there you are. Jinia told me you'd be coming. She awaits you now. Are you ready?<br>
<a action="bypass -h Quest Q10285_MeetingSirra TELEPORT">"Yes, I'm ready."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
Quite commendable! Kegor told me of your exploits. The Guild has much to thank you for. It is without saying that Jinia Guild is forever indebted to you. I... there is more to tell, however.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-02.html">Keep listening.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
The Guild exists to stop the Ice Queen Freya, but it's become clear that we aren't strong enough. Everyone we've sent against her has disappeared.<br>
Take a moment to talk with Kegor. He wanted to thank you again.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Jinia:<br>
Why don't we talk to Kegor first? He must have much to say to you, adventurer.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
As I told you, the Ice Queen Freya used to be a princess named Felicia of the old Elmoreden Empire. Her natural beauty, her magical talent, and her lust for knowledge and power helped make her the perfect host for Freya. When Sayan's Ice Cystal broke, her body became its vessel. Her love for the people of the Empire became perverted, as she became obsessed with preserving their beauty in the form of ice sculptures to last forever.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-05.html">Ask if anything can be done.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
I am not sure. As I told you before, I fear that Felicia may be lost forever, since she froze even her best friend Kier. But it's possible Felicia's soul still exists somewhere within the Ice Queen, weakening Freya. We have an idea - we might strengthen Felicia's spirit through some sort of medium that can absorb the Ice Queen's power, thus weakening Freya's grasp on Felicia's body.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-06.html">"What's that idea?"</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Jinia:<br>
Who is this? What is this woman? Find out what she's doing here!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Jinia:<br>
This is Sirra, formerly known as the Ice Fairy. Listen to her - she has some important things to say.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
I understand how all this must sound but Sirra is not lying.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-09.html">Ask about what happened.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
Our guild has looked at every option. Nothing seems like it will work. It has been said that 'the enemy of the enemy is one's friend.' Sirra is certainly Freya's enemy, egomaniacal wizard though she may be. Her power would be of great help to us.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-10.html">"Must we join with our enemy?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
I know, Sirra's not quite like us. Her aims are not the same. She's been our enemy before and I don't doubt that she might be again. But right now, Freya is the greater evil and we need Sirra's help. This is our best chance at stopping the Ice Queen.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-11.html">"It doesn't make sense."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
We need your help. With your strength, this plan could work! The Ice Queen must be stopped... Please, I'll do anything.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-12.html">"...there's no other choice."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Jinia:<br>
(Beams, her smile wide)<br>
Thank you so much. Freya's threat won't end here. Like I said, we have to stop her before she tries to conquer the world with her icy grip. Let us meet at the Queen's Garden. I'll talk to the butler and let him know you're coming. See you there.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-13.html">"See you."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
Let our visitor out, please.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-14.html">Leave the Hall.</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Jinia:<br>
Good luck to you!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
First, let's go to Freya's garden. I'll talk to the butler. We'll meet there.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32760-13.html">Ok, we will.</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Kegor:<br>
Again, thank you! Without you, we'd be in deeper trouble and I may very well have died. You are quite skilled... thank the Gods you are on our side! However, as skilled as you are, it isn't enough. In order to stop Freya, we'll need something of immense power that can absorb her power, such as the Divine Sword of Kier.<br>
Kier used to be Princess Felicia's best friend and protector. The power of his sword was remarkable but not without danger. Over time, wielding it sapped my strength. I wandered around the Mithril Mines until I collapsed.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32761-02.html">"Are you okay now?"</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Kegor:<br>
Don't worry about me, I'll be all right. But you'll want to talk to Jinia. I have nothing more to say until you do.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Kegor:<br>
You don't have to worry about me. Can you go over the details with Jinia? That's all I can tell you for now.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Kegor:<br>
I don't like it either...but we could use Sirra's power to help us. Just listen to Sirra's story first.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirr:<br>
Ah, you foolish humans. What beautiful ice sculptures you would all make, preserved for eternity in winter's grasp.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-02.html">"Who are you?!"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirra:<br>
I'm the great Sirra, Master Elven Magician and chamberlain to her majesty, the Ice Queen Freya. Some call me the Ice Fairy. No doubt you've heard of me.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-03.html">"What is Freya's chamberlain doing here?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirra:<br>
I will admit, I was not acting of my own free will as the Ice Fairy. As hard as it may be to believe, even one as great as Master Magician Sirra can be misled. That foolish Felicia! When she broke that ice crystal, she believed it a mistake and tried to hide the shards from the rest of us. Eventually, everyone near her came under the crystal's control...<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-04.html">"Sayan's crystals can influence people?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirra:<br>
Don't fool yourself and pity Felicia. Yes, she was just a normal human once. But she was never innocent. She unabashedly sought more and more power, and to say she was self-centered is an understatement. We were all merely characters in her universe. When she absorbed the power of Freya from the crystal, it only accentuated her more vile personality traits and gave her power no mortal should possess. She has become not unlike a god herself.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-05.html">"Your point?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirra:<br>
I grew up with 'Licia' - Felicia - when she was a snot-nosed child. I know her better than she knows herself. Know this: fighting Freya alone is suicide. We may be able to help each other - I have a plan that just might work.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-06.html">"Work together with you?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirra:<br>
It's our castle and you'll need the help of those within to defeat her. We were all caught up in Freya's destructive web: not just the knights, soldiers, and nobles but also the butlers, servants, and cooks. Even myself, the Grand Head Chamberlain. While we cannot defy Freya's will, we know she poses a dire threat to the world and we may still be able to help. I assure you that you will need it.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-07.html">"How do I defeat Freya?"</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Sirra:<br>
We can isolate Freya's essence and seal it in what is called a frozen core, a device not unlike the ice crystal that began this whole thing. It so happens I am capable of making this device! I assure you, it is not because I am fabulous, though I am. It is part of the curse Freya placed on me. She believes her power over her consorts so great that I would never move against her, and in a way it is true. But I can give you this, and my curse will become your gift. Join us, we can stop Freya together!<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32762-08.html">"Give me a break. I won't fall into your trap, Sirra."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Sirra:<br>
You are a fool! But I'm not going to waste my breath trying to convince you. Go ahead and try to fight Freya. I assure you that you will fail. If you don't end up another sculpture in her garden, I suggest you come back and talk to me. Goodbye for now.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Sirra:<br>
Have it your way. When you come to your senses, I'll be waiting right here. You're welcome.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Jinia:<br>
You're here! We've been waiting. Let's continue with haste.<br>
<a action="bypass -h Quest Q10285_MeetingSirra 32781-02.html">Let's enter.</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Jinia:<br>
Are you ready?<br>
<a action="bypass -h npc_%objectId%_Quest IceQueensCastle">"Let's do it!"</a><br>
<a action="bypass -h Quest Q10285_MeetingSirra 32781-03.html">"Wait a moment, there's something I need to do first."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Jinia:<br>
Just tell me when you are ready.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Jinia:<br>
Let's go back to Lephri and talk to him.
</body></html>

View File

@@ -0,0 +1,375 @@
/*
* Copyright (C) 2004-2014 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.Q10285_MeetingSirra;
import quests.Q10284_AcquisitionOfDivineSword.Q10284_AcquisitionOfDivineSword;
import com.l2jserver.gameserver.instancemanager.InstanceManager;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.instancezone.InstanceWorld;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
import com.l2jserver.gameserver.network.NpcStringId;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.NpcSay;
/**
* Meeting Sirra (10285)
* @author Adry_85
*/
public final class Q10285_MeetingSirra extends Quest
{
// NPCs
private static final int RAFFORTY = 32020;
private static final int FREYAS_STEWARD = 32029;
private static final int JINIA = 32760;
private static final int KEGOR = 32761;
private static final int SIRRA = 32762;
private static final int JINIA2 = 32781;
// Misc
private static final int MIN_LEVEL = 82;
// Locations
private static final Location EXIT_LOC = new Location(113793, -109342, -845, 0);
private static final Location FREYA_LOC = new Location(103045, -124361, -2768, 0);
public Q10285_MeetingSirra()
{
super(10285, Q10285_MeetingSirra.class.getSimpleName(), "Meeting Sirra");
addStartNpc(RAFFORTY);
addTalkId(RAFFORTY, JINIA, KEGOR, SIRRA, JINIA2, FREYAS_STEWARD);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "32020-02.htm":
{
htmltext = event;
break;
}
case "32020-03.htm":
{
st.startQuest();
st.setMemoState(1);
htmltext = event;
break;
}
case "32760-02.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 0))
{
st.set("ex", 1);
st.setCond(3, true);
htmltext = event;
}
break;
}
case "32760-05.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 2))
{
htmltext = event;
}
break;
}
case "32760-06.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 2))
{
final L2Npc sirra = addSpawn(SIRRA, -23905, -8790, -5384, 56238, false, 0, false, npc.getInstanceId());
sirra.broadcastPacket(new NpcSay(sirra.getObjectId(), Say2.NPC_ALL, sirra.getId(), NpcStringId.THERE_S_NOTHING_YOU_CAN_T_SAY_I_CAN_T_LISTEN_TO_YOU_ANYMORE));
st.set("ex", 3);
st.setCond(5, true);
htmltext = event;
}
break;
}
case "32760-09.html":
case "32760-10.html":
case "32760-11.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 4))
{
htmltext = event;
}
break;
}
case "32760-12.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 4))
{
st.set("ex", 5);
st.setCond(7, true);
htmltext = event;
}
break;
}
case "32760-13.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 5))
{
st.unset("ex");
st.setMemoState(2);
final InstanceWorld world = InstanceManager.getInstance().getPlayerWorld(player);
world.removeAllowed(player.getObjectId());
player.setInstanceId(0);
htmltext = event;
}
break;
}
case "32760-14.html":
{
if (st.isMemoState(2))
{
player.teleToLocation(EXIT_LOC, 0);
htmltext = event;
}
break;
}
case "32761-02.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 1))
{
st.set("ex", 2);
st.setCond(4, true);
htmltext = event;
}
break;
}
case "32762-02.html":
case "32762-03.html":
case "32762-04.html":
case "32762-05.html":
case "32762-06.html":
case "32762-07.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 3))
{
htmltext = event;
}
break;
}
case "32762-08.html":
{
if (st.isMemoState(1) && (st.getInt("ex") == 3))
{
st.set("ex", 4);
st.setCond(6, true);
htmltext = event;
npc.deleteMe();
}
break;
}
case "32781-02.html":
case "32781-03.html":
{
if (st.isMemoState(2))
{
htmltext = event;
}
break;
}
case "TELEPORT":
{
if (player.getLevel() >= MIN_LEVEL)
{
player.teleToLocation(FREYA_LOC, 0);
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
QuestState st = getQuestState(player, true);
String htmltext = getNoQuestMsg(player);
switch (st.getState())
{
case State.COMPLETED:
{
if (npc.getId() == RAFFORTY)
{
htmltext = "32020-05.htm";
}
break;
}
case State.CREATED:
{
if (npc.getId() == RAFFORTY)
{
st = player.getQuestState(Q10284_AcquisitionOfDivineSword.class.getSimpleName());
htmltext = ((player.getLevel() >= MIN_LEVEL) && (st != null) && (st.isCompleted())) ? "32020-01.htm" : "32020-04.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case RAFFORTY:
{
switch (st.getMemoState())
{
case 1:
{
htmltext = (player.getLevel() >= MIN_LEVEL) ? "32020-06.html" : "32020-09.html";
break;
}
case 2:
{
htmltext = "32020-07.html";
break;
}
case 3:
{
st.giveAdena(283425, true);
st.addExpAndSp(939075, 83855);
st.exitQuest(false, true);
htmltext = "32020-08.html";
break;
}
}
break;
}
case JINIA:
{
if (st.isMemoState(1))
{
final int state = st.getInt("ex");
switch (state)
{
case 0:
{
htmltext = "32760-01.html";
break;
}
case 1:
{
htmltext = "32760-03.html";
break;
}
case 2:
{
htmltext = "32760-04.html";
break;
}
case 3:
{
htmltext = "32760-07.html";
break;
}
case 4:
{
htmltext = "32760-08.html";
break;
}
case 5:
{
htmltext = "32760-15.html";
break;
}
}
}
break;
}
case KEGOR:
{
if (st.isMemoState(1))
{
final int state = st.getInt("ex");
switch (state)
{
case 1:
{
htmltext = "32761-01.html";
break;
}
case 2:
{
htmltext = "32761-03.html";
break;
}
case 3:
{
htmltext = "32761-04.html";
break;
}
}
}
break;
}
case SIRRA:
{
if (st.isMemoState(1))
{
final int state = st.getInt("ex");
if (state == 3)
{
htmltext = "32762-01.html";
}
else if (state == 4)
{
htmltext = "32762-09.html";
}
}
break;
}
case JINIA2:
{
if (st.isMemoState(2))
{
htmltext = "32781-01.html";
}
else if (st.isMemoState(3))
{
htmltext = "32781-04.html";
}
break;
}
case FREYAS_STEWARD:
{
if (st.isMemoState(2))
{
htmltext = "32029-01.html";
st.setCond(8, true);
}
break;
}
}
break;
}
}
return htmltext;
}
}