diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-05 11:34:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-09 14:33:41 +0300 |
commit | 7c2407a738adce17b1ee61cae8b705f002b14656 (patch) | |
tree | 27d856a86bfe9d76edfab9759acf9240658e6bd8 /npc/events/nguild/nguild_kafras.txt | |
parent | ad2413527a2204cf434226e62c9c8245025c0253 (diff) | |
download | hercules-7c2407a738adce17b1ee61cae8b705f002b14656.tar.gz hercules-7c2407a738adce17b1ee61cae8b705f002b14656.tar.bz2 hercules-7c2407a738adce17b1ee61cae8b705f002b14656.tar.xz hercules-7c2407a738adce17b1ee61cae8b705f002b14656.zip |
Remove conf dir.
Diffstat (limited to 'npc/events/nguild/nguild_kafras.txt')
-rw-r--r-- | npc/events/nguild/nguild_kafras.txt | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/npc/events/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt deleted file mode 100644 index 89570fe6d..000000000 --- a/npc/events/nguild/nguild_kafras.txt +++ /dev/null @@ -1,69 +0,0 @@ -//===== Hercules Script ====================================== -//= War of Emperium Kafras for N Guild Castles -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.2 -//===== Description: ========================================= -//= Provides Kafra services for guild members of NGuild Castles. -//= Used in conjuction with function F_Kafra. -//===== Additional Comments: ================================= -//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -//= 1.1 All N Guild Kafras teleport to Prontera only! [Lupus] -//= 1.2 Added Kafra function. [L0ne_W0lf] -//============================================================ - - -function script F_GKafra { - cutin "kafra_01",2; - @GID = getcastledata(getarg(0),1); - if (getcharid(2) == @GID && getgdskilllv(@GID,10001)) goto L_StartG; - - mes "[Kafra Service]"; - mes "I am contracted to provide service only for the ^ff0000" + getguildname(@GID) + "^000000 Guild. Please use another Kafra Corporation staff member around here. I am Sorry for your inconvenience."; - cutin "",255; - close; -L_StartG: - @wrpP[0] = 200; - @wrpD$[0] = getarg(1); - setarray @wrpC$[0], @wrpD$[0]+" ^880000"+@wrpP[0]+"^000000 z", "Cancel", "", "", "",""; - callfunc "F_Kafra",2,0,0,0,800; - end; -} - -// Castle 1 =============================================== -nguild_alde,218,170,0 script Kafra Service#N01 4_F_KAFRA1,{ - callfunc "F_GKafra", "nguild_alde", "Prontera"; - end; -OnRecvCastleN01: - if (getcastledata("nguild_alde",9) < 1) disablenpc "Kafra Service#N01"; - end; -} - -// Castle 2 =============================================== -//nguild_gef,96,173,0 script Kafra Service#N02 4_F_KAFRA1,{ -nguild_gef,35,37,0 script Kafra Service#N02 4_F_KAFRA1,{ - callfunc "F_GKafra", "nguild_gef", "Prontera"; - end; -OnRecvCastleN02: - if (getcastledata("nguild_gef",9) < 1) disablenpc "Kafra Service#N02"; - end; -} - -// Castle 3 =============================================== -nguild_pay,128,58,3 script Kafra Service#N03 4_F_KAFRA1,{ - callfunc "F_GKafra", "nguild_pay", "Prontera"; - end; -OnRecvCastleN03: - if (getcastledata("nguild_pay",9) < 1) disablenpc "Kafra Service#N03"; - end; -} - -// Castle 4 =============================================== -nguild_prt,96,173,0 script Kafra Service#N04 4_F_KAFRA1,{ - callfunc "F_GKafra", "nguild_prt", "Prontera"; - end; -OnRecvCastleN04: - if (getcastledata("nguild_prt",9) < 1) disablenpc "Kafra Service#N04"; - end; -} |