Fixed showing rewards for Expulsion of Evil Spirits (311).

This commit is contained in:
MobiusDevelopment 2019-12-12 00:36:20 +00:00
parent 06452e87ea
commit fb7cab64bb
4 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>32655</npc> <!-- Chairen -->
</npcs>
<item>
<!-- Ragna Orc's Amulet -->
<ingredient count="326" id="14882" />

View File

@ -163,7 +163,7 @@ public class Q00311_ExpulsionOfEvilSpirits extends Quest
}
else if (qs.isStarted())
{
htmltext = !hasQuestItems(player, SOUL_CORE_CONTAINING_EVIL_SPIRIT, RAGNA_ORCS_AMULET) ? "32655-05.html" : "32655-06.html";
htmltext = hasAtLeastOneQuestItem(player, RAGNA_ORCS_AMULET, SOUL_CORE_CONTAINING_EVIL_SPIRIT) ? "32655-06.html" : "32655-05.html";
}
return htmltext;
}

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/multisell.xsd">
<npcs>
<npc>32655</npc> <!-- Chairen -->
</npcs>
<item>
<!-- Ragna Orc's Amulet -->
<ingredient count="326" id="14882" />

View File

@ -163,7 +163,7 @@ public class Q00311_ExpulsionOfEvilSpirits extends Quest
}
else if (qs.isStarted())
{
htmltext = !hasQuestItems(player, SOUL_CORE_CONTAINING_EVIL_SPIRIT, RAGNA_ORCS_AMULET) ? "32655-05.html" : "32655-06.html";
htmltext = hasAtLeastOneQuestItem(player, RAGNA_ORCS_AMULET, SOUL_CORE_CONTAINING_EVIL_SPIRIT) ? "32655-06.html" : "32655-05.html";
}
return htmltext;
}