summaryrefslogtreecommitdiff
path: root/npc/017-4/guardingspirit.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-16 23:11:39 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-16 23:11:39 -0300
commitb73cecf2dd621675eeb3674423450b9b5079ee63 (patch)
tree6901aed8524ad9435ddbf646149b670c0067b054 /npc/017-4/guardingspirit.txt
parent631b221422448bcb029780b0f2e0838c33c09c4f (diff)
downloadserverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.gz
serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.bz2
serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.tar.xz
serverdata-b73cecf2dd621675eeb3674423450b9b5079ee63.zip
Migrate OrumQuest to the QuestSystem, and inheir skills on ported chars.
Diffstat (limited to 'npc/017-4/guardingspirit.txt')
-rw-r--r--npc/017-4/guardingspirit.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/017-4/guardingspirit.txt b/npc/017-4/guardingspirit.txt
index 0e5cb6b9..8a6e6293 100644
--- a/npc/017-4/guardingspirit.txt
+++ b/npc/017-4/guardingspirit.txt
@@ -3,11 +3,11 @@
goto L_Talk;
L_Talk:
- if (OrumQuest == 35)
+ if (getq(MagicQuest_DarkMage) == 35)
goto L_Block;
- if (OrumQuest < 14)
+ if (getq(MagicQuest_DarkMage) < 14)
goto L_Block;
- if (OrumQuest > 14)
+ if (getq(MagicQuest_DarkMage) > 14)
goto L_Chat;
mes "[Guarding Spirit]";
@@ -56,7 +56,7 @@ L_Pass:
mes "\"Alright, I will let you pass.\"";
next;
mes "\"Remember that when you speak with him, do so with respect for someone befitting his status.\"";
- OrumQuest = 15;
+ setq(MagicQuest_DarkMage, 15);
warp "017-4", 201, 26;
goto L_close;
@@ -86,9 +86,9 @@ L_close:
close;
OnTouch:
- if (OrumQuest < 15)
+ if (getq(MagicQuest_DarkMage) < 15)
goto L_Talk;
- if (OrumQuest == 35)
+ if (getq(MagicQuest_DarkMage) == 35)
goto L_Block;
warp "017-4", 201, 26;
end;