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.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>