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