From 581475bc6416790765c498aa3d611f6868ffb64a Mon Sep 17 00:00:00 2001 From: amber Date: Sun, 14 Nov 2004 16:18:26 +0000 Subject: Fixed some file types git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/guild/gldfunc_dunsw.txt | 84 ++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 42 deletions(-) (limited to 'npc/guild/gldfunc_dunsw.txt') diff --git a/npc/guild/gldfunc_dunsw.txt b/npc/guild/gldfunc_dunsw.txt index ebcda54fa..6d954c639 100644 --- a/npc/guild/gldfunc_dunsw.txt +++ b/npc/guild/gldfunc_dunsw.txt @@ -1,42 +1,42 @@ -//===== eAthena Script ======================================= -//= War of Emperium Guild Dungeon Switch Function -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.2 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Switch that warps guild members to guild dungeon. -//========================================== -//= Break down of arguments used in the function: -//= arg(0): name of guild castle. -//= arg(1): guild dungeon level. -//= 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] -//============================================================ - -//================================================== -function script F_GldDunSw { - - mes "[ Mysterious Voice ]"; - mes " ' Only brave warriors may lead the guild base.. '"; - next; - mes "(There is little switch over here....... Would you like to pull the switch?)"; - next; - menu "Yes",-,"No",M_No; - - set @GID, GetCastleData(getarg(0)+".gat",1); - if (getcharid(2) != @GID) goto L_NotGLead; - warp "gld_dun"+getarg(1)+".gat",getarg(2),getarg(3); - end; - - L_NotGLead: - mes "[ Mysterious Voice ]"; - mes " ' ..... it seems that you are not brave enough...... ' "; - M_No: - return; -} +//===== eAthena Script ======================================= +//= War of Emperium Guild Dungeon Switch Function +//===== By: ================================================== +//= jAthena - kalen (1.0) +//= 1.1 by Akaru, ho|yAnge|X, and Valaris +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Switch that warps guild members to guild dungeon. +//========================================== +//= Break down of arguments used in the function: +//= arg(0): name of guild castle. +//= arg(1): guild dungeon level. +//= 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] +//============================================================ + +//================================================== +function script F_GldDunSw { + + mes "[ Mysterious Voice ]"; + mes " ' Only brave warriors may lead the guild base.. '"; + next; + mes "(There is little switch over here....... Would you like to pull the switch?)"; + next; + menu "Yes",-,"No",M_No; + + set @GID, GetCastleData(getarg(0)+".gat",1); + if (getcharid(2) != @GID) goto L_NotGLead; + warp "gld_dun"+getarg(1)+".gat",getarg(2),getarg(3); + end; + + L_NotGLead: + mes "[ Mysterious Voice ]"; + mes " ' ..... it seems that you are not brave enough...... ' "; + M_No: + return; +} -- cgit v1.2.3-60-g2f50