diff options
Diffstat (limited to 'npc/guild/gldfunc_dunsw.txt')
-rw-r--r-- | npc/guild/gldfunc_dunsw.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/npc/guild/gldfunc_dunsw.txt b/npc/guild/gldfunc_dunsw.txt index 6d954c639..a23978515 100644 --- a/npc/guild/gldfunc_dunsw.txt +++ b/npc/guild/gldfunc_dunsw.txt @@ -4,7 +4,7 @@ //= jAthena - kalen (1.0) //= 1.1 by Akaru, ho|yAnge|X, and Valaris //===== Current Version: ===================================== -//= 1.2 +//= 1.3 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -16,7 +16,12 @@ //= arg(2): x1 coordinate for warp //= arg(3): y1 coordinate for warp //===== Additional Comments: ================================= -//= v1.2: All guild Dungeon Switch npcs use this function.[kobra_k88] +//= 1.2: All guild Dungeon Switch npcs use this function.[kobra_k88] +//= 1.3 Reverted back. Don't listen to ... people at forums + and check all bugs yourself! + Some not competent people try to change gld_dun -> gld_dun0 + IT is wrong, because we already supple "02","03",etc as suffix. + [Lupus] //============================================================ //================================================== @@ -30,7 +35,7 @@ function script F_GldDunSw { menu "Yes",-,"No",M_No; set @GID, GetCastleData(getarg(0)+".gat",1); - if (getcharid(2) != @GID) goto L_NotGLead; + if (@GID == 0 || getcharid(2) != @GID) goto L_NotGLead; warp "gld_dun"+getarg(1)+".gat",getarg(2),getarg(3); end; |