diff options
Diffstat (limited to 'npc/guild/nguild/nguild_treas.txt')
-rw-r--r-- | npc/guild/nguild/nguild_treas.txt | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/npc/guild/nguild/nguild_treas.txt b/npc/guild/nguild/nguild_treas.txt index f71f8368f..de40908e8 100644 --- a/npc/guild/nguild/nguild_treas.txt +++ b/npc/guild/nguild/nguild_treas.txt @@ -1,16 +1,15 @@ //===== eAthena Script ======================================= -//= War of Emperium Treasure Rooms for Al De Baran Guild Castles +//= War of Emperium Treasure Rooms for NGuild Guild Castles //===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris +//= kobra_k88 //===== Current Version: ===================================== -//= 1.2 +//= 1.0 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= //= //===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] +//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] //============================================================ @@ -24,9 +23,7 @@ OnRecvCastleN01: set $@bxN01, $boxNumN01; callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324,114,218,123,227,1; end; -OnClock1200: - callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324,114,218,123,227,0; - end; + OnDied: mapannounce "nguild_alde.gat","Treasure Chest Broken Open",17; set $boxNumN01, $boxNumN01 -1; @@ -50,9 +47,7 @@ OnRecvCastleN02: set $@bxN02, $boxNumN02; callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334,150,108,158,114,1; end; -OnClock1200: - callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334,150,108,158,114,0; - end; + OnDied: mapannounce "nguild_gef.gat","Treasure Chest Broken Open",17; set $boxNumN02, $boxNumN02 -1; @@ -75,9 +70,7 @@ OnRecvCastleN03: set $@bxN03, $boxNumN03; callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344,286,4,295,13,1; end; -OnClock1200: - callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344,286,4,295,13,0; - end; + OnDied: mapannounce "nguild_pay.gat","Treasure Chest Broken Open",17; set $boxNumN03, $boxNumN03 -1; @@ -100,9 +93,7 @@ OnRecvCastleN04: set $@bxN04, $boxNumN04; callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354,6,204,15,213,1; end; -OnClock1200: - callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354,6,204,15,213,0; - end; + OnDied: mapannounce "nguild_prt.gat","Treasure Chest Broken Open",17; set $boxNumN04, $boxNumN04 -1; |