Proper use of isScriptValue instead of getScriptValue method.

This commit is contained in:
MobiusDevelopment
2020-01-28 00:43:54 +00:00
parent d63bf771ff
commit 3071525a9c
35 changed files with 71 additions and 71 deletions

View File

@@ -652,7 +652,7 @@ public class Q348_AnArrogantSearch extends Quest
switch (npc.getNpcId())
{
case ARK_GUARDIAN_ELBEROTH:
if (npc.getScriptValue() == 0)
if (npc.isScriptValue(0))
{
npc.broadcastNpcSay("...I feel very sorry, but I have taken your life.");
npc.setScriptValue(1);
@@ -660,7 +660,7 @@ public class Q348_AnArrogantSearch extends Quest
break;
case ARK_GUARDIAN_SHADOW_FANG:
if (npc.getScriptValue() == 0)
if (npc.isScriptValue(0))
{
npc.broadcastNpcSay("I will cover this mountain with your blood!");
npc.setScriptValue(1);
@@ -668,7 +668,7 @@ public class Q348_AnArrogantSearch extends Quest
break;
case ANGEL_KILLER:
if (npc.getScriptValue() == 0)
if (npc.isScriptValue(0))
{
npc.broadcastNpcSay("Haha.. Really amusing! As for the key, search the corpse!");
npc.setScriptValue(1);