summaryrefslogtreecommitdiff
path: root/npc/guild/prtg
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-03 16:14:37 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-03 16:14:37 +0000
commit5e4f830c297c26c9bccb1bac30c04f086b5e2ab2 (patch)
tree2ee50f0b8651737cca4ddf8bab2f45a17ea9eb23 /npc/guild/prtg
parent1f7a0e3bf5c4ada8bfcd756c83c451be51f80e08 (diff)
downloadhercules-5e4f830c297c26c9bccb1bac30c04f086b5e2ab2.tar.gz
hercules-5e4f830c297c26c9bccb1bac30c04f086b5e2ab2.tar.bz2
hercules-5e4f830c297c26c9bccb1bac30c04f086b5e2ab2.tar.xz
hercules-5e4f830c297c26c9bccb1bac30c04f086b5e2ab2.zip
fixed disappearing treasure chests, updated NWoE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5886 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/prtg')
-rw-r--r--npc/guild/prtg/prtg_treas.txt22
1 files changed, 16 insertions, 6 deletions
diff --git a/npc/guild/prtg/prtg_treas.txt b/npc/guild/prtg/prtg_treas.txt
index 10b27567c..dc9206c92 100644
--- a/npc/guild/prtg/prtg_treas.txt
+++ b/npc/guild/prtg/prtg_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: =========================================
@@ -19,9 +19,11 @@
// Treasure Spawn ----------------------------------------------------------
prtg_cas01.gat,1,1,0 script Treasure_Pt01 -1,{
OnRecvCastlePt01:
+ end;
+OnInit:
if($boxNumPt01 == 0) end;
set $@bxPt01, $boxNumPt01;
-// callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,1;
+ callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,1;
end;
OnDied:
@@ -43,9 +45,11 @@ prtg_cas01.gat,15,209,0 script Switch#TresPt01 111,{
// Treasure Spawn ----------------------------------------------------------
prtg_cas02.gat,1,1,0 script Treasure_Pt02 -1,{
OnRecvCastlePt02:
+ end;
+OnInit:
if($boxNumPt02 == 0) end;
set $@bxPt02, $boxNumPt02;
-// callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,1;
+ callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,1;
end;
OnDied:
@@ -67,9 +71,11 @@ prtg_cas02.gat,207,228,0 script Switch#TresPt02 111,{
// Treasure Spawn ----------------------------------------------------------
prtg_cas03.gat,1,1,0 script Treasure_Pt03 -1,{
OnRecvCastlePt03:
+ end;
+OnInit:
if($boxNumPt03 == 0) end;
set $@bxPt03, $boxNumPt03;
-// callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,1;
+ callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,1;
end;
OnDied:
@@ -91,9 +97,11 @@ prtg_cas03.gat,193,130,0 script Switch#TresPt03 111,{
// Treasure Spawn ----------------------------------------------------------
prtg_cas04.gat,1,1,0 script Treasure_Pt04 -1,{
OnRecvCastlePt04:
+ end;
+OnInit:
if($boxNumPt04 == 0) end;
set $@bxPt04, $boxNumPt04;
-// callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,1;
+ callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,1;
end;
OnDied:
@@ -115,9 +123,11 @@ prtg_cas04.gat,275,160,0 script Switch#TresPt04 111,{
// Treasure Spawn ----------------------------------------------------------
prtg_cas05.gat,1,1,0 script Treasure_Pt05 -1,{
OnRecvCastlePt05:
+ end;
+OnInit:
if($boxNumPt05 == 0) end;
set $@bxPt05, $boxNumPt05;
-// callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,1;
+ callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,1;
end;
OnDied: