summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-07-12 10:48:05 -0500
committerwushin <pasekei@gmail.com>2014-07-12 10:49:47 -0500
commit320085e83bdaf1d79c55ffe18a0bf4d49950fafb (patch)
treec2cc1c3614356092802eb0fd72dc0a5db5db01a9 /world/map/npc
parenta3f589a47c5f32cfe42316608da367792cadda1f (diff)
downloadserverdata-320085e83bdaf1d79c55ffe18a0bf4d49950fafb.tar.gz
serverdata-320085e83bdaf1d79c55ffe18a0bf4d49950fafb.tar.bz2
serverdata-320085e83bdaf1d79c55ffe18a0bf4d49950fafb.tar.xz
serverdata-320085e83bdaf1d79c55ffe18a0bf4d49950fafb.zip
Illia Fix
Attachrid drops @local_vars Thus @illia_min_level was 0 for Helpers it's now $@illia_min_level
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/007-1/witch.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/world/map/npc/007-1/witch.txt b/world/map/npc/007-1/witch.txt
index b98b27e2..cd1ea5dd 100644
--- a/world/map/npc/007-1/witch.txt
+++ b/world/map/npc/007-1/witch.txt
@@ -21,7 +21,7 @@
set @illia_iron_powder, 13;
set @illia_yeti_tear, 1;
set @illia_iced_water, 4;
- set @illia_min_level, 90;
+ set $@illia_min_level, 90;
if (getgmlevel() >= 40 && getequipid(equip_head) == 647 && (strcharinfo(0) == "AdminJen" || strcharinfo(0) == "V0id"))
goto L_DeveloperBoard;
@@ -249,7 +249,7 @@ L_ChooseHelper1:
if (isloggedin(getcharid(3, $@ILLIA_HELPER1$)) == 0)
goto L_HelperDoesNotExist1;
attachrid(getcharid(3, $@ILLIA_HELPER1$));
- if (BaseLevel < @illia_min_level)
+ if (BaseLevel < $@illia_min_level)
goto L_HelperTooWeak1;
set $@ILLIA_HELPER1$, strcharinfo(0);
detachrid;
@@ -299,7 +299,7 @@ L_ChooseHelper2:
if (isloggedin(getcharid(3, $@ILLIA_HELPER2$)) == 0)
goto L_HelperDoesNotExist2;
attachrid(getcharid(3, $@ILLIA_HELPER2$));
- if (BaseLevel < @illia_min_level)
+ if (BaseLevel < $@illia_min_level)
goto L_HelperTooWeak2;
set $@ILLIA_HELPER2$, strcharinfo(0);
detachrid;
@@ -350,7 +350,7 @@ L_ChooseHelper3:
if (isloggedin(getcharid(3, $@ILLIA_HELPER3$)) == 0)
goto L_HelperDoesNotExist3;
attachrid(getcharid(3, $@ILLIA_HELPER3$));
- if (BaseLevel < @illia_min_level)
+ if (BaseLevel < $@illia_min_level)
goto L_HelperTooWeak3;
set $@ILLIA_HELPER3$, strcharinfo(0);
detachrid;