Proper dialogue extensions for recently committed quests.
This commit is contained in:
@@ -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;
|
||||
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
Reference in New Issue
Block a user