summaryrefslogtreecommitdiff
path: root/npc/guild/nguild/nguild_treas.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild/nguild/nguild_treas.txt')
-rw-r--r--npc/guild/nguild/nguild_treas.txt18
1 files changed, 13 insertions, 5 deletions
diff --git a/npc/guild/nguild/nguild_treas.txt b/npc/guild/nguild/nguild_treas.txt
index 7c4a219d3..5c16e71a0 100644
--- a/npc/guild/nguild/nguild_treas.txt
+++ b/npc/guild/nguild/nguild_treas.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= kobra_k88
//===== Current Version: =====================================
-//= 1.0
+//= 1.1
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@@ -19,9 +19,11 @@
nguild_alde.gat,1,1,1 script Treasure_N01 -1,{
OnRecvCastleN01:
+ end;
+OnInit:
if($boxNumN01 == 0) end;
set $@bxN01, $boxNumN01;
-// callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324,114,218,123,227,1;
+ callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324,114,218,123,227,1;
end;
OnDied:
@@ -43,9 +45,11 @@ nguild_alde.gat,123,223,0 script Switch#TresN01 111,{
nguild_gef.gat,1,1,1 script Treasure_N02 -1,{
OnRecvCastleN02:
+ end;
+OnInit:
if($boxNumN02 == 0) end;
set $@bxN02, $boxNumN02;
-// callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334,150,108,158,114,1;
+ callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334,150,108,158,114,1;
end;
OnDied:
@@ -66,9 +70,11 @@ nguild_gef.gat,152,117,0 script Switch#TresN02 111,{
// Treasure Spawn ---------------------------
nguild_pay.gat,1,1,0 script Treasure_N03 -1,{
OnRecvCastleN03:
+ end;
+OnInit:
if($boxNumN03 == 0) end;
set $@bxN03, $boxNumN03;
-// callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344,286,4,295,13,1;
+ callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344,286,4,295,13,1;
end;
OnDied:
@@ -89,9 +95,11 @@ nguild_pay.gat,295,8,0 script Switch#TresN03 111,{
// Treasure Spawn -------------------------------
nguild_prt.gat,1,1,0 script Treasure_N04 -1,{
OnRecvCastleN04:
+ end;
+OnInit:
if($boxNumN04 == 0) end;
set $@bxN04, $boxNumN04;
-// callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354,6,204,15,213,1;
+ callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354,6,204,15,213,1;
end;
OnDied: