Delete Mysterious Wizard when teleporting back to Raymond.

This commit is contained in:
MobiusDevelopment 2020-12-15 04:45:21 +00:00
parent 12a67bf907
commit 4243e3a284
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
<html><body>Mysterious Wizard:<br>
The deaths of your companions must have been shocking for you. I thought it was strange that Skeletons were appearing near the town.<br>
Please let your guard down. I'm just a <font color="LEVEL">wizard passing by</font>.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q11025_PathOfDestinyProving 33980-02.html">Didn't you pass by last time too?</Button>
</body></html>

View File

@ -338,12 +338,13 @@ public class Q11025_PathOfDestinyProving extends Quest
}
case "BacktoRaymond":
{
if (qs.isCond(13))
if (qs.isCond(13) && (npc != null))
{
qs.setCond(14, true);
showOnScreenMsg(player, NpcStringId.RETURN_TO_RAYMOND_OF_THE_TOWN_OF_GLUDIO, ExShowScreenMessage.TOP_CENTER, 10000);
giveItems(player, WIND_SPIRIT_REALM_RELIC, 1);
player.teleToLocation(TRAINING_GROUNDS_TELEPORT5);
npc.deleteMe();
}
break;
}