Minor quest 11026 improvements.

This commit is contained in:
MobiusDevelopment
2019-11-14 10:07:22 +00:00
parent e8b7bce516
commit 088d2e1f41
4 changed files with 27 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
<html><body>Tarti:<br>
He said that all of this is just a challenge for you.<br>
And then he added that only a mighty warrior like you can deal with it. And now... here you are. Strange, isn't it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11026_PathOfDestinyConviction 34505-05.html">Nod</Button>
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Tarti:<br> <html><body>Tarti:<br>
The quest can be performed by <font color="LEVEL">arteys</font> who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest <font color="LEVEL">Path of Destiny - Conviction</font>.<br> The quest can be performed by <font color="LEVEL">Ertheias</font> who have completed their second liberation, and other races who have completed their third profession. Character level must be 76! Requires completed quest <font color="LEVEL">Path of Destiny - Proving</font>.<br>
</body></html> </body></html>

View File

@@ -68,7 +68,6 @@ public class Q11026_PathOfDestinyConviction extends Quest
addFirstTalkId(KAIN_VAN_HALTER, MYSTERIOUS_MAGE); addFirstTalkId(KAIN_VAN_HALTER, MYSTERIOUS_MAGE);
addKillId(VAMPIRE_SOLDIER, VON_HELLMANN); addKillId(VAMPIRE_SOLDIER, VON_HELLMANN);
registerQuestItems(WIND_SPIRIT); registerQuestItems(WIND_SPIRIT);
addCondMinLevel(MIN_LEVEL, "34505-06.html");
addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "33963-06.html"); addCondCompletedQuest(Q11025_PathOfDestinyProving.class.getSimpleName(), "33963-06.html");
setQuestNameNpcStringId(NpcStringId.LV_40_PATH_OF_DESTINY_CONVICTION); setQuestNameNpcStringId(NpcStringId.LV_40_PATH_OF_DESTINY_CONVICTION);
} }
@@ -111,11 +110,19 @@ public class Q11026_PathOfDestinyConviction extends Quest
case "34505-03.html": case "34505-03.html":
{ {
htmltext = event; htmltext = event;
if (player.getLevel() >= 76) if (player.getLevel() >= MIN_LEVEL)
{
htmltext = "34505-04.htm";
}
break;
}
case "34505-05.html":
{
if (qs.isCond(1))
{ {
qs.setCond(2, true); qs.setCond(2, true);
htmltext = "34505-04.html";
} }
htmltext = event;
break; break;
} }
case "30289-02.html": case "30289-02.html":
@@ -169,6 +176,7 @@ public class Q11026_PathOfDestinyConviction extends Quest
{ {
player.sendPacket(ExRequestClassChangeUi.STATIC_PACKET); player.sendPacket(ExRequestClassChangeUi.STATIC_PACKET);
} }
giveStoryBuffReward(npc, player);
htmltext = event; htmltext = event;
} }
break; break;
@@ -201,13 +209,20 @@ public class Q11026_PathOfDestinyConviction extends Quest
{ {
if (qs.isCond(1)) if (qs.isCond(1))
{ {
qs.setCond(2, true); if (player.getLevel() >= MIN_LEVEL)
htmltext = "34505-04.html"; {
qs.setCond(2, true);
htmltext = "34505-05.html";
}
else
{
htmltext = "34505-06.html";
}
break; break;
} }
else if (qs.isCond(2)) else if (qs.isCond(2))
{ {
htmltext = "34505-04.html"; // TODO: Proper second talk dialog. htmltext = "34505-05.html"; // TODO: Proper second talk dialog.
break; break;
} }
else if (qs.isCond(4)) else if (qs.isCond(4))