diff options
Diffstat (limited to 'npc/guild/aldeg')
-rw-r--r-- | npc/guild/aldeg/aldeg_treas.txt | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/npc/guild/aldeg/aldeg_treas.txt b/npc/guild/aldeg/aldeg_treas.txt index 0e5925e50..e273a8171 100644 --- a/npc/guild/aldeg/aldeg_treas.txt +++ b/npc/guild/aldeg/aldeg_treas.txt @@ -4,7 +4,7 @@ //= jAthena - kalen (1.0)
//= 1.1 by Akaru, ho|yAnge|X, and Valaris
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@@ -20,9 +20,11 @@ aldeg_cas01.gat,1,1,1 script Treasure_A01 -1,{
OnRecvCastleA01:
+ end;
+OnInit:
if($boxNumA01 == 0) end;
set $@bxA01, $boxNumA01;
-// callfunc "F_GldTreas","aldeg_cas01","A01",$boxNumA01,$@bxA01,$@boxIdA01,1324,114,218,123,227,1;
+ callfunc "F_GldTreas","aldeg_cas01","A01",$boxNumA01,$@bxA01,$@boxIdA01,1324,114,218,123,227,1;
end;
OnDied:
@@ -44,9 +46,11 @@ aldeg_cas01.gat,123,223,0 script Switch#TresA01 111,{ aldeg_cas02.gat,1,1,1 script Treasure_A02 -1,{
OnRecvCastleA02:
+ end;
+OnInit:
if($boxNumA02 == 0) end;
set $@bxA02, $boxNumA02;
-// callfunc "F_GldTreas","aldeg_cas02","A02",$boxNumA02,$@bxA02,$@boxIdA02,1326,130,226,138,235,1;
+ callfunc "F_GldTreas","aldeg_cas02","A02",$boxNumA02,$@bxA02,$@boxIdA02,1326,130,226,138,235,1;
end;
OnDied:
@@ -67,9 +71,11 @@ aldeg_cas02.gat,139,235,0 script Switch#TresA02 111,{ aldeg_cas03.gat,1,1,1 script Treasure_A03 -1,{
OnRecvCastleA03:
+ end;
+OnInit:
if($boxNumA03 == 0) end;
set $@bxA03, $boxNumA03;
-// callfunc "F_GldTreas","aldeg_cas03","A03",$boxNumA03,$@bxA03,$@boxIdA03,1328,220,264,229,273,1;
+ callfunc "F_GldTreas","aldeg_cas03","A03",$boxNumA03,$@bxA03,$@boxIdA03,1328,220,264,229,273,1;
end;
OnDied:
@@ -90,9 +96,11 @@ aldeg_cas03.gat,229,267,0 script Switch#TresA03 111,{ aldeg_cas04.gat,1,1,1 script Treasure_A04 -1,{
OnRecvCastleA04:
+ end;
+OnInit:
if($boxNumA04 == 0) end;
set $@bxA04, $boxNumA04;
-// callfunc "F_GldTreas","aldeg_cas04","A04",$boxNumA04,$@bxA04,$@boxIdA04,1330,80,8,89,17,1;
+ callfunc "F_GldTreas","aldeg_cas04","A04",$boxNumA04,$@bxA04,$@boxIdA04,1330,80,8,89,17,1;
end;
OnDied:
@@ -113,9 +121,11 @@ aldeg_cas04.gat,83,17,0 script Switch#TresA04 111,{ aldeg_cas05.gat,1,1,1 script Treasure_A05 -1,{
OnRecvCastleA05:
+ end;
+OnInit:
if($boxNumA05 == 0) end;
set $@bxA05, $boxNumA05;
-// callfunc "F_GldTreas","aldeg_cas05","A05",$boxNumA05,$@bxA05,$@boxIdA05,1332,58,8,65,15,1;
+ callfunc "F_GldTreas","aldeg_cas05","A05",$boxNumA05,$@bxA05,$@boxIdA05,1332,58,8,65,15,1;
end;
OnDied:
|