Improvement for quest 11025.

Contributed by Dmitri.
This commit is contained in:
MobiusDevelopment 2019-11-16 20:21:55 +00:00
parent 1387e8cf16
commit 223e306184
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,6 @@
<html><body>Mysterious Wizard:<br>
Me? Perhaps it was some other wizard passing by? There are many wizards in the world.<br>
By the way, I took the liberty of burying the dead body of the Ertheia, so please do not be angry.<br>
I will give you this to earn your trust. An item <font color="LEVEL">belonging to the dead</font>. It's as if is from another world.<br>
I like you very much. I hope to see you again.
</body></html>

View File

@ -141,10 +141,11 @@ public class Q11025_PathOfDestinyProving extends Quest
}
case "mega_menu":
{
if (qs.isCond(4))
if (qs.isCond(4) && (npc != null))
{
addSpawn(MYSTERIOUS_MAGE, npc, true, 300000);
showOnScreenMsg(player, NpcStringId.TALK_TO_THE_MYSTERIOUS_WIZARD_2, ExShowScreenMessage.TOP_CENTER, 10000);
npc.deleteMe();
break;
}
}
@ -216,6 +217,14 @@ public class Q11025_PathOfDestinyProving extends Quest
htmltext = "34505-03.html"; // TODO: Proper second talk dialog.
break;
}
else if (qs.isCond(3))
{
htmltext = "34505-03.html";
}
else if (qs.isCond(5))
{
htmltext = "34505-03.html";
}
else if (qs.isCond(6))
{
htmltext = "34505-04.html";
@ -228,6 +237,10 @@ public class Q11025_PathOfDestinyProving extends Quest
{
htmltext = "30289-01.html";
}
else if (qs.isCond(3))
{
htmltext = "30289-03.html";
}
else if (qs.isCond(5))
{
htmltext = "30289-04.html";
@ -250,7 +263,11 @@ public class Q11025_PathOfDestinyProving extends Quest
{
if (qs.isCond(4))
{
htmltext = "33980-01.html";
htmltext = "1033980-01.html";
}
else if (qs.isCond(5))
{
htmltext = "1033980-03.html";
}
break;
}