diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-06-04 15:45:12 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-06-05 18:59:16 +0530 |
commit | 37e47973a81957469be3c73d49a928188160747e (patch) | |
tree | 6b450f6c8f5125d8f73e2959a91525ebd3802229 /npc/woe-fe/trs_rp.txt | |
parent | 4c469ea8b9e419535dfcc4c2cbe45623b95e2fd0 (diff) | |
download | hercules-37e47973a81957469be3c73d49a928188160747e.tar.gz hercules-37e47973a81957469be3c73d49a928188160747e.tar.bz2 hercules-37e47973a81957469be3c73d49a928188160747e.tar.xz hercules-37e47973a81957469be3c73d49a928188160747e.zip |
Renamed guild and guild2 folder to woe-fe and woe-se
Diffstat (limited to 'npc/woe-fe/trs_rp.txt')
-rw-r--r-- | npc/woe-fe/trs_rp.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/npc/woe-fe/trs_rp.txt b/npc/woe-fe/trs_rp.txt new file mode 100644 index 000000000..d96bd694e --- /dev/null +++ b/npc/woe-fe/trs_rp.txt @@ -0,0 +1,55 @@ +//===== Hercules Script ====================================== +//= Treasure Room Protection +//===== By: ================================================== +//= Masao +//===== Current Version: ===================================== +//= 1.1 +//===== Description: ========================================= +//= Warps every Player out of the Treasure Room except for the +//= Guildleader. +//===== Additional Comments: ================================= +//= 1.0 Converted from the official script. +//= 1.1 Reverted back and optimized. [Daegaladh] +//============================================================ + +- script Gld_Trea_Protect::Gld_Trea_Protect -1,{ + +OnTouch: + // Store the Guild ID of castle occupant. + .@GID = getcastledata(strnpcinfo(2),1); + if (strcharinfo(0) != getguildmaster(.@GID)) { + if (compare(strnpcinfo(2),"aldeg")) + warp "aldebaran",143,112; + else if (compare(strnpcinfo(2),"gefg")) + warp "geffen",120,38; + else if (compare(strnpcinfo(2),"payg")) + warp "payon",100,100; + else if (compare(strnpcinfo(2),"prtg")) + warp "prontera",119,64; + } + end; +} + +prtg_cas01,11,208,0 duplicate(Gld_Trea_Protect) ban_warp#prtg_cas01 -1,6,6 +prtg_cas02,202,228,0 duplicate(Gld_Trea_Protect) ban_warp#prtg_cas02 -1,6,6 +prtg_cas03,189,132,0 duplicate(Gld_Trea_Protect) ban_warp#prtg_cas03 -1,6,6 +prtg_cas04,271,162,0 duplicate(Gld_Trea_Protect) ban_warp#prtg_cas04 -1,6,6 +prtg_cas05,276,178,0 duplicate(Gld_Trea_Protect) ban_warp#prtg_cas05 -1,6,6 + +payg_cas01,291,8,0 duplicate(Gld_Trea_Protect) ban_warp#payg_cas01 -1,6,6 +payg_cas02,145,144,0 duplicate(Gld_Trea_Protect) ban_warp#payg_cas02 -1,6,6 +payg_cas03,159,168,0 duplicate(Gld_Trea_Protect) ban_warp#payg_cas03 -1,6,6 +payg_cas04,147,48,0 duplicate(Gld_Trea_Protect) ban_warp#payg_cas04 -1,6,6 +payg_cas05,157,132,0 duplicate(Gld_Trea_Protect) ban_warp#payg_cas05 -1,6,6 + +aldeg_cas01,118,223,0 duplicate(Gld_Trea_Protect) ban_warp#aldeg_cas01 -1,8,8 +aldeg_cas02,135,230,0 duplicate(Gld_Trea_Protect) ban_warp#aldeg_cas02 -1,8,8 +aldeg_cas03,225,269,0 duplicate(Gld_Trea_Protect) ban_warp#aldeg_cas03 -1,8,8 +aldeg_cas04,84,13,0 duplicate(Gld_Trea_Protect) ban_warp#aldeg_cas04 -1,8,8 +aldeg_cas05,62,12,0 duplicate(Gld_Trea_Protect) ban_warp#aldeg_cas05 -1,8,8 + +gefg_cas01,154,112,0 duplicate(Gld_Trea_Protect) ban_warp#gefg_cas01 -1,6,6 +gefg_cas02,140,116,0 duplicate(Gld_Trea_Protect) ban_warp#gefg_cas02 -1,6,6 +gefg_cas03,271,290,0 duplicate(Gld_Trea_Protect) ban_warp#gefg_cas03 -1,6,6 +gefg_cas04,116,119,0 duplicate(Gld_Trea_Protect) ban_warp#gefg_cas04 -1,6,6 +gefg_cas05,144,110,0 duplicate(Gld_Trea_Protect) ban_warp#gefg_cas05 -1,6,6 |