summaryrefslogtreecommitdiff
path: root/npc/guild/payg
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild/payg')
-rw-r--r--npc/guild/payg/payg_dunsw.txt12
-rw-r--r--npc/guild/payg/payg_ev_agit.txt52
-rw-r--r--npc/guild/payg/payg_flags.txt128
-rw-r--r--npc/guild/payg/payg_guardians.txt102
-rw-r--r--npc/guild/payg/payg_kafras.txt22
-rw-r--r--npc/guild/payg/payg_managers.txt92
-rw-r--r--npc/guild/payg/payg_treas.txt42
7 files changed, 225 insertions, 225 deletions
diff --git a/npc/guild/payg/payg_dunsw.txt b/npc/guild/payg/payg_dunsw.txt
index 31ec45999..f1f11e9a0 100644
--- a/npc/guild/payg/payg_dunsw.txt
+++ b/npc/guild/payg/payg_dunsw.txt
@@ -15,35 +15,35 @@
// Castle 1 ================================================
-payg_cas01.gat,101,25,0 script Switch#DunPy01 111,{
+payg_cas01,101,25,0 script Switch#DunPy01 111,{
callfunc "F_GldDunSw","payg_cas01","01",186,165;
close;
}
// Castle 2 ================================================
-payg_cas02.gat,278,247,0 script Switch#DunPy02 111,{
+payg_cas02,278,247,0 script Switch#DunPy02 111,{
callfunc "F_GldDunSw","payg_cas02","01",54,165;
close;
}
// Castle 3 ================================================
-payg_cas03.gat,20,44,0 script Switch#DunPy03 111,{
+payg_cas03,20,44,0 script Switch#DunPy03 111,{
callfunc "F_GldDunSw","payg_cas03","01",54,39;
close;
}
// Castle 4 ================================================
-payg_cas04.gat,52,48,0 script Switch#DunPy04 111,{
+payg_cas04,52,48,0 script Switch#DunPy04 111,{
callfunc "F_GldDunSw","payg_cas04","01",186,39;
close;
}
// Castle 5 ================================================
-payg_cas05.gat,248,14,0 script Switch#DunPy05 111,{
+payg_cas05,248,14,0 script Switch#DunPy05 111,{
callfunc "F_GldDunSw","payg_cas05","01",223,202;
close;
-}
+} \ No newline at end of file
diff --git a/npc/guild/payg/payg_ev_agit.txt b/npc/guild/payg/payg_ev_agit.txt
index 3f7fd0563..0eceeb47b 100644
--- a/npc/guild/payg/payg_ev_agit.txt
+++ b/npc/guild/payg/payg_ev_agit.txt
@@ -16,12 +16,12 @@
// Castle 1 ================================================================
-payg_cas01.gat,139,139,0 script Agit_Py01 -1,{
+payg_cas01,139,139,0 script Agit_Py01 -1,{
OnInterIfInitOnce:
- GetCastleData "payg_cas01.gat",0,"::OnRecvCastlePy01";
+ GetCastleData "payg_cas01",0,"::OnRecvCastlePy01";
end;
OnRecvCastlePy01:
- RequestGuildInfo GetCastleData("payg_cas01.gat",1);
+ RequestGuildInfo GetCastleData("payg_cas01",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas01","Py01",139,139;
@@ -33,8 +33,8 @@ OnGuildBreak:
callfunc "F_GuildBreak","payg_cas01","Py01";
end;
OnAgitEliminate:
- MapRespawnGuildID "payg_cas01.gat",GetCastleData("payg_cas01.gat",1),6;
- Monster "payg_cas01.gat",139,139,"EMPERIUM",1288,1,"Agit_Py01::OnAgitBreak";
+ MapRespawnGuildID "payg_cas01",GetCastleData("payg_cas01",1),6;
+ Monster "payg_cas01",139,139,"EMPERIUM",1288,1,"Agit_Py01::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas01","Py01";
@@ -42,12 +42,12 @@ OnAgitEnd:
}
// Castle 2 ================================================================
-payg_cas02.gat,39,25,0 script Agit_Py02 -1,{
+payg_cas02,39,25,0 script Agit_Py02 -1,{
OnInterIfInitOnce:
- GetCastleData "payg_cas02.gat",0,"::OnRecvCastlePy02";
+ GetCastleData "payg_cas02",0,"::OnRecvCastlePy02";
end;
OnRecvCastlePy02:
- RequestGuildInfo GetCastleData("payg_cas02.gat",1);
+ RequestGuildInfo GetCastleData("payg_cas02",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas02","Py02",39,25;
@@ -59,8 +59,8 @@ OnGuildBreak:
callfunc "F_GuildBreak","payg_cas02","Py02";
end;
OnAgitEliminate:
- MapRespawnGuildID "payg_cas02.gat",GetCastleData("payg_cas02.gat",1),6;
- Monster "payg_cas02.gat",39,25,"EMPERIUM",1288,1,"Agit_Py02::OnAgitBreak";
+ MapRespawnGuildID "payg_cas02",GetCastleData("payg_cas02",1),6;
+ Monster "payg_cas02",39,25,"EMPERIUM",1288,1,"Agit_Py02::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas02","Py02";
@@ -68,12 +68,12 @@ OnAgitEnd:
}
// Castle 3 ================================================================
-payg_cas03.gat,269,265,0 script Agit_Py03 -1,{
+payg_cas03,269,265,0 script Agit_Py03 -1,{
OnInterIfInitOnce:
- GetCastleData "payg_cas03.gat",0,"::OnRecvCastlePy03";
+ GetCastleData "payg_cas03",0,"::OnRecvCastlePy03";
end;
OnRecvCastlePy03:
- RequestGuildInfo GetCastleData("payg_cas03.gat",1);
+ RequestGuildInfo GetCastleData("payg_cas03",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas03","Py03",269,265;
@@ -85,8 +85,8 @@ OnGuildBreak:
callfunc "F_GuildBreak","payg_cas03","Py03";
end;
OnAgitEliminate:
- MapRespawnGuildID "payg_cas03.gat",GetCastleData("payg_cas03.gat",1),6;
- Monster "payg_cas03.gat",269,265,"EMPERIUM",1288,1,"Agit_Py03::OnAgitBreak";
+ MapRespawnGuildID "payg_cas03",GetCastleData("payg_cas03",1),6;
+ Monster "payg_cas03",269,265,"EMPERIUM",1288,1,"Agit_Py03::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas03","Py03";
@@ -94,12 +94,12 @@ OnAgitEnd:
}
// Castle 4 ================================================================
-payg_cas04.gat,271,29,0 script Agit_Py04 -1,{
+payg_cas04,271,29,0 script Agit_Py04 -1,{
OnInterIfInitOnce:
- GetCastleData "payg_cas04.gat",0,"::OnRecvCastlePy04";
+ GetCastleData "payg_cas04",0,"::OnRecvCastlePy04";
end;
OnRecvCastlePy04:
- RequestGuildInfo GetCastleData("payg_cas04.gat",1);
+ RequestGuildInfo GetCastleData("payg_cas04",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas04","Py04",271,29;
@@ -111,8 +111,8 @@ OnGuildBreak:
callfunc "F_GuildBreak","payg_cas04","Py04";
end;
OnAgitEliminate:
- MapRespawnGuildID "payg_cas04.gat",GetCastleData("payg_cas04.gat",1),6;
- Monster "payg_cas04.gat",271,29,"EMPERIUM",1288,1,"Agit_Py04::OnAgitBreak";
+ MapRespawnGuildID "payg_cas04",GetCastleData("payg_cas04",1),6;
+ Monster "payg_cas04",271,29,"EMPERIUM",1288,1,"Agit_Py04::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas04","Py04";
@@ -120,12 +120,12 @@ OnAgitEnd:
}
// Castle 5 ================================================================
-payg_cas05.gat,30,30,0 script Agit_Py05 -1,{
+payg_cas05,30,30,0 script Agit_Py05 -1,{
OnInterIfInitOnce:
- GetCastleData "payg_cas05.gat",0,"::OnRecvCastlePy05";
+ GetCastleData "payg_cas05",0,"::OnRecvCastlePy05";
end;
OnRecvCastlePy05:
- RequestGuildInfo GetCastleData("payg_cas05.gat",1);
+ RequestGuildInfo GetCastleData("payg_cas05",1);
end;
OnAgitStart:
callfunc "F_AgitStart","payg_cas05","Py05",30,30;
@@ -137,10 +137,10 @@ OnGuildBreak:
callfunc "F_GuildBreak","payg_cas05","Py05";
end;
OnAgitEliminate:
- MapRespawnGuildID "payg_cas05.gat",GetCastleData("payg_cas05.gat",1),6;
- Monster "payg_cas05.gat",30,30,"EMPERIUM",1288,1,"Agit_Py05::OnAgitBreak";
+ MapRespawnGuildID "payg_cas05",GetCastleData("payg_cas05",1),6;
+ Monster "payg_cas05",30,30,"EMPERIUM",1288,1,"Agit_Py05::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas05","Py05";
end;
-}
+} \ No newline at end of file
diff --git a/npc/guild/payg/payg_flags.txt b/npc/guild/payg/payg_flags.txt
index d3c3c45a0..2f0e8be0d 100644
--- a/npc/guild/payg/payg_flags.txt
+++ b/npc/guild/payg/payg_flags.txt
@@ -19,168 +19,168 @@
//============================================================================//
// Castle 1
//============================================================================//
-payon.gat,165,177,3 script BrightArbor#f1-1::BrightArbor 722,{
+payon,165,177,3 script BrightArbor#f1-1::BrightArbor 722,{
callfunc "F_Flags","Payon","payg_cas01",87,29,0;
close;
OnRecvCastlePy01:
- FlagEmblem GetCastleData("payg_cas01.gat",1);
+ FlagEmblem GetCastleData("payg_cas01",1);
end;
}
-pay_gld.gat,125,236,4 script BrightArbor#f1-2::BrightArbor2 722,{
+pay_gld,125,236,4 script BrightArbor#f1-2::BrightArbor2 722,{
callfunc "F_Flags","Payon","payg_cas01",87,29,1;
close;
OnRecvCastlePy01:
- FlagEmblem GetCastleData("payg_cas01.gat",1);
+ FlagEmblem GetCastleData("payg_cas01",1);
end;
}
// In Guild ===============================================
-pay_gld.gat,110,233,4 duplicate(BrightArbor2) Bright Arbor#f1-3 722
-pay_gld.gat,116,233,4 duplicate(BrightArbor2) Bright Arbor#f1-4 722
-pay_gld.gat,91,239,2 duplicate(BrightArbor2) Bright Arbor#f1-5 722
+pay_gld,110,233,4 duplicate(BrightArbor2) Bright Arbor#f1-3 722
+pay_gld,116,233,4 duplicate(BrightArbor2) Bright Arbor#f1-4 722
+pay_gld,91,239,2 duplicate(BrightArbor2) Bright Arbor#f1-5 722
// In Castle ===============================================
-payg_cas01.gat,238,67,4 duplicate(BrightArbor) Bright Arbor#f1-6 722
-payg_cas01.gat,233,67,4 duplicate(BrightArbor) Bright Arbor#f1-7 722
-payg_cas01.gat,221,123,4 duplicate(BrightArbor) Bright Arbor#f1-8 722
-payg_cas01.gat,221,116,4 duplicate(BrightArbor) Bright Arbor#f1-9 722
-payg_cas01.gat,206,108,4 duplicate(BrightArbor) Bright Arbor#f1-10 722
-payg_cas01.gat,212,108,4 duplicate(BrightArbor) Bright Arbor#f1-11 722
+payg_cas01,238,67,4 duplicate(BrightArbor) Bright Arbor#f1-6 722
+payg_cas01,233,67,4 duplicate(BrightArbor) Bright Arbor#f1-7 722
+payg_cas01,221,123,4 duplicate(BrightArbor) Bright Arbor#f1-8 722
+payg_cas01,221,116,4 duplicate(BrightArbor) Bright Arbor#f1-9 722
+payg_cas01,206,108,4 duplicate(BrightArbor) Bright Arbor#f1-10 722
+payg_cas01,212,108,4 duplicate(BrightArbor) Bright Arbor#f1-11 722
//===========================================================================//
// Castle 2
//============================================================================//
-payon.gat,165,173,3 script ScarletPalace#f2-1::ScarletPalace 722,{
+payon,165,173,3 script ScarletPalace#f2-1::ScarletPalace 722,{
callfunc "F_Flags","Payon","payg_cas02",25,266,0;
close;
OnRecvCastlePy02:
- FlagEmblem GetCastleData("payg_cas02.gat",1);
+ FlagEmblem GetCastleData("payg_cas02",1);
end;
}
-pay_gld.gat,292,112,6 script ScarletPalace#f2-2::ScarletPalace2 722,{
+pay_gld,292,112,6 script ScarletPalace#f2-2::ScarletPalace2 722,{
callfunc "F_Flags","Payon","payg_cas02",25,266,1;
close;
OnRecvCastlePy02:
- FlagEmblem GetCastleData("payg_cas02.gat",1);
+ FlagEmblem GetCastleData("payg_cas02",1);
end;
}
// In Guild ===============================================
-pay_gld.gat,292,120,6 duplicate(ScarletPalace2) Scarlet Palace#f2-3 722
-pay_gld.gat,291,135,6 duplicate(ScarletPalace2) Scarlet Palace#f2-4 722
-pay_gld.gat,271,163,0 duplicate(ScarletPalace2) Scarlet Palace#f2-5 722
+pay_gld,292,120,6 duplicate(ScarletPalace2) Scarlet Palace#f2-3 722
+pay_gld,291,135,6 duplicate(ScarletPalace2) Scarlet Palace#f2-4 722
+pay_gld,271,163,0 duplicate(ScarletPalace2) Scarlet Palace#f2-5 722
// In Castle ===============================================
-payg_cas02.gat,254,40,6 duplicate(ScarletPalace) Scarlet Palace#f2-6 722
-payg_cas02.gat,254,48,6 duplicate(ScarletPalace) Scarlet Palace#f2-7 722
-payg_cas02.gat,202,49,0 duplicate(ScarletPalace) Scarlet Palace#f2-8 722
-payg_cas02.gat,209,49,0 duplicate(ScarletPalace) Scarlet Palace#f2-9 722
-payg_cas02.gat,59,282,4 duplicate(ScarletPalace) Scarlet Palace#f2-10 722
-payg_cas02.gat,70,282,4 duplicate(ScarletPalace) Scarlet Palace#f2-11 722
+payg_cas02,254,40,6 duplicate(ScarletPalace) Scarlet Palace#f2-6 722
+payg_cas02,254,48,6 duplicate(ScarletPalace) Scarlet Palace#f2-7 722
+payg_cas02,202,49,0 duplicate(ScarletPalace) Scarlet Palace#f2-8 722
+payg_cas02,209,49,0 duplicate(ScarletPalace) Scarlet Palace#f2-9 722
+payg_cas02,59,282,4 duplicate(ScarletPalace) Scarlet Palace#f2-10 722
+payg_cas02,70,282,4 duplicate(ScarletPalace) Scarlet Palace#f2-11 722
//============================================================================//
// Castle 3
//============================================================================//
-payon.gat,165,169,3 script HolyShadow#f3-1::HolyShadow 722,{
+payon,165,169,3 script HolyShadow#f3-1::HolyShadow 722,{
callfunc "F_Flags","Payon","payg_cas03",9,263,0;
close;
OnRecvCastlePy03:
- FlagEmblem GetCastleData("payg_cas03.gat",1);
+ FlagEmblem GetCastleData("payg_cas03",1);
end;
}
-pay_gld.gat,321,298,2 script HolyShadow#f3-2::HolyShadow2 722,{
+pay_gld,321,298,2 script HolyShadow#f3-2::HolyShadow2 722,{
callfunc "F_Flags","Payon","payg_cas03",9,263,1;
close;
OnRecvCastlePy03:
- FlagEmblem GetCastleData("payg_cas03.gat",1);
+ FlagEmblem GetCastleData("payg_cas03",1);
end;
}
// In Guild ===============================================
-pay_gld.gat,321,289,2 duplicate(HolyShadow2) Holy Shadow#f3-3 722
-pay_gld.gat,327,304,1 duplicate(HolyShadow2) Holy Shadow#f3-4 722
-pay_gld.gat,333,254,4 duplicate(HolyShadow2) Holy Shadow#f3-5 722
+pay_gld,321,289,2 duplicate(HolyShadow2) Holy Shadow#f3-3 722
+pay_gld,327,304,1 duplicate(HolyShadow2) Holy Shadow#f3-4 722
+pay_gld,333,254,4 duplicate(HolyShadow2) Holy Shadow#f3-5 722
// In Castle ===============================================
-payg_cas03.gat,236,54,2 duplicate(HolyShadow) Holy Shadow#f3-6 722
-payg_cas03.gat,236,45,2 duplicate(HolyShadow) Holy Shadow#f3-7 722
-payg_cas03.gat,259,66,4 duplicate(HolyShadow) Holy Shadow#f3-8 722
-payg_cas03.gat,266,66,4 duplicate(HolyShadow) Holy Shadow#f3-9 722
-payg_cas03.gat,34,31,4 duplicate(HolyShadow) Holy Shadow#f3-10 722
-payg_cas03.gat,43,31,4 duplicate(HolyShadow) Holy Shadow#f3-11 722
+payg_cas03,236,54,2 duplicate(HolyShadow) Holy Shadow#f3-6 722
+payg_cas03,236,45,2 duplicate(HolyShadow) Holy Shadow#f3-7 722
+payg_cas03,259,66,4 duplicate(HolyShadow) Holy Shadow#f3-8 722
+payg_cas03,266,66,4 duplicate(HolyShadow) Holy Shadow#f3-9 722
+payg_cas03,34,31,4 duplicate(HolyShadow) Holy Shadow#f3-10 722
+payg_cas03,43,31,4 duplicate(HolyShadow) Holy Shadow#f3-11 722
//============================================================================//
// Castle 4
//============================================================================//
-payon.gat,165,165,3 script SacredAltar#f4-1::SacredAltar 722,{
+payon,165,165,3 script SacredAltar#f4-1::SacredAltar 722,{
callfunc "F_Flags","Payon","payg_cas04",40,235,0;
close;
OnRecvCastlePy04:
- FlagEmblem GetCastleData("payg_cas04.gat",1);
+ FlagEmblem GetCastleData("payg_cas04",1);
end;
}
-pay_gld.gat,143,160,0 script SacredAltar#f4-2::SacredAltar2 722,{
+pay_gld,143,160,0 script SacredAltar#f4-2::SacredAltar2 722,{
callfunc "F_Flags","Payon","payg_cas04",40,235,1;
close;
OnRecvCastlePy04:
- FlagEmblem GetCastleData("payg_cas04.gat",1);
+ FlagEmblem GetCastleData("payg_cas04",1);
end;
}
// In Guild ===============================================
-pay_gld.gat,133,151,2 duplicate(SacredAltar2) Sacred Altar#f4-4 722
-pay_gld.gat,153,166,1 duplicate(SacredAltar2) Sacred Altar#f4-5 722
+pay_gld,133,151,2 duplicate(SacredAltar2) Sacred Altar#f4-4 722
+pay_gld,153,166,1 duplicate(SacredAltar2) Sacred Altar#f4-5 722
// In Castle ===============================================
-payg_cas04.gat,255,259,0 duplicate(SacredAltar) Sacred Altar#f4-6 722
-payg_cas04.gat,248,259,0 duplicate(SacredAltar) Sacred Altar#f4-7 722
-payg_cas04.gat,248,168,6 duplicate(SacredAltar) Sacred Altar#f4-8 722
-payg_cas04.gat,248,160,6 duplicate(SacredAltar) Sacred Altar#f4-9 722
-payg_cas04.gat,232,181,4 duplicate(SacredAltar) Sacred Altar#f4-10 722
-payg_cas04.gat,239,181,4 duplicate(SacredAltar) Sacred Altar#f4-11 722
+payg_cas04,255,259,0 duplicate(SacredAltar) Sacred Altar#f4-6 722
+payg_cas04,248,259,0 duplicate(SacredAltar) Sacred Altar#f4-7 722
+payg_cas04,248,168,6 duplicate(SacredAltar) Sacred Altar#f4-8 722
+payg_cas04,248,160,6 duplicate(SacredAltar) Sacred Altar#f4-9 722
+payg_cas04,232,181,4 duplicate(SacredAltar) Sacred Altar#f4-10 722
+payg_cas04,239,181,4 duplicate(SacredAltar) Sacred Altar#f4-11 722
//============================================================================//
// Castle 5
//============================================================================//
-payon.gat,165,161,3 script BambooGrove Hill#f5-1::BambooGroveHill 722,{
+payon,165,161,3 script BambooGrove Hill#f5-1::BambooGroveHill 722,{
callfunc "F_Flags","Payon","payg_cas05",276,227,0;
close;
OnRecvCastlePy05:
- FlagEmblem GetCastleData("payg_cas05.gat",1);
+ FlagEmblem GetCastleData("payg_cas05",1);
end;
}
-pay_gld.gat,208,268,4 script BambooGrove Hill#f5-2::BambooGroveHill2 722,{
+pay_gld,208,268,4 script BambooGrove Hill#f5-2::BambooGroveHill2 722,{
callfunc "F_Flags","Payon","payg_cas05",276,227,1;
close;
OnRecvCastlePy05:
- FlagEmblem GetCastleData("payg_cas05.gat",1);
+ FlagEmblem GetCastleData("payg_cas05",1);
end;
}
// In Guild ===============================================
-pay_gld.gat,199,268,4 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-3 722
-pay_gld.gat,190,277,3 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-4 722
-pay_gld.gat,187,294,2 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-5 722
+pay_gld,199,268,4 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-3 722
+pay_gld,190,277,3 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-4 722
+pay_gld,187,294,2 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-5 722
// In Castle ===============================================
-payg_cas05.gat,32,249,4 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-6 722
-payg_cas05.gat,24,249,4 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-7 722
-payg_cas05.gat,62,271,0 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-8 722
-payg_cas05.gat,57,271,0 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-9 722
-payg_cas05.gat,55,252,2 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-10 722
-payg_cas05.gat,55,260,2 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-11 722
+payg_cas05,32,249,4 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-6 722
+payg_cas05,24,249,4 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-7 722
+payg_cas05,62,271,0 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-8 722
+payg_cas05,57,271,0 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-9 722
+payg_cas05,55,252,2 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-10 722
+payg_cas05,55,260,2 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-11 722 \ No newline at end of file
diff --git a/npc/guild/payg/payg_guardians.txt b/npc/guild/payg/payg_guardians.txt
index daa1f46e1..dcabd0c58 100644
--- a/npc/guild/payg/payg_guardians.txt
+++ b/npc/guild/payg/payg_guardians.txt
@@ -17,92 +17,92 @@
//============================================================
-payg_cas01.gat,139,139,0 script Guardian_Py01 -1,{
+payg_cas01,139,139,0 script Guardian_Py01 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas01.gat",10) == 1) guardian "payg_cas01.gat",210,120,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",0;
- if (GetCastleData("payg_cas01.gat",11) == 1) guardian "payg_cas01.gat",69,26,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",1;
- if (GetCastleData("payg_cas01.gat",12) == 1) guardian "payg_cas01.gat",23,141,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",2;
- if (GetCastleData("payg_cas01.gat",13) == 1) guardian "payg_cas01.gat",224,87,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",3;
- if (GetCastleData("payg_cas01.gat",14) == 1) guardian "payg_cas01.gat",81,45,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",4;
- if (GetCastleData("payg_cas01.gat",15) == 1) guardian "payg_cas01.gat",214,53,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",5;
- if (GetCastleData("payg_cas01.gat",16) == 1) guardian "payg_cas01.gat",69,26,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",6;
- if (GetCastleData("payg_cas01.gat",17) == 1) guardian "payg_cas01.gat",23,141,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",7;
+ if (GetCastleData("payg_cas01",10) == 1) guardian "payg_cas01",210,120,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",0;
+ if (GetCastleData("payg_cas01",11) == 1) guardian "payg_cas01",69,26,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",1;
+ if (GetCastleData("payg_cas01",12) == 1) guardian "payg_cas01",23,141,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",2;
+ if (GetCastleData("payg_cas01",13) == 1) guardian "payg_cas01",224,87,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",3;
+ if (GetCastleData("payg_cas01",14) == 1) guardian "payg_cas01",81,45,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",4;
+ if (GetCastleData("payg_cas01",15) == 1) guardian "payg_cas01",214,53,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",5;
+ if (GetCastleData("payg_cas01",16) == 1) guardian "payg_cas01",69,26,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",6;
+ if (GetCastleData("payg_cas01",17) == 1) guardian "payg_cas01",23,141,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas01.gat","A Guardian Has Fallen",17;
+ MapAnnounce "payg_cas01","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
-payg_cas02.gat,39,25,0 script Guardian_Py02 -1,{
+payg_cas02,39,25,0 script Guardian_Py02 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas02.gat",10) == 1) guardian "payg_cas02.gat",208,37,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",0;
- if (GetCastleData("payg_cas02.gat",11) == 1) guardian "payg_cas02.gat",51,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",1;
- if (GetCastleData("payg_cas02.gat",12) == 1) guardian "payg_cas02.gat",286,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",2;
- if (GetCastleData("payg_cas02.gat",13) == 1) guardian "payg_cas02.gat",217,42,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",3;
- if (GetCastleData("payg_cas02.gat",14) == 1) guardian "payg_cas02.gat",264,266,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",4;
- if (GetCastleData("payg_cas02.gat",15) == 1) guardian "payg_cas02.gat",51,245,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",5;
- if (GetCastleData("payg_cas02.gat",16) == 1) guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",6;
- if (GetCastleData("payg_cas02.gat",17) == 1) guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",7;
+ if (GetCastleData("payg_cas02",10) == 1) guardian "payg_cas02",208,37,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",0;
+ if (GetCastleData("payg_cas02",11) == 1) guardian "payg_cas02",51,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",1;
+ if (GetCastleData("payg_cas02",12) == 1) guardian "payg_cas02",286,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",2;
+ if (GetCastleData("payg_cas02",13) == 1) guardian "payg_cas02",217,42,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",3;
+ if (GetCastleData("payg_cas02",14) == 1) guardian "payg_cas02",264,266,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",4;
+ if (GetCastleData("payg_cas02",15) == 1) guardian "payg_cas02",51,245,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",5;
+ if (GetCastleData("payg_cas02",16) == 1) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",6;
+ if (GetCastleData("payg_cas02",17) == 1) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas02.gat","A Guardian Has Fallen",17;
+ MapAnnounce "payg_cas02","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
-payg_cas03.gat,269,265,0 script Guardian_Py03 -1,{
+payg_cas03,269,265,0 script Guardian_Py03 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas03.gat",10) == 1) guardian "payg_cas03.gat",252,39,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",0;
- if (GetCastleData("payg_cas03.gat",11) == 1) guardian "payg_cas03.gat",23,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",1;
- if (GetCastleData("payg_cas03.gat",12) == 1) guardian "payg_cas03.gat",34,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",2;
- if (GetCastleData("payg_cas03.gat",13) == 1) guardian "payg_cas03.gat",57,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",3;
- if (GetCastleData("payg_cas03.gat",14) == 1) guardian "payg_cas03.gat",20,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",4;
- if (GetCastleData("payg_cas03.gat",15) == 1) guardian "payg_cas03.gat",34,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",5;
- if (GetCastleData("payg_cas03.gat",16) == 1) guardian "payg_cas03.gat",23,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",6;
- if (GetCastleData("payg_cas03.gat",17) == 1) guardian "payg_cas03.gat",28,253,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",7;
+ if (GetCastleData("payg_cas03",10) == 1) guardian "payg_cas03",252,39,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",0;
+ if (GetCastleData("payg_cas03",11) == 1) guardian "payg_cas03",23,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",1;
+ if (GetCastleData("payg_cas03",12) == 1) guardian "payg_cas03",34,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",2;
+ if (GetCastleData("payg_cas03",13) == 1) guardian "payg_cas03",57,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",3;
+ if (GetCastleData("payg_cas03",14) == 1) guardian "payg_cas03",20,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",4;
+ if (GetCastleData("payg_cas03",15) == 1) guardian "payg_cas03",34,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",5;
+ if (GetCastleData("payg_cas03",16) == 1) guardian "payg_cas03",23,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",6;
+ if (GetCastleData("payg_cas03",17) == 1) guardian "payg_cas03",28,253,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas03.gat","A Guardian Has Fallen",17;
+ MapAnnounce "payg_cas03","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
-payg_cas04.gat,271,29,0 script Guardian_Py04 -1,{
+payg_cas04,271,29,0 script Guardian_Py04 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas04.gat",10) == 1) guardian "payg_cas04.gat",236,172,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",0;
- if (GetCastleData("payg_cas04.gat",11) == 1) guardian "payg_cas04.gat",14,260,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",1;
- if (GetCastleData("payg_cas04.gat",12) == 1) guardian "payg_cas04.gat",15,30,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",2;
- if (GetCastleData("payg_cas04.gat",13) == 1) guardian "payg_cas04.gat",257,166,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",3;
- if (GetCastleData("payg_cas04.gat",14) == 1) guardian "payg_cas04.gat",65,261,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",4;
- if (GetCastleData("payg_cas04.gat",15) == 1) guardian "payg_cas04.gat",65,261,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",5;
- if (GetCastleData("payg_cas04.gat",16) == 1) guardian "payg_cas04.gat",52,29,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",6;
- if (GetCastleData("payg_cas04.gat",17) == 1) guardian "payg_cas04.gat",15,30,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",7;
+ if (GetCastleData("payg_cas04",10) == 1) guardian "payg_cas04",236,172,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",0;
+ if (GetCastleData("payg_cas04",11) == 1) guardian "payg_cas04",14,260,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",1;
+ if (GetCastleData("payg_cas04",12) == 1) guardian "payg_cas04",15,30,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",2;
+ if (GetCastleData("payg_cas04",13) == 1) guardian "payg_cas04",257,166,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",3;
+ if (GetCastleData("payg_cas04",14) == 1) guardian "payg_cas04",65,261,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",4;
+ if (GetCastleData("payg_cas04",15) == 1) guardian "payg_cas04",65,261,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",5;
+ if (GetCastleData("payg_cas04",16) == 1) guardian "payg_cas04",52,29,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",6;
+ if (GetCastleData("payg_cas04",17) == 1) guardian "payg_cas04",15,30,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas04.gat","A Guardian Has Fallen",17;
+ MapAnnounce "payg_cas04","A Guardian Has Fallen",17;
end;
}
//------------------------------------------------------------------------------
-payg_cas05.gat,30,30,0 script Guardian_Py05 -1,{
+payg_cas05,30,30,0 script Guardian_Py05 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas05.gat",10) == 1) guardian "payg_cas05.gat",51,258,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",0;
- if (GetCastleData("payg_cas05.gat",11) == 1) guardian "payg_cas05.gat",286,235,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",1;
- if (GetCastleData("payg_cas05.gat",12) == 1) guardian "payg_cas05.gat",282,277,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",2;
- if (GetCastleData("payg_cas05.gat",13) == 1) guardian "payg_cas05.gat",18,281,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",3;
- if (GetCastleData("payg_cas05.gat",14) == 1) guardian "payg_cas05.gat",289,256,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",4;
- if (GetCastleData("payg_cas05.gat",15) == 1) guardian "payg_cas05.gat",275,42,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",5;
- if (GetCastleData("payg_cas05.gat",16) == 1) guardian "payg_cas05.gat",254,9,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",6;
- if (GetCastleData("payg_cas05.gat",17) == 1) guardian "payg_cas05.gat",236,256,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",7;
+ if (GetCastleData("payg_cas05",10) == 1) guardian "payg_cas05",51,258,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",0;
+ if (GetCastleData("payg_cas05",11) == 1) guardian "payg_cas05",286,235,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",1;
+ if (GetCastleData("payg_cas05",12) == 1) guardian "payg_cas05",282,277,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",2;
+ if (GetCastleData("payg_cas05",13) == 1) guardian "payg_cas05",18,281,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",3;
+ if (GetCastleData("payg_cas05",14) == 1) guardian "payg_cas05",289,256,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",4;
+ if (GetCastleData("payg_cas05",15) == 1) guardian "payg_cas05",275,42,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",5;
+ if (GetCastleData("payg_cas05",16) == 1) guardian "payg_cas05",254,9,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",6;
+ if (GetCastleData("payg_cas05",17) == 1) guardian "payg_cas05",236,256,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas05.gat","A Guardian Has Fallen",17;
+ MapAnnounce "payg_cas05","A Guardian Has Fallen",17;
end;
-}
+} \ No newline at end of file
diff --git a/npc/guild/payg/payg_kafras.txt b/npc/guild/payg/payg_kafras.txt
index c4e6c6c34..91855a293 100644
--- a/npc/guild/payg/payg_kafras.txt
+++ b/npc/guild/payg/payg_kafras.txt
@@ -16,50 +16,50 @@
// Castle 1 =============
-payg_cas01.gat,128,58,3 script Kafra Service#Py01 117,{
+payg_cas01,128,58,3 script Kafra Service#Py01 117,{
callfunc "F_GKafra", "payg_cas01", "Payon";
end;
OnRecvCastlePy01:
- if (GetCastleData("payg_cas01.gat",9) < 1) disablenpc "Kafra Service#Py01";
+ if (GetCastleData("payg_cas01",9) < 1) disablenpc "Kafra Service#Py01";
end;
}
// Castle 2 =============
-payg_cas02.gat,22,275,5 script Kafra Service#Py02 117,{
+payg_cas02,22,275,5 script Kafra Service#Py02 117,{
callfunc "F_GKafra", "payg_cas02", "Payon";
end;
OnRecvCastlePy02:
- if (GetCastleData("payg_cas02.gat",9) < 1) disablenpc "Kafra Service#Py02";
+ if (GetCastleData("payg_cas02",9) < 1) disablenpc "Kafra Service#Py02";
end;
}
// Castle 3 =============
-payg_cas03.gat,9,263,5 script Kafra Service#Py03 117,{
+payg_cas03,9,263,5 script Kafra Service#Py03 117,{
callfunc "F_GKafra", "payg_cas03", "Payon";
end;
OnRecvCastlePy03:
- if (GetCastleData("payg_cas03.gat",9) < 1) disablenpc "Kafra Service#Py03";
+ if (GetCastleData("payg_cas03",9) < 1) disablenpc "Kafra Service#Py03";
end;
}
// Castle 4 =============
-payg_cas04.gat,40,235,1 script Kafra Service#Py04 117,{
+payg_cas04,40,235,1 script Kafra Service#Py04 117,{
callfunc "F_GKafra", "payg_cas04", "Payon";
end;
OnRecvCastlePy04:
- if (GetCastleData("payg_cas04.gat",9) < 1) disablenpc "Kafra Service#Py04";
+ if (GetCastleData("payg_cas04",9) < 1) disablenpc "Kafra Service#Py04";
end;
}
// Castle 5 =============
-payg_cas05.gat,276,227,1 script Kafra Service#Py05 117,{
+payg_cas05,276,227,1 script Kafra Service#Py05 117,{
callfunc "F_GKafra", "payg_cas05", "Payon";
end;
OnRecvCastlePy05:
- if (GetCastleData("payg_cas05.gat",9) < 1) disablenpc "Kafra Service#Py05";
+ if (GetCastleData("payg_cas05",9) < 1) disablenpc "Kafra Service#Py05";
end;
-}
+} \ No newline at end of file
diff --git a/npc/guild/payg/payg_managers.txt b/npc/guild/payg/payg_managers.txt
index bec92a3f5..6d437bbb3 100644
--- a/npc/guild/payg/payg_managers.txt
+++ b/npc/guild/payg/payg_managers.txt
@@ -15,17 +15,17 @@
// Castle 1 ==================================================================================
-payg_cas01.gat,120,58,4 script Grunday 55,{
+payg_cas01,120,58,4 script Grunday 55,{
if(callfunc("F_GldManager","Grunday","payg_cas01",290,7,"Py01") == 0) close;
- if(@GDnum==10) guardian "payg_cas01.gat",210,120,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas01.gat",69,26,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas01.gat",23,141,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas01.gat",224,87,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas01.gat",81,45,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas01.gat",214,53,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas01.gat",69,26,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas01.gat",23,141,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",7;
+ if(@GDnum==10) guardian "payg_cas01",210,120,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",0;
+ if(@GDnum==11) guardian "payg_cas01",69,26,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",1;
+ if(@GDnum==12) guardian "payg_cas01",23,141,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",2;
+ if(@GDnum==13) guardian "payg_cas01",224,87,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",3;
+ if(@GDnum==14) guardian "payg_cas01",81,45,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",4;
+ if(@GDnum==15) guardian "payg_cas01",214,53,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",5;
+ if(@GDnum==16) guardian "payg_cas01",69,26,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",6;
+ if(@GDnum==17) guardian "payg_cas01",23,141,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",7;
mes "[ Grunday ]";
mes "Guardian has been installed, guardian will protect our guild base against enemies.";
close;
@@ -33,17 +33,17 @@ payg_cas01.gat,120,58,4 script Grunday 55,{
// Castle 2 ==================================================================================
-payg_cas02.gat,22,260,7 script Cherrios 55,{
+payg_cas02,22,260,7 script Cherrios 55,{
if(callfunc("F_GldManager","Cherrios","payg_cas02",145,143,"Py02") == 0) close;
- if(@GDnum==10) guardian "payg_cas02.gat",208,37,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas02.gat",51,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas02.gat",286,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas02.gat",217,42,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas02.gat",264,266,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas02.gat",51,245,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",7;
+ if(@GDnum==10) guardian "payg_cas02",208,37,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",0;
+ if(@GDnum==11) guardian "payg_cas02",51,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",1;
+ if(@GDnum==12) guardian "payg_cas02",286,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",2;
+ if(@GDnum==13) guardian "payg_cas02",217,42,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",3;
+ if(@GDnum==14) guardian "payg_cas02",264,266,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",4;
+ if(@GDnum==15) guardian "payg_cas02",51,245,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",5;
+ if(@GDnum==16) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",6;
+ if(@GDnum==17) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",7;
mes "[ Cherrios ]";
mes "Guardian has been installed, guardian will protect our guild base against enemies.";
close;
@@ -51,17 +51,17 @@ payg_cas02.gat,22,260,7 script Cherrios 55,{
// Castle 3 ==================================================================================
-payg_cas03.gat,10,277,0 script Garriet 55,{
+payg_cas03,10,277,0 script Garriet 55,{
if(callfunc("F_GldManager","Garriet","payg_cas03",158,168,"Py03") == 0) close;
- if(@GDnum==10) guardian "payg_cas03.gat",252,39,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas03.gat",23,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas03.gat",34,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas03.gat",57,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas03.gat",20,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas03.gat",34,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas03.gat",23,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas03.gat",28,253,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",7;
+ if(@GDnum==10) guardian "payg_cas03",252,39,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",0;
+ if(@GDnum==11) guardian "payg_cas03",23,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",1;
+ if(@GDnum==12) guardian "payg_cas03",34,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",2;
+ if(@GDnum==13) guardian "payg_cas03",57,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",3;
+ if(@GDnum==14) guardian "payg_cas03",20,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",4;
+ if(@GDnum==15) guardian "payg_cas03",34,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",5;
+ if(@GDnum==16) guardian "payg_cas03",23,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",6;
+ if(@GDnum==17) guardian "payg_cas03",28,253,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",7;
mes "[ Garriet ]";
mes "Guardian has been installed, guardian will protect our guild base against enemies.";
close;
@@ -69,17 +69,17 @@ payg_cas03.gat,10,277,0 script Garriet 55,{
// Castle 4 ==================================================================================
-payg_cas04.gat,38,284,3 script DJ 55,{
+payg_cas04,38,284,3 script DJ 55,{
if(callfunc("F_GldManager","DJ","payg_cas04",146,48,"Py04") == 0) close;
- if(@GDnum==10) guardian "payg_cas04.gat",236,172,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas04.gat",14,260,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas04.gat",15,30,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas04.gat",257,166,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas04.gat",65,261,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas04.gat",65,261,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas04.gat",52,29,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas04.gat",15,30,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",7;
+ if(@GDnum==10) guardian "payg_cas04",236,172,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",0;
+ if(@GDnum==11) guardian "payg_cas04",14,260,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",1;
+ if(@GDnum==12) guardian "payg_cas04",15,30,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",2;
+ if(@GDnum==13) guardian "payg_cas04",257,166,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",3;
+ if(@GDnum==14) guardian "payg_cas04",65,261,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",4;
+ if(@GDnum==15) guardian "payg_cas04",65,261,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",5;
+ if(@GDnum==16) guardian "payg_cas04",52,29,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",6;
+ if(@GDnum==17) guardian "payg_cas04",15,30,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",7;
mes "[ DJ ]";
mes "Guardian has been installed, guardian will protect our guild base against enemies.";
close;
@@ -87,18 +87,18 @@ payg_cas04.gat,38,284,3 script DJ 55,{
// Castle 5 ==================================================================================
-payg_cas05.gat,277,249,3 script Najarf 55,{
+payg_cas05,277,249,3 script Najarf 55,{
if(callfunc("F_GldManager","Najarf","payg_cas05",156,131,"Py05") == 0) close;
- if(@GDnum==10) guardian "payg_cas05.gat",51,258,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas05.gat",286,235,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas05.gat",282,277,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas05.gat",18,281,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas05.gat",289,256,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas05.gat",275,42,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas05.gat",254,9,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas05.gat",236,256,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",7;
+ if(@GDnum==10) guardian "payg_cas05",51,258,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",0;
+ if(@GDnum==11) guardian "payg_cas05",286,235,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",1;
+ if(@GDnum==12) guardian "payg_cas05",282,277,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",2;
+ if(@GDnum==13) guardian "payg_cas05",18,281,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",3;
+ if(@GDnum==14) guardian "payg_cas05",289,256,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",4;
+ if(@GDnum==15) guardian "payg_cas05",275,42,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",5;
+ if(@GDnum==16) guardian "payg_cas05",254,9,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",6;
+ if(@GDnum==17) guardian "payg_cas05",236,256,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",7;
mes "[ Najarf ]";
mes "Guardian has been installed, guardian will protect our guild base against enemies.";
close;
-}
+} \ No newline at end of file
diff --git a/npc/guild/payg/payg_treas.txt b/npc/guild/payg/payg_treas.txt
index 10a1f0d7d..1ea06c266 100644
--- a/npc/guild/payg/payg_treas.txt
+++ b/npc/guild/payg/payg_treas.txt
@@ -17,7 +17,7 @@
//<================================ Castle 1 ================================>\\
// Treasure Spawn ----------------------------------------------------------
-payg_cas01.gat,1,1,0 script Treasure_Py01 -1,{
+payg_cas01,1,1,0 script Treasure_Py01 -1,{
OnRecvCastlePy01:
end;
OnInit:
@@ -27,14 +27,14 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas01.gat","Treasure Chest Broken Open",17;
+ mapannounce "payg_cas01","Treasure Chest Broken Open",17;
set $boxNumPy01, $boxNumPy01 -1;
- if($boxNumPy01 == 0) mapannounce "payg_cas01.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ if($boxNumPy01 == 0) mapannounce "payg_cas01", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
// Treasure Room Switch ---------------------------------------------------
-payg_cas01.gat,295,8,0 script Switch#TresPy01 111,{
+payg_cas01,295,8,0 script Switch#TresPy01 111,{
callfunc "F_GldTreasSw", "payg_cas01",120,59;
end;
}
@@ -42,7 +42,7 @@ payg_cas01.gat,295,8,0 script Switch#TresPy01 111,{
//<================================ Castle 2 ================================>\\
// Treasure Spawn ----------------------------------------------------------
-payg_cas02.gat,1,1,0 script Treasure_Py02 -1,{
+payg_cas02,1,1,0 script Treasure_Py02 -1,{
OnRecvCastlePy02:
end;
OnInit:
@@ -52,14 +52,14 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas02.gat","Treasure Chest Broken Open",17;
+ mapannounce "payg_cas02","Treasure Chest Broken Open",17;
set $boxNumPy02, $boxNumPy02 -1;
- if($boxNumPy02 == 0) mapannounce "payg_cas02.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ if($boxNumPy02 == 0) mapannounce "payg_cas02", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
// Treasure Room Switch ----------------------------------------------------
-payg_cas02.gat,149,148,0 script Switch#TresPy02 111,{
+payg_cas02,149,148,0 script Switch#TresPy02 111,{
callfunc "F_GldTreasSw", "payg_cas02",22,261;
end;
}
@@ -67,7 +67,7 @@ payg_cas02.gat,149,148,0 script Switch#TresPy02 111,{
//<================================ Castle 3 ================================>\\
// Treasure Spawn ----------------------------------------------------------
-payg_cas03.gat,158,168,0 script Treasure_Py03 -1,{
+payg_cas03,158,168,0 script Treasure_Py03 -1,{
OnRecvCastlePy03:
end;
OnInit:
@@ -77,14 +77,14 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas03.gat","Treasure Chest Broken Open",17;
+ mapannounce "payg_cas03","Treasure Chest Broken Open",17;
set $boxNumPy03, $boxNumPy03 -1;
- if($boxNumPy03 == 0) mapannounce "payg_cas03.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ if($boxNumPy03 == 0) mapannounce "payg_cas03", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
// Treasure Room Switch ----------------------------------------------------
-payg_cas03.gat,163,167,0 script Switch#TresPy03 111,{
+payg_cas03,163,167,0 script Switch#TresPy03 111,{
callfunc "F_GldTreasSw", "payg_cas03",11,278;
end;
}
@@ -92,7 +92,7 @@ payg_cas03.gat,163,167,0 script Switch#TresPy03 111,{
//<================================ Castle 4 ================================>\\
// Treasure Spawn ----------------------------------------------------------
-payg_cas04.gat,146,48,0 script Treasure_Py04 -1,{
+payg_cas04,146,48,0 script Treasure_Py04 -1,{
OnRecvCastlePy04:
end;
OnInit:
@@ -102,14 +102,14 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas04.gat","Treasure Chest Broken Open",17;
+ mapannounce "payg_cas04","Treasure Chest Broken Open",17;
set $boxNumPy04, $boxNumPy04 -1;
- if($boxNumPy04 == 0) mapannounce "payg_cas04.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ if($boxNumPy04 == 0) mapannounce "payg_cas04", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
// Treasure Room Switch ----------------------------------------------------
-payg_cas04.gat,151,47,0 script Switch#TresPy04 111,{
+payg_cas04,151,47,0 script Switch#TresPy04 111,{
callfunc "F_GldTreasSw", "payg_cas04",38,285;
end;
}
@@ -117,7 +117,7 @@ payg_cas04.gat,151,47,0 script Switch#TresPy04 111,{
//<================================ Castle 5 ================================>\\
// Treasure Spawn ----------------------------------------------------------
-payg_cas05.gat,156,131,0 script Treasure_Py05 -1,{
+payg_cas05,156,131,0 script Treasure_Py05 -1,{
OnRecvCastlePy05:
end;
OnInit:
@@ -127,14 +127,14 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas05.gat","Treasure Chest Broken Open",17;
+ mapannounce "payg_cas05","Treasure Chest Broken Open",17;
set $boxNumPy05, $boxNumPy05 -1;
- if($boxNumPy05 == 0) mapannounce "payg_cas05.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ if($boxNumPy05 == 0) mapannounce "payg_cas05", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
// Treasure Room Switch ----------------------------------------------------
-payg_cas05.gat,161,136,0 script Switch#TresPy05 111,{
+payg_cas05,161,136,0 script Switch#TresPy05 111,{
callfunc "F_GldTreasSw", "payg_cas05",277,250;
end;
-}
+} \ No newline at end of file