Proper dialogue extensions for recently committed quests.

This commit is contained in:
MobiusDev
2016-02-11 09:22:07 +00:00
parent 36ce794ee4
commit b2cafd8e2e
98 changed files with 112 additions and 116 deletions

View File

@@ -25,7 +25,7 @@ import com.l2jmobius.gameserver.network.serverpackets.ExQuestNpcLogList;
import com.l2jmobius.gameserver.util.Util;
/**
* @hlwrave
* @author hlwrave
*/
public class Q00754_AssistingTheRebelForces extends Quest
{
@@ -51,7 +51,7 @@ public class Q00754_AssistingTheRebelForces extends Quest
addStartNpc(SIZRAK);
addTalkId(SIZRAK, COMMUNICATION);
addKillId(KUNDA_GUARDIAN, KUNDA_BERSERKER, KUNDA_EXECUTOR);
addCondMinLevel(MIN_LEVEL, "sofa_sizraku_q0754_05.htm");
addCondMinLevel(MIN_LEVEL, "sofa_sizraku_q0754_05.html");
}
@Override
@@ -71,7 +71,7 @@ public class Q00754_AssistingTheRebelForces extends Quest
qs.set(Integer.toString(KUNDA_GUARDIAN), 0);
qs.set(Integer.toString(KUNDA_BERSERKER), 0);
qs.set(Integer.toString(KUNDA_EXECUTOR), 0);
htmltext = "sofa_sizraku_q0754_04.htm";
htmltext = "sofa_sizraku_q0754_04.html";
}
return htmltext;
}
@@ -92,12 +92,12 @@ public class Q00754_AssistingTheRebelForces extends Quest
}
else if (qs.isCond(0))
{
htmltext = "sofa_sizraku_q0754_03.htm";
htmltext = "sofa_sizraku_q0754_03.html";
}
else if (qs.isCond(1))
{
htmltext = "sofa_sizraku_q0754_07.htm";
htmltext = "sofa_sizraku_q0754_07.html";
}
else if (qs.isCond(2))
{
@@ -105,11 +105,11 @@ public class Q00754_AssistingTheRebelForces extends Quest
qs.giveItems(REBEL_SUPPLY_BOX, 1);
qs.giveItems(MARK_OF_RESISTANCE, 1);
qs.exitQuest(QuestType.DAILY, true);
htmltext = "sofa_sizraku_q0754_08.htm";
htmltext = "sofa_sizraku_q0754_08.html";
}
else if (qs.isCompleted())
{
htmltext = "sofa_sizraku_q0754_06.htm";
htmltext = "sofa_sizraku_q0754_06.html";
}
break;
}
@@ -121,7 +121,7 @@ public class Q00754_AssistingTheRebelForces extends Quest
qs.giveItems(REBEL_SUPPLY_BOX, 1);
qs.giveItems(MARK_OF_RESISTANCE, 1);
qs.exitQuest(QuestType.DAILY, true);
htmltext = "sofa_sizraku_q0754_08.htm";
htmltext = "sofa_sizraku_q0754_08.html";
}
break;
}

View File

@@ -1,5 +1,5 @@
<html><body>Sizrak:<br>
You must already know that we are fighting to drive <font color="LEVEL">Tauti</font> and his minions out.<br>
Have you come to help?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00754_AssistingTheRebelForces sofa_sizraku_q0754_03.htm">"I have."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00754_AssistingTheRebelForces sofa_sizraku_q0754_03.html">"I have."</button>
</body></html>

View File

@@ -23,7 +23,7 @@ import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
/**
* @hlwrave
* @author hlwrave
*/
public class Q00755_InNeedOfPetras extends Quest
{
@@ -63,7 +63,7 @@ public class Q00755_InNeedOfPetras extends Quest
addTalkId(AKU);
addKillId(MONSTERS);
registerQuestItems(PETRA);
addCondMinLevel(MIN_LEVEL, "sofa_aku_q0755_05.htm");
addCondMinLevel(MIN_LEVEL, "sofa_aku_q0755_05.html");
}
@Override
@@ -77,7 +77,7 @@ public class Q00755_InNeedOfPetras extends Quest
return getNoQuestMsg(player);
}
if (event.equals("sofa_aku_q0755_04.htm"))
if (event.equals("sofa_aku_q0755_04.html"))
{
qs.startQuest();
}
@@ -98,7 +98,7 @@ public class Q00755_InNeedOfPetras extends Quest
{
if (qs.isCond(1))
{
htmltext = "sofa_aku_q0755_07.htm";
htmltext = "sofa_aku_q0755_07.html";
}
else if (qs.isCond(2))
{
@@ -107,12 +107,12 @@ public class Q00755_InNeedOfPetras extends Quest
qs.giveItems(AKUS_SUPPLY_BOX, 1);
qs.giveItems(ENERGY_OF_DESTRUCTION, 1);
qs.exitQuest(QuestType.DAILY, true);
htmltext = "sofa_aku_q0755_08.htm";
htmltext = "sofa_aku_q0755_08.html";
}
}
else if (qs.isCompleted())
{
htmltext = "sofa_aku_q0755_06.htm";
htmltext = "sofa_aku_q0755_06.html";
}
return htmltext;

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Hmm? Oh, it's you! I'm so glad you are here. Could you collect <font color="LEVEL">Petra</font> for me again?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.htm">"Sure."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.html">"Sure."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
I'm collecting <font color="LEVEL">Petra</font> right now, and I need help. You look like you need something to do, hee! <br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.htm">"Sure, I'll help."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_03.html">"Sure, I'll help."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Hee, hat's what I like to hear! Go to <font color="LEVEL">Seed of Hellfire</font> and kill the Zofans. They carry the <font color="LEVEL">Petra</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_04.htm">"Here I go!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00755_InNeedOfPetras sofa_aku_q0755_04.html">"Here I go!"</button>
</body></html>

View File

@@ -25,7 +25,7 @@ import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
/**
* @hlwrave
* @author hlwrave
*/
public class Q00756_TopQualityPetra extends Quest
{
@@ -44,7 +44,7 @@ public class Q00756_TopQualityPetra extends Quest
addTalkId(AKU);
addItemTalkId(ZAHAK_PETRA);
registerQuestItems(TOP_QUALITY_PETRA);
addCondMinLevel(MIN_LEVEL, "sofa_aku_q0755_05.htm");
addCondMinLevel(MIN_LEVEL, "sofa_aku_q0755_05.html");
}
@Override
@@ -55,13 +55,13 @@ public class Q00756_TopQualityPetra extends Quest
switch (event)
{
case "petra_of_zahaq_q0756_03.htm":
case "petra_of_zahaq_q0756_03.html":
{
qs.startQuest();
qs.takeItems(ZAHAK_PETRA, 1);
qs.giveItems(TOP_QUALITY_PETRA, 1);
}
case "sofa_aku_q0756_02.htm":
case "sofa_aku_q0756_02.html":
{
qs.takeItems(TOP_QUALITY_PETRA, -1);
qs.addExpAndSp(570676680, 26102484);
@@ -104,7 +104,7 @@ public class Q00756_TopQualityPetra extends Quest
qs.startQuest();
qs.takeItems(ZAHAK_PETRA, 1);
qs.giveItems(TOP_QUALITY_PETRA, 1);
htmltext = "petra_of_zahaq_q0756_03.htm";
htmltext = "petra_of_zahaq_q0756_03.html";
}
else
{
@@ -122,11 +122,11 @@ public class Q00756_TopQualityPetra extends Quest
if (qs.isCond(1) && qs.hasQuestItems(TOP_QUALITY_PETRA))
{
htmltext = "sofa_aku_q0756_01.htm";
htmltext = "sofa_aku_q0756_01.html";
}
else
{
htmltext = "sofa_aku_q0756_03.htm";
htmltext = "sofa_aku_q0756_03.html";
}
return htmltext;
}

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Ooh! This Petra is delightful! Where did you get such high-quality stuff?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00756_TopQualityPetra sofa_aku_q0756_02.htm">"Uh, from the Zofans?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00756_TopQualityPetra sofa_aku_q0756_02.html">"Uh, from the Zofans?"</button>
</body></html>

View File

@@ -75,13 +75,13 @@ public class Q00757_TriolsMovement extends Quest
switch (event)
{
case "accepted.htm":
case "accepted.html":
{
qs.setCond(1);
qs.startQuest();
break;
}
case "endquest.htm":
case "endquest.html":
{
if (qs.isCond(2))
{
@@ -91,7 +91,7 @@ public class Q00757_TriolsMovement extends Quest
qs.giveItems(36232, 1);
qs.addExpAndSp(301518549, 7236360);
qs.exitQuest(QuestType.DAILY, true);
htmltext = "endquest.htm";
htmltext = "endquest.html";
}
break;
}
@@ -124,7 +124,7 @@ public class Q00757_TriolsMovement extends Quest
}
else
{
htmltext = "no_level.htm";
htmltext = "no_level.html";
}
break;
}
@@ -132,11 +132,11 @@ public class Q00757_TriolsMovement extends Quest
{
if (qs.isCond(1))
{
htmltext = "notcollected.htm";
htmltext = "notcollected.htmll";
}
else if (qs.isCond(2))
{
htmltext = "collected.htm";
htmltext = "collected.html";
}
break;
}

View File

@@ -1,5 +1,5 @@
<html><body>Sec:<br>
I can see how theirs are shining precious totems!<br>
Show that even brought?<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00757_TriolsMovement endquest.htm">"Show"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00757_TriolsMovement endquest.html">"Show"</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sec:<br>
We would never have thought that the triplets can multiply so fast, according to our research theirs number exceeds the norm by 389 percent!<br>
You are here that would stop this growth?<br><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00757_TriolsMovement accepted.htm">"Yes, I'm the one who need it!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00757_TriolsMovement accepted.html">"Yes, I'm the one who need it!"</button>
</body></html>

View File

@@ -23,7 +23,7 @@ import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
/**
* @hlwrave
* @author hlwrave
*/
public class Q10381_ToTheSeedOfHellfire extends Quest
{
@@ -42,7 +42,7 @@ public class Q10381_ToTheSeedOfHellfire extends Quest
addStartNpc(KEUCEREUS);
addTalkId(KEUCEREUS, KBALDIR, SIZRAK);
registerQuestItems(KBALDIRS_LETTER);
addCondMinLevel(MIN_LEVEL, "kserth_q10381_04.htm");
addCondMinLevel(MIN_LEVEL, "kserth_q10381_04.html");
}
@Override
@@ -57,18 +57,18 @@ public class Q10381_ToTheSeedOfHellfire extends Quest
switch (event)
{
case "kserth_q10381_03.htm":
case "kserth_q10381_03.html":
{
qs.startQuest();
break;
}
case "kbarldire_q10381_03.htm":
case "kbarldire_q10381_03.html":
{
qs.setCond(2);
qs.giveItems(KBALDIRS_LETTER, 1);
break;
}
case "sofa_sizraku_q10381_03.htm":
case "sofa_sizraku_q10381_03.html":
{
qs.takeItems(KBALDIRS_LETTER, -1);
qs.addExpAndSp(951127800, 435041400);
@@ -96,12 +96,12 @@ public class Q10381_ToTheSeedOfHellfire extends Quest
}
else if (qs.isStarted())
{
htmltext = "kserth_q10381_06.htm";
htmltext = "kserth_q10381_06.html";
}
else if (qs.isCompleted())
{
htmltext = "kserth_q10381_05.htm";
htmltext = "kserth_q10381_05.html";
}
break;
}
@@ -109,11 +109,11 @@ public class Q10381_ToTheSeedOfHellfire extends Quest
{
if (qs.isCond(1))
{
htmltext = "kbarldire_q10381_01.htm";
htmltext = "kbarldire_q10381_01.html";
}
else if (qs.isCond(2))
{
htmltext = "kbarldire_q10381_04.htm";
htmltext = "kbarldire_q10381_04.html";
}
break;
}
@@ -121,7 +121,7 @@ public class Q10381_ToTheSeedOfHellfire extends Quest
{
if (qs.isCond(2))
{
htmltext = "sofa_sizraku_q10381_01.htm";
htmltext = "sofa_sizraku_q10381_01.html";
}
break;
}

View File

@@ -1,4 +1,4 @@
<html><body>Commander Kbaldir:<br>
It's you! I've been waiting for you. Right now the insurgent force is secretly working in the <font color="LEVEL">Seed of Hellfire</font>. But they could use your help, if you were willing to give it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kbarldire_q10381_02.htm">"Always."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kbarldire_q10381_02.html">"Always."</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Commander Kbaldir:<br>
Alright!<br>
To get to the <font color="LEVEL">Seed of Hellfire</font>, use a <font color="LEVEL">Flight Device</font>. The nearest <font color="LEVEL">device</font> can be found <font color="LEVEL">by following the road behind me and turning left</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kbarldire_q10381_03.htm">"Got it."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kbarldire_q10381_03.html">"Got it."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Admiral Keucereus:<br>
Well answered! Go and see <font color="LEVEL">Commander Kbaldir</font>. He will not only tell you how to go to the <font color="LEVEL">Seed of Hellfire</font>, but also briefly tell you about the situation over there.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kserth_q10381_03.htm">"I understand."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire kserth_q10381_03.html">"I understand."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sizrak:<br>
Hmm? Do I know you? I'm sorry, I'm busy here and I don't have time for conversation. What? <font color="LEVEL">Keucereus Alliance Base</font> sent you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire sofa_sizraku_q10381_02.htm">"I have a letter from Kbaldir."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire sofa_sizraku_q10381_02.html">"I have a letter from Kbaldir."</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Sizrak:<br>
Do you mind waiting while I read it?<br>
To be honest, I didn't expect <font color="LEVEL">Keucereus Alliance Base</font> to respond to my request for help. Did you come alone?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire sofa_sizraku_q10381_03.htm">"I am just the vanguard."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10381_ToTheSeedOfHellfire sofa_sizraku_q10381_03.html">"I am just the vanguard."</button>
</body></html>

View File

@@ -21,13 +21,12 @@ 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.network.serverpackets.ExQuestNpcLogList;
import com.l2jmobius.gameserver.util.Util;
import quests.Q10381_ToTheSeedOfHellfire.Q10381_ToTheSeedOfHellfire;
/**
* @hlwrave
* @author hlwrave
*/
public class Q10382_DayOfLiberation extends Quest
{
@@ -45,8 +44,8 @@ public class Q10382_DayOfLiberation extends Quest
addStartNpc(SIZRAK);
addTalkId(SIZRAK);
addKillId(TAUTI);
addCondMinLevel(MIN_LEVEL, "sofa_sizraku_q10382_04.htm");
addCondCompletedQuest(Q10381_ToTheSeedOfHellfire.class.getSimpleName(), "sofa_sizraku_q10382_05.htm");
addCondMinLevel(MIN_LEVEL, "sofa_sizraku_q10382_04.html");
addCondCompletedQuest(Q10381_ToTheSeedOfHellfire.class.getSimpleName(), "sofa_sizraku_q10382_05.html");
}
@Override
@@ -61,14 +60,13 @@ public class Q10382_DayOfLiberation extends Quest
switch (event)
{
case "sofa_sizraku_q10382_03.htm":
case "sofa_sizraku_q10382_03.html":
{
qs.setCond(1);
qs.startQuest();
qs.set(Integer.toString(TAUTI), 0);
break;
}
case "sofa_sizraku_q10382_10.htm":
case "sofa_sizraku_q10382_10.html":
{
qs.addExpAndSp(951127800, 435041400);
qs.giveItems(57, 3256740);
@@ -98,16 +96,16 @@ public class Q10382_DayOfLiberation extends Quest
{
if (qs.isCond(1))
{
htmltext = "sofa_sizraku_q10382_07.htm";
htmltext = "sofa_sizraku_q10382_07.html";
}
else if (qs.isCond(2))
{
htmltext = "sofa_sizraku_q10382_08.htm";
htmltext = "sofa_sizraku_q10382_08.html";
}
}
else if (qs.isCompleted())
{
htmltext = "sofa_sizraku_q10382_06.htm";
htmltext = "sofa_sizraku_q10382_06.html";
}
break;
}

View File

@@ -1,4 +1,4 @@
<html><body>Sizrak:<br>
Good! I will send out the orders. You rally your people--if they exist--and collect <font color="LEVEL">Mark of the Resistance</font>. You'll need them to get into the <font color="LEVEL">Temple of Tauti</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10382_DayOfLiberation sofa_sizraku_q10382_03.htm">"I got it."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10382_DayOfLiberation sofa_sizraku_q10382_03.html">"I got it."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sizrak:<br>
<font color="LEVEL">Tauti</font> is on the run! You are our savior!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10382_DayOfLiberation sofa_sizraku_q10382_09.htm">"How did your men fare?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10382_DayOfLiberation sofa_sizraku_q10382_09.html">"How did your men fare?"</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sizrak:<br>
Many lives were lost, but their sacrifice was not in vain.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10382_DayOfLiberation sofa_sizraku_q10382_10.htm">"Indeed, it was not."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10382_DayOfLiberation sofa_sizraku_q10382_10.html">"Indeed, it was not."</button>
</body></html>

View File

@@ -25,7 +25,7 @@ import com.l2jmobius.gameserver.model.quest.QuestState;
import quests.Q10381_ToTheSeedOfHellfire.Q10381_ToTheSeedOfHellfire;
/**
* @hlwrave
* @author hlwrave
*/
public class Q10383_FergasonsOffer extends Quest
{
@@ -56,8 +56,8 @@ public class Q10383_FergasonsOffer extends Quest
addTalkId(SIZRAK, AKU, FERGASON);
addKillId(MONSTERS);
registerQuestItems(UNSTABLE_PETRA);
addCondMinLevel(MIN_LEVEL, "sofa_sizraku_q10383_04.htm");
addCondCompletedQuest(Q10381_ToTheSeedOfHellfire.class.getSimpleName(), "sofa_sizraku_q10383_07.htm");
addCondMinLevel(MIN_LEVEL, "sofa_sizraku_q10383_04.html");
addCondCompletedQuest(Q10381_ToTheSeedOfHellfire.class.getSimpleName(), "sofa_sizraku_q10383_07.html");
}
@Override
@@ -73,17 +73,17 @@ public class Q10383_FergasonsOffer extends Quest
switch (event)
{
case "sofa_sizraku_q10383_03.htm":
case "sofa_sizraku_q10383_03.html":
{
qs.startQuest();
break;
}
case "maestro_ferguson_q10383_04.htm":
case "maestro_ferguson_q10383_04.html":
{
qs.setCond(2);
break;
}
case "sofa_aku_q10383_03.htm":
case "sofa_aku_q10383_03.html":
{
qs.takeItems(UNSTABLE_PETRA, -1L);
qs.addExpAndSp(951127800, 435041400);
@@ -111,11 +111,11 @@ public class Q10383_FergasonsOffer extends Quest
}
else if (qs.isStarted())
{
htmltext = "sofa_sizraku_q10383_06.htm";
htmltext = "sofa_sizraku_q10383_06.html";
}
else if (qs.isCompleted())
{
htmltext = "sofa_sizraku_q10383_05.htm";
htmltext = "sofa_sizraku_q10383_05.html";
}
break;
}
@@ -123,11 +123,11 @@ public class Q10383_FergasonsOffer extends Quest
{
if (qs.isCond(1))
{
htmltext = "maestro_ferguson_q10383_01.htm";
htmltext = "maestro_ferguson_q10383_01.html";
}
else if (qs.isCond(2))
{
htmltext = "maestro_ferguson_q10383_05.htm";
htmltext = "maestro_ferguson_q10383_05.html";
}
break;
@@ -136,11 +136,11 @@ public class Q10383_FergasonsOffer extends Quest
{
if (qs.isCond(1))
{
htmltext = "sofa_aku_q10383_01.htm";
htmltext = "sofa_aku_q10383_01.html";
}
else if (qs.isCond(3))
{
htmltext = "sofa_aku_q10383_02.htm";
htmltext = "sofa_aku_q10383_02.html";
}
break;

View File

@@ -1,4 +1,4 @@
<html><body>Fergason:<br>
You're the outsider that <font color="LEVEL">Sizrak</font> was talking about. It's good to meet you. My name is <font color="LEVEL">Fergason</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer maestro_ferguson_q10383_02.htm">"Why are you here?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer maestro_ferguson_q10383_02.html">"Why are you here?"</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Fergason:<br>
I came here because I heard the rumor about <font color="LEVEL">Tauti</font> living here. I'm not sure if you know, but <font color="LEVEL">Tauti</font> is one of <font color="LEVEL">Bremnon's</font> weapons, and a brother to <font color="LEVEL">Demonic Sword Zariche</font>. <br>
To catch a glimpse of such a creature... not many have that honor.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer maestro_ferguson_q10383_03.htm">"Can you actually help with this quest?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer maestro_ferguson_q10383_03.html">"Can you actually help with this quest?"</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Fergason:<br>
Yes! Of course! What you need to do is collect <font color="LEVEL">Petra</font> and deliver them to <font color="LEVEL">Aku</font>.<br>
<font color="LEVEL">Petra</font> is a biological energy that emanates from <font color="LEVEL">Zofan</font>, found in the <font color="LEVEL">Seed of Hellfire</font>. <font color="LEVEL">Aku</font> is collecting them, and if you help him, he will arrange a meeting with <font color="LEVEL">Tauti</font>.What do you think? Will you try?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer maestro_ferguson_q10383_04.htm">"Uh. Sure."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer maestro_ferguson_q10383_04.html">"Uh. Sure."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Hee, this <font color="LEVEL">Petra</font> is all you could find? And what? You want to see <font color="LEVEL">Lord Tauti</font>? Dingbat!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer sofa_aku_q10383_03.htm">"Wait, that's not fair!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer sofa_aku_q10383_03.html">"Wait, that's not fair!"</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Sizrak:<br>
He's an outsider, like you, who's given us help He has forged our weapon and refused our pay. He is a true comrade! Go to him.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer sofa_sizraku_q10383_03.htm">"I think I might."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10383_FergasonsOffer sofa_sizraku_q10383_03.html">"I think I might."</button>
</body></html>

View File

@@ -25,7 +25,7 @@ import com.l2jmobius.gameserver.model.quest.QuestState;
import quests.Q10383_FergasonsOffer.Q10383_FergasonsOffer;
/**
* @hlwrave
* @author hlwrave
*/
public class Q10384_AnAudienceWithTauti extends Quest
{
@@ -47,8 +47,8 @@ public class Q10384_AnAudienceWithTauti extends Quest
addTalkId(FERGASON, AKU);
addKillId(TAUTI);
registerQuestItems(TAUTIS_FRAGMENT);
addCondMinLevel(MIN_LEVEL, "maestro_ferguson_q10384_05.htm");
addCondCompletedQuest(Q10383_FergasonsOffer.class.getSimpleName(), "maestro_ferguson_q10384_06.htm");
addCondMinLevel(MIN_LEVEL, "maestro_ferguson_q10384_05.html");
addCondCompletedQuest(Q10383_FergasonsOffer.class.getSimpleName(), "maestro_ferguson_q10384_06.html");
}
@@ -65,17 +65,17 @@ public class Q10384_AnAudienceWithTauti extends Quest
switch (event)
{
case "maestro_ferguson_q10384_04.htm":
case "maestro_ferguson_q10384_04.html":
{
qs.startQuest();
break;
}
case "sofa_aku_q10384_02.htm":
case "sofa_aku_q10384_02.html":
{
qs.setCond(2);
break;
}
case "maestro_ferguson_q10384_11.htm":
case "maestro_ferguson_q10384_11.html":
{
qs.addExpAndSp(951127800, 435041400);
qs.giveItems(57, 3256740);
@@ -105,17 +105,17 @@ public class Q10384_AnAudienceWithTauti extends Quest
{
if (qs.isCond(1) || qs.isCond(2))
{
htmltext = "maestro_ferguson_q10384_08.htm";
htmltext = "maestro_ferguson_q10384_08.html";
}
else if (qs.isCond(3) && qs.hasQuestItems(TAUTIS_FRAGMENT))
{
htmltext = "maestro_ferguson_q10384_09.htm";
htmltext = "maestro_ferguson_q10384_09.html";
}
}
else if (qs.isCompleted())
{
htmltext = "maestro_ferguson_q10384_07.htm";
htmltext = "maestro_ferguson_q10384_07.html";
}
break;
}
@@ -123,7 +123,7 @@ public class Q10384_AnAudienceWithTauti extends Quest
{
if (qs.isStarted())
{
htmltext = "sofa_aku_q10384_01.htm";
htmltext = "sofa_aku_q10384_01.html";
}
break;
}

View File

@@ -1,4 +1,4 @@
<html><body>Ferguson:<br>
Well then, if you do meet <font color="LEVEL">Tauti</font>, please bring me <font color="LEVEL">1</font> of <font color="LEVEL">Tauti's Fragment</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti maestro_ferguson_q10384_04.htm">"No problem!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti maestro_ferguson_q10384_04.html">"No problem!"</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Ferguson:<br>
Hahaha! Finally I get the <font color="LEVEL">Tauti's Fragment</font>!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti maestro_ferguson_q10384_10.htm">"What are you going to do with it?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti maestro_ferguson_q10384_10.html">"What are you going to do with it?"</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Fergason:<br>
Create the greatest weapon ever made, that's what! These are not simple weapons, but actual living organisms! I have been searching through <font color="LEVEL">Aden</font> for years now, looking for materials like these <font color="LEVEL">Tauti's Fragments</font>! And finally, I have one!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti maestro_ferguson_q10384_11.htm">"You should... sleep a bit."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti maestro_ferguson_q10384_11.html">"You should... sleep a bit."</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Aku:<br>
Oh, you want to see <font color="LEVEL">Lord Tauti</font>? Hee, okay, I will give you the chance. <font color="LEVEL">Lord Tauti</font> seemed to be interested in you too, after all those <font color="LEVEL">Petras.</font><br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti sofa_aku_q10384_02.htm">"Send me, please!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10384_AnAudienceWithTauti sofa_aku_q10384_02.html">"Send me, please!"</button>
</body></html>

View File

@@ -55,24 +55,23 @@ public class Q10388_ConspiracyBehindDoor extends Quest
switch (event)
{
case "go.htm":
case "go.html":
{
qs.setCond(1);
qs.startQuest();
break;
}
case "toCond2.htm":
case "toCond2.html":
{
qs.setCond(2);
break;
}
case "toCond3.htm":
case "toCond3.html":
{
qs.setCond(3);
qs.giveItems(VISITORS_BADGE, 1);
break;
}
case "final.htm":
case "final.html":
{
qs.addExpAndSp(29638350, 2963835);
qs.exitQuest(false, true);
@@ -110,7 +109,7 @@ public class Q10388_ConspiracyBehindDoor extends Quest
}
else
{
htmltext = "nolvl.htm";
htmltext = "nolvl.html";
}
}
break;
@@ -123,7 +122,7 @@ public class Q10388_ConspiracyBehindDoor extends Quest
{
if (qs.isCond(1))
{
htmltext = "cond1.htm";
htmltext = "cond1.html";
}
break;
}
@@ -131,7 +130,7 @@ public class Q10388_ConspiracyBehindDoor extends Quest
{
if (qs.isCond(2))
{
htmltext = "cond2.htm";
htmltext = "cond2.html";
}
break;
}
@@ -139,7 +138,7 @@ public class Q10388_ConspiracyBehindDoor extends Quest
{
if (qs.isCond(3))
{
htmltext = "cond3.htm";
htmltext = "cond3.html";
}
break;
}

View File

@@ -2,5 +2,5 @@
Sir , nice to see you, I see you with a message from our good priest.
What then if you are willing to learn of a secret conspiracy , you have to talk to the Costumed Knight Hichen find it will not be easy , he secretly investigating this conspiracy in the Temple of the Pagans.
I hope that he will have good news for you!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor toCond2.htm">"I still know him!!!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor toCond2.html">"I still know him!!!"</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Hichen:<br>
Quiet...! I learned something... outside the door is a new evil that must win our glorious world... Unfortunately I can not say anything more yasnoe..ne dolgo..na stand here we can watch..
Go to undress... not long ago he sent me a spy... said that he learned something over a secret... it go immediately.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor toCond3.htm">"Thank you!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor toCond3.html">"Thank you!"</button>
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Radzen:<br>
Do not be afraid , come near... I see what you come up with questions... but I will have one and you.
You would not find me without the help Hichen, it happens nothing handed?!!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor final.htm">"Tell about a strange message..."</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor final.html">"Tell about a strange message..."</button>
</body></html>

View File

@@ -3,5 +3,5 @@ Oh, my eyes let me down? It is you? About who says it? Those who will save the w
Of course, not all at once.. first we must learn that hides from us the evil of those same doors!<br>
And you do not know about this?! <br>
Go and have a talk with the Chief Kargos Knight and he will enlighten your not knowing!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor go.htm">"I think yes!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10388_ConspiracyBehindDoor go.html">"I think yes!"</button>
</body></html>

View File

@@ -49,7 +49,7 @@ public class Q10389_TheVoiceOfAuthority extends Quest
public Q10389_TheVoiceOfAuthority()
{
super(10389, Q10389_TheVoiceOfAuthority.class.getSimpleName(), "The Voice Of Authority");
addCondCompletedQuest(Q10388_ConspiracyBehindDoor.class.getSimpleName(), "no_quest.htm");
addCondCompletedQuest(Q10388_ConspiracyBehindDoor.class.getSimpleName(), "no_quest.html");
addStartNpc(RADZEN);
addTalkId(RADZEN);
addKillId(MOB_1, MOB_2, MOB_3, MOB_4, MOB_5, MOB_6, MOB_7, MOB_8, MOB_9, MOB_10);
@@ -68,9 +68,8 @@ public class Q10389_TheVoiceOfAuthority extends Quest
switch (event)
{
case "accepted.htm":
case "accepted.html":
{
qs.setCond(1);
qs.startQuest();
qs.set(Integer.toString(MOB_1), 0);
qs.set(Integer.toString(MOB_2), 0);
@@ -84,13 +83,13 @@ public class Q10389_TheVoiceOfAuthority extends Quest
qs.set(Integer.toString(MOB_10), 0);
break;
}
case "endquest.htm":
case "endquest.html":
{
qs.giveItems(57, 1302720);
qs.giveItems(8067, 1);
qs.addExpAndSp(592767000, 142264);
qs.exitQuest(false, true);
htmltext = "endquest.htm";
htmltext = "endquest.html";
break;
}
}
@@ -122,7 +121,7 @@ public class Q10389_TheVoiceOfAuthority extends Quest
}
else
{
htmltext = "no_level.htm";
htmltext = "no_level.html";
}
break;
}
@@ -130,11 +129,11 @@ public class Q10389_TheVoiceOfAuthority extends Quest
{
if (qs.isCond(1))
{
htmltext = "notcollected.htm";
htmltext = "notcollected.html";
}
else if (qs.isCond(2))
{
htmltext = "collected.htm";
htmltext = "collected.html";
}
break;
}

View File

@@ -1,4 +1,4 @@
<html><body>Radzi:<br>
Quickly you're done, I'm happy.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10389_TheVoiceOfAuthority endquest.htm">"What's next?"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10389_TheVoiceOfAuthority endquest.html">"What's next?"</button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Radzi:<br>
You are not a bad try, but to get to this temple is not so simple. You have not shown us that you are really true to us. I am giving you a chance to prove their loyalty, are you ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10389_TheVoiceOfAuthority accepted.htm">"Yes, I'm ready!"</button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10389_TheVoiceOfAuthority accepted.html">"Yes, I'm ready!"</button>
</body></html>