From 46f6675406e553490b40413f9e687c47c3f0bbc7 Mon Sep 17 00:00:00 2001 From: Vincent Petithory Date: Sat, 22 Dec 2012 19:03:12 +0100 Subject: Illia: prevent players to not be teleported if there was a case mistake in their name --- world/map/npc/007-1/witch.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'world/map/npc/007-1') 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; -- cgit v1.2.3-60-g2f50