Merged with released L2J-Unity files.
This commit is contained in:
6
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-01.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-01.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Head Blacksmith Tapoy:<br>
|
||||
We at the Black Anvil Guild are recruiting people for something very important. What for? Uh, well...it's a bit of an embarrassment for us Dwarves, but I guess this is no time for pride.<br>
|
||||
Have you heard of <font color="LEVEL">Dr. Chaos</font>? Not that it's a big deal if you haven't. It's not like he deserves renown or anything.<br>
|
||||
Ahem. Anyway, Dr. Chaos is the problem!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 30499-02.htm">"What problem, exactly?"</Button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-02.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Head Blacksmith Tapoy:<br>
|
||||
Our Dwarven honor is at stake here. You see even I, the great Head Blacksmith Tapoy of the Black Anvil Guild, had to step in!<br>
|
||||
Ahem. I got a bit carried away. Anyway. the Dwarf Heirarchs are troubled. Ashamed, more like. 'What are we supposed to say to Hierarch Kekropus of the Kamaels?' they said. Since, you know, being booted from Dwarven guilds doesn't change the fact that Dr. Chaos is a Dwarf. Say, I'll tell you more if you help us a bit. How about it?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 30499-03.htm">"All right, I'll help. What else is there to know?"</Button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Head Blacksmith Tapoy:<br>
|
||||
Dr. Chaos violated the non-aggression pact between the races. Gah, that disgraceful vermin!<br>
|
||||
I don't know what <font color="LEVEL">Dr. Chaos</font> is thinking, but he took the <font color="LEVEL">Golem Corps</font> to the <font color="LEVEL">Isle of Souls</font> while the Kamaels were away. As if stealing technology from the Pavel Ruins wasn't enough...now Kamels!<br>
|
||||
Now, time for you to do me a favor as promised. Take this item to <font color="LEVEL">Hesed of the Black Anvil Guild</font> at the <font color="LEVEL">Harbor to the Isle of Souls</font>. It's a very important item, mind you! Hesed will repay you handsomely for your help.
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-04.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-04.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Head Blacksmith Tapoy:<br>
|
||||
Not to rush you, but the item I handed over was supposed to be delivered quite a bit ago. Hesed isn't known for his patiece, so hurry if you can. Remember, it's <font color="LEVEL">Hesed of the Black Anvil Guild</font> at the <font color="LEVEL">Harbor to the Isle of Souls</font>.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-05.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-05.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Head Blacksmith Tapoy:<br>
|
||||
If you hear my story, you'll be itching to go there. But I'm a responsible Dwarf, and I don't send rookies into such danger.<br>
|
||||
(Only characters level 93 or above can perform this quest.)
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-06.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/30499-06.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Head Blacksmith Tapoy:<br>
|
||||
I've heard of your heroics there. I thank you, and hope you continue your fight for the glory of the Dwarves.<br>
|
||||
(You have already completed this quest.)
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
Hey, do you know a fellow called Tapoy in Gludin Village? He's the head blacksmith. I'd ordered from him forever ago, and he still hasn't delivered it!<br>
|
||||
You look like a traveling type. Can you tell him to hurry it up if you ever stop by Gludin Village?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33780-02.html">"Actually, I have something for you. It's from that very same fellow."</Button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
Oh. Haha, I see! Ahem. Patience is not one of my virtues. And I'm a bit of a...sensitive Dwarf. Hey hey, don't give me that doubtful look.<br>
|
||||
Ahem, anyway. This is the vaccine for <font color="LEVEL">Laido Virus</font>. The virus has been plaguing the entire region here! <font color="LEVEL">Verna</font> the Kamael warrior made it.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33780-03.html">"Uh...what virus?"</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
It's a horrible virus that takes away <font color="LEVEL">control over machines</font>. Golems infected with this have allied themselves with the <font color="LEVEL">Spiculas</font>! Oh, did I mention that Spiculas and Kamaels look very much alike? Almost identical, except... the location of their wings, maybe. They also use the same weapons as Kamaels too. Though, to be fair, the Kamaels can now use all kinds of weapons since Awakening, but yeah...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33780-04.html">"So why did these Spiculas start appearing in the first place?"</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
Because Dr. Chaos rubbed Nornil the wrong way, that's why! Anyway, go ask Verna for details on Nornil and Spiculas on the Isle of Souls and all that. I mean, the situation was technically caused by a mad Dwarven scientist, but it's also connected to the birth of the Kamael race. I can't really divulge the details.<br>
|
||||
Whoa, been talking too long. Anyway, take this vaccine box to the <font color="LEVEL">Seal Watchman</font> guarding <font color="LEVEL">Yin</font>, will ya? Now, don't frown like that. You were helping us already, a little more couldn't hurt. I'll be sure to pay you for your troubles when you get back.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-05.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-05.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
Oh ho, you bear a grudge, don't ya?<br>
|
||||
Now, don't frown like that - doing a little more good wouldn't hurt ya, would it? Take this vaccine box to the <font color="LEVEL">Seal Watchman</font> guarding <font color="LEVEL">Yin</font>.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-06.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-06.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
Ah, look who's here. Long time! I thought you ran off with the vaccine or something. Haha. Where have you been!<br>
|
||||
Come again! I'll make it worth your while. We could always use a little help!
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-07.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33780-07.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Hesed of the Black Anvil Guild:<br>
|
||||
So, did you find out everything you wanted to know?<br>
|
||||
(You have already completed this quest.)
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Verna:<br>
|
||||
You can't have wandered in here by accident. What a dangerously curious one you are. You asked the Dwarves about the Spiculas and the suspicious devices in this area, didn't you? Oh, it's not that I have mind-reading abilities or anything - I've just seen a lot of people like you.<br>
|
||||
You must have been really curious to come this far. What was it that piqued your curiosity so?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33796-02.html">"What is Nornil?"</Button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Verna:<br>
|
||||
Going straight for the big thing, huh? It's <font color="LEVEL">Mother Nornil</font> to be exact. She is like a mother to the entire Isle of Souls and us Kamaels. It was due to her that we Kamaels were born and acquired power. You know that we were not created by the gods, right? The <font color="LEVEL">secret to our birth</font> lies in Mother Nornil.<br>
|
||||
It was this secret Dr. Chaos was after when he infiltrated the place. That fool... he thought it would be that easy to get his hands on the knowledge of <font color="LEVEL">Mimir</font>, the greatest scientist to exist among the Giants? Mimir wouldn't let anyone near the secret to the Kamaels' birth so easily.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33796-03.html">"Please tell me about the secret behind the creation of Kamaels."</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Verna:<br>
|
||||
Your curiosity is commendable, but it must end here. Exposing the secret to the Kamaels' birth requires permission from Kamael Hierarch Kekropus and the hidden heroes. A day may come when the secret is made known to the world - or, if you help calm this berserk defense system, I may be able to tell you something.<br>
|
||||
Now, weren't you in the middle of something? You should go back.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33796-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Verna:<br>
|
||||
I have no more information to give. But if you help calm this berserk defense system, I may be able to tell you something.<br>
|
||||
Now, weren't you in the middle of something? You should go back.
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33797-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33797-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Seal Watchman:<br>
|
||||
This place is dangerous, and don't add to my headache by poking your head where it doesn't belong. I've been trying to fix the broken Seal Device for so long now, and things just keep getting uglier. The guild's Golems keep getting <font color="LEVEL">infected</font> with the <font color="LEVEL">Laido Virus</font> - if only we hadn't run out of vaccines!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33797-02.html">"I think I might have a box of those vaccines..."</Button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33797-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33797-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Seal Watchman:<br>
|
||||
Oh, welcome you are then! Finally! Hesed can cease his whining now.<br>
|
||||
Now, give me the vaccine box.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney 33797-03.html">"How about you tell me about Nornil first?"</Button>
|
||||
</body></html>
|
||||
3
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33797-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10386_MysteriousJourney/33797-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Seal Watchman:<br>
|
||||
I tell you, I have nothing to say about Nornil. Go to <font color="LEVEL">Verna</font> at <font color="LEVEL">Stronghold III</font>, all right?
|
||||
</body></html>
|
||||
@@ -1,144 +1,211 @@
|
||||
/*
|
||||
* 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.Q10386_MysteriousJourney;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||
import com.l2jmobius.gameserver.enums.QuestType;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
|
||||
/**
|
||||
* @author hlwrave
|
||||
* @URL https://l2wiki.com/Mysterious_Journey
|
||||
*/
|
||||
public class Q10386_MysteriousJourney extends Quest
|
||||
{
|
||||
// Npcs
|
||||
private static final int TOPOI = 30499;
|
||||
private static final int HESET = 33780;
|
||||
private static final int BERNA = 33796;
|
||||
// Misc
|
||||
public static final int MIN_LEVEL = 93;
|
||||
|
||||
public Q10386_MysteriousJourney()
|
||||
{
|
||||
super(10386, Q10386_MysteriousJourney.class.getSimpleName(), "Mysterious Journey");
|
||||
addStartNpc(TOPOI);
|
||||
addTalkId(TOPOI, HESET, BERNA);
|
||||
addCondMinLevel(MIN_LEVEL, "nolevel.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final String htmltext = event;
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "accepted.html":
|
||||
{
|
||||
qs.startQuest();
|
||||
break;
|
||||
}
|
||||
case "acceptedHeset.html":
|
||||
{
|
||||
qs.setCond(3);
|
||||
break;
|
||||
}
|
||||
case "acceptedBerma.html":
|
||||
{
|
||||
qs.setCond(4);
|
||||
break;
|
||||
}
|
||||
case "endquest.html":
|
||||
{
|
||||
addExpAndSp(player, 27244350, 2724435);
|
||||
giveAdena(player, 58707, true);
|
||||
giveItems(player, 17526, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
qs.exitQuest(QuestType.ONE_TIME, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
switch (npc.getId())
|
||||
{
|
||||
case TOPOI:
|
||||
{
|
||||
if (qs.isCreated())
|
||||
{
|
||||
htmltext = "start.htm";
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
htmltext = "completed.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HESET:
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "hesetCond1.html";
|
||||
}
|
||||
else if (qs.isCond(4))
|
||||
{
|
||||
htmltext = "collected.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
htmltext = "completed.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BERNA:
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "berna.html";
|
||||
}
|
||||
}
|
||||
else if (qs.isCompleted())
|
||||
{
|
||||
htmltext = "completed.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
/*
|
||||
* 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.Q10386_MysteriousJourney;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Movie;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Mysterious Journey (10386)
|
||||
* @author St3eT
|
||||
*/
|
||||
public final class Q10386_MysteriousJourney extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int TAPOY = 30499;
|
||||
private static final int HESED = 33780;
|
||||
private static final int SEAL_WATCHMAN = 33797;
|
||||
private static final int VERNA = 33796;
|
||||
// Items
|
||||
private static final int VACCINE_BOX = 36073; // Vaccine Box
|
||||
private static final int EWR = 17526; // Scroll: Enchant Weapon (R-grade)
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 93;
|
||||
|
||||
public Q10386_MysteriousJourney()
|
||||
{
|
||||
super(10386);
|
||||
addStartNpc(TAPOY);
|
||||
addTalkId(TAPOY, HESED, SEAL_WATCHMAN, VERNA);
|
||||
registerQuestItems(VACCINE_BOX);
|
||||
addCondMinLevel(MIN_LEVEL, "30499-05.htm");
|
||||
}
|
||||
|
||||
@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 "30499-02.htm":
|
||||
case "33780-02.html":
|
||||
case "33780-03.html":
|
||||
case "33797-02.html":
|
||||
case "33796-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30499-03.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
giveItems(player, VACCINE_BOX, 1);
|
||||
playMovie(player, Movie.SC_SOULISLAND_QUEST);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33780-04.html":
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
st.setCond(2, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33797-03.html":
|
||||
{
|
||||
if (st.isCond(2))
|
||||
{
|
||||
st.setCond(3, true);
|
||||
takeItems(player, VACCINE_BOX, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33796-03.html":
|
||||
{
|
||||
if (st.isCond(3))
|
||||
{
|
||||
st.setCond(4, true);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player, boolean isSimulated)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
final QuestState st = getQuestState(player, true);
|
||||
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == TAPOY)
|
||||
{
|
||||
htmltext = "30499-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case TAPOY:
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "30499-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HESED:
|
||||
{
|
||||
switch (st.getCond())
|
||||
{
|
||||
case 1:
|
||||
htmltext = "33780-01.html";
|
||||
break;
|
||||
case 2:
|
||||
htmltext = "33780-05.html";
|
||||
break;
|
||||
case 4:
|
||||
{
|
||||
if (!isSimulated)
|
||||
{
|
||||
giveAdena(player, 58_707, true);
|
||||
giveItems(player, EWR, 1);
|
||||
if (player.getLevel() >= MIN_LEVEL)
|
||||
{
|
||||
addExpAndSp(player, 27_244_350, 6_538);
|
||||
}
|
||||
st.exitQuest(false, true);
|
||||
}
|
||||
htmltext = "33780-06.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SEAL_WATCHMAN:
|
||||
{
|
||||
if (st.isCond(2))
|
||||
{
|
||||
htmltext = "33797-01.html";
|
||||
}
|
||||
else if (st.isCond(3))
|
||||
{
|
||||
htmltext = "33797-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VERNA:
|
||||
{
|
||||
if (st.isCond(3))
|
||||
{
|
||||
htmltext = "33796-01.html";
|
||||
}
|
||||
else if (st.isCond(4))
|
||||
{
|
||||
htmltext = "33796-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (npc.getId() == TAPOY)
|
||||
{
|
||||
htmltext = "30499-06.html";
|
||||
}
|
||||
else if (npc.getId() == HESED)
|
||||
{
|
||||
htmltext = "33780-07.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
<html><body>tapas:<br>
|
||||
Alas, but I do not know about that, they say that the Heceta Island shower knows something about it, but not the fact that tell you something, try something there, good luck!
|
||||
</body></html>
|
||||
@@ -1,3 +0,0 @@
|
||||
<html><body>Bern:<br>
|
||||
Go with God .. oh .. this Heceta
|
||||
</body></html>
|
||||
@@ -1,3 +0,0 @@
|
||||
<html><body>Heceta:<br>
|
||||
Bern is located at the Altar Normil, you must be met for it, so it knows everything, hehe ..
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>Bern:<br>
|
||||
Oh, let guess you sent me to this wonderful Heceta? All he knows only very few people trust you ... I know this will not ask for much, tell him to "cats come in the summer," and he will answer all your questions ..<br><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney acceptedBerma.html">"Thank you!"</button>
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>Heceta:<br>
|
||||
What people looked to us .. you want me to say something ...?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney endquest.html">"Cats come in the summer!"</button>
|
||||
</body></html>
|
||||
@@ -1,3 +0,0 @@
|
||||
<html><body>
|
||||
(Quest is already completed.)<br>
|
||||
</body></html>
|
||||
@@ -1,5 +0,0 @@
|
||||
<html><body>Heceta:<br><br>
|
||||
I agree with that ... now listen ...<br>
|
||||
<font color="LEVEL"> 30 minutes later </font><br>
|
||||
I hope everything is clear, go with God, here's a reward for what you do not tell anyone our secret word.
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>Heceta:<br>
|
||||
What? Sorry but you just tell me? You do not know ha ha! I do not quite understand, bring a translation Bernie, I beg of you and waste my precious time.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney acceptedHeset.html">"Where is she?"</button>
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>
|
||||
You have not inspire me enough confidence. I can not charge you a job. Someday you will be able to help us, but that time has not come yet.<br>
|
||||
(This quest is available after the 93th level.)
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>tapas:<br>
|
||||
No not even tell you ... come .. because you have something important to know, and it's something related to the norm! Am I right oink-oink?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10386_MysteriousJourney accepted.html">"Yes, it's awesome!"</button>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user