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

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