summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorVincent Petithory <vincent.petithory@gmail.com>2012-12-22 19:03:12 +0100
committerVincent Petithory <vincent.petithory@gmail.com>2012-12-22 20:35:36 +0100
commit46f6675406e553490b40413f9e687c47c3f0bbc7 (patch)
tree77f81533d8b0dad97df6f6ce6980d5bd6cb17001 /world/map
parenta73829b2f96d80abe74480762e20b41908b22545 (diff)
downloadserverdata-46f6675406e553490b40413f9e687c47c3f0bbc7.tar.gz
serverdata-46f6675406e553490b40413f9e687c47c3f0bbc7.tar.bz2
serverdata-46f6675406e553490b40413f9e687c47c3f0bbc7.tar.xz
serverdata-46f6675406e553490b40413f9e687c47c3f0bbc7.zip
Illia: prevent players to not be teleported if there was a case mistake in their name
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/007-1/witch.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/world/map/npc/007-1/witch.txt b/world/map/npc/007-1/witch.txt
index ed5b31f1..f5caad0a 100644
--- a/world/map/npc/007-1/witch.txt
+++ b/world/map/npc/007-1/witch.txt
@@ -256,6 +256,7 @@ L_ChooseHelper1:
attachrid(getcharid(3, $@ILLIA_HELPER1$));
if (BaseLevel < @illia_min_level)
goto L_HelperTooWeak1;
+ set $@ILLIA_HELPER1$, strcharinfo(0);
detachrid;
if (isloggedin($@ILLIA_HERO_ID) == 0)
goto L_Exit;
@@ -305,6 +306,7 @@ L_ChooseHelper2:
attachrid(getcharid(3, $@ILLIA_HELPER2$));
if (BaseLevel < @illia_min_level)
goto L_HelperTooWeak2;
+ set $@ILLIA_HELPER2$, strcharinfo(0);
detachrid;
if (isloggedin($@ILLIA_HERO_ID) == 0)
goto L_Exit;
@@ -355,6 +357,7 @@ L_ChooseHelper3:
attachrid(getcharid(3, $@ILLIA_HELPER3$));
if (BaseLevel < @illia_min_level)
goto L_HelperTooWeak3;
+ set $@ILLIA_HELPER3$, strcharinfo(0);
detachrid;
if (isloggedin($@ILLIA_HERO_ID) == 0)
goto L_Exit;