diff options
Diffstat (limited to 'npc/guild/prtg')
-rw-r--r-- | npc/guild/prtg/prtg_dunsw.txt | 12 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_ev_agit.txt | 52 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_flags.txt | 170 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_guardians.txt | 102 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_kafras.txt | 24 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_managers.txt | 92 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_treas.txt | 42 |
7 files changed, 247 insertions, 247 deletions
diff --git a/npc/guild/prtg/prtg_dunsw.txt b/npc/guild/prtg/prtg_dunsw.txt index cfe99c771..29ef0eb5c 100644 --- a/npc/guild/prtg/prtg_dunsw.txt +++ b/npc/guild/prtg/prtg_dunsw.txt @@ -15,35 +15,35 @@ // Castle 1 ================================================ -prtg_cas01.gat,94,200,0 script Switch#DunPt01 111,{ +prtg_cas01,94,200,0 script Switch#DunPt01 111,{ callfunc "F_GldDunSw","prtg_cas01","03",28,251; close; } // Castle 2 ================================================ -prtg_cas02.gat,84,72,0 script Switch#DunPt02 111,{ +prtg_cas02,84,72,0 script Switch#DunPt02 111,{ callfunc "F_GldDunSw","prtg_cas02","03",164,268; close; } // Castle 3 ================================================ -prtg_cas03.gat,5,70,0 script Switch#DunPt03 111,{ +prtg_cas03,5,70,0 script Switch#DunPt03 111,{ callfunc "F_GldDunSw","prtg_cas03","03",164,179; close; } // Castle 4 ================================================ -prtg_cas04.gat,56,283,0 script Switch#DunPt04 111,{ +prtg_cas04,56,283,0 script Switch#DunPt04 111,{ callfunc "F_GldDunSw","prtg_cas04","03",268,203; close; } // Castle 5 ================================================ -prtg_cas05.gat,212,94,0 script Switch#DunPt05 111,{ +prtg_cas05,212,94,0 script Switch#DunPt05 111,{ callfunc "F_GldDunSw","prtg_cas05","03",199,28; close; -} +}
\ No newline at end of file diff --git a/npc/guild/prtg/prtg_ev_agit.txt b/npc/guild/prtg/prtg_ev_agit.txt index ed9a797fa..9f8d88a1a 100644 --- a/npc/guild/prtg/prtg_ev_agit.txt +++ b/npc/guild/prtg/prtg_ev_agit.txt @@ -16,12 +16,12 @@ // Castle 1 ================================================================ -prtg_cas01.gat,197,197,0 script Agit_Pt01 -1,{ +prtg_cas01,197,197,0 script Agit_Pt01 -1,{ OnInterIfInitOnce: - GetCastleData "prtg_cas01.gat",0,"::OnRecvCastlePt01"; + GetCastleData "prtg_cas01",0,"::OnRecvCastlePt01"; end; OnRecvCastlePt01: - RequestGuildInfo GetCastleData("prtg_cas01.gat",1); + RequestGuildInfo GetCastleData("prtg_cas01",1); end; OnAgitStart: callfunc "F_AgitStart","prtg_cas01","Pt01",197,197; @@ -33,8 +33,8 @@ OnGuildBreak: callfunc "F_GuildBreak","prtg_cas01","Pt01"; end; OnAgitEliminate: - MapRespawnGuildID "prtg_cas01.gat",GetCastleData("prtg_cas01.gat",1),6; - Monster "prtg_cas01.gat",197,197,"EMPERIUM",1288,1,"Agit_Pt01::OnAgitBreak"; + MapRespawnGuildID "prtg_cas01",GetCastleData("prtg_cas01",1),6; + Monster "prtg_cas01",197,197,"EMPERIUM",1288,1,"Agit_Pt01::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","prtg_cas01","Pt01"; @@ -42,12 +42,12 @@ OnAgitEnd: } // Castle 2 ================================================================ -prtg_cas02.gat,158,174,0 script Agit_Pt02 -1,{ +prtg_cas02,158,174,0 script Agit_Pt02 -1,{ OnInterIfInitOnce: - GetCastleData "prtg_cas02.gat",0,"::OnRecvCastlePt02"; + GetCastleData "prtg_cas02",0,"::OnRecvCastlePt02"; end; OnRecvCastlePt02: - RequestGuildInfo GetCastleData("prtg_cas02.gat",1); + RequestGuildInfo GetCastleData("prtg_cas02",1); end; OnAgitStart: callfunc "F_AgitStart","prtg_cas02","Pt02",158,174; @@ -59,8 +59,8 @@ OnGuildBreak: callfunc "F_GuildBreak","prtg_cas02","Pt02"; end; OnAgitEliminate: - MapRespawnGuildID "prtg_cas02.gat",GetCastleData("prtg_cas02.gat",1),6; - Monster "prtg_cas02.gat",158,174,"EMPERIUM",1288,1,"Agit_Pt02::OnAgitBreak"; + MapRespawnGuildID "prtg_cas02",GetCastleData("prtg_cas02",1),6; + Monster "prtg_cas02",158,174,"EMPERIUM",1288,1,"Agit_Pt02::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","prtg_cas02","Pt02"; @@ -68,12 +68,12 @@ OnAgitEnd: } // Castle 3 ================================================================ -prtg_cas03.gat,17,221,0 script Agit_Pt03 -1,{ +prtg_cas03,17,221,0 script Agit_Pt03 -1,{ OnInterIfInitOnce: - GetCastleData "prtg_cas03.gat",0,"::OnRecvCastlePt03"; + GetCastleData "prtg_cas03",0,"::OnRecvCastlePt03"; end; OnRecvCastlePt03: - RequestGuildInfo GetCastleData("prtg_cas03.gat",1); + RequestGuildInfo GetCastleData("prtg_cas03",1); end; OnAgitStart: callfunc "F_AgitStart","prtg_cas03","Pt03",17,221; @@ -85,8 +85,8 @@ OnGuildBreak: callfunc "F_GuildBreak","prtg_cas03","Pt03"; end; OnAgitEliminate: - MapRespawnGuildID "prtg_cas03.gat",GetCastleData("prtg_cas03.gat",1),6; - Monster "prtg_cas03.gat",17,221,"EMPERIUM",1288,1,"Agit_Pt03::OnAgitBreak"; + MapRespawnGuildID "prtg_cas03",GetCastleData("prtg_cas03",1),6; + Monster "prtg_cas03",17,221,"EMPERIUM",1288,1,"Agit_Pt03::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","prtg_cas03","Pt03"; @@ -94,12 +94,12 @@ OnAgitEnd: } // Castle 4 ================================================================ -prtg_cas04.gat,292,14,0 script Agit_Pt04 -1,{ +prtg_cas04,292,14,0 script Agit_Pt04 -1,{ OnInterIfInitOnce: - GetCastleData "prtg_cas04.gat",0,"::OnRecvCastlePt04"; + GetCastleData "prtg_cas04",0,"::OnRecvCastlePt04"; end; OnRecvCastlePt04: - RequestGuildInfo GetCastleData("prtg_cas04.gat",1); + RequestGuildInfo GetCastleData("prtg_cas04",1); end; OnAgitStart: callfunc "F_AgitStart","prtg_cas04","Pt04",292,14; @@ -111,8 +111,8 @@ OnGuildBreak: callfunc "F_GuildBreak","prtg_cas04","Pt04"; end; OnAgitEliminate: - MapRespawnGuildID "prtg_cas04.gat",GetCastleData("prtg_cas04.gat",1),6; - Monster "prtg_cas04.gat",292,14,"EMPERIUM",1288,1,"Agit_Pt04::OnAgitBreak"; + MapRespawnGuildID "prtg_cas04",GetCastleData("prtg_cas04",1),6; + Monster "prtg_cas04",292,14,"EMPERIUM",1288,1,"Agit_Pt04::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","prtg_cas04","Pt04"; @@ -120,12 +120,12 @@ OnAgitEnd: } // Castle 5 ================================================================ -prtg_cas05.gat,266,266,0 script Agit_Pt05 -1,{ +prtg_cas05,266,266,0 script Agit_Pt05 -1,{ OnInterIfInitOnce: - GetCastleData "prtg_cas05.gat",0,"::OnRecvCastlePt05"; + GetCastleData "prtg_cas05",0,"::OnRecvCastlePt05"; end; OnRecvCastlePt05: - RequestGuildInfo GetCastleData("prtg_cas05.gat",1); + RequestGuildInfo GetCastleData("prtg_cas05",1); end; OnAgitStart: callfunc "F_AgitStart","prtg_cas05","Pt05",266,266; @@ -137,10 +137,10 @@ OnGuildBreak: callfunc "F_GuildBreak","prtg_cas05","Pt05"; end; OnAgitEliminate: - MapRespawnGuildID "prtg_cas05.gat",GetCastleData("prtg_cas05.gat",1),6; - Monster "prtg_cas05.gat",266,266,"EMPERIUM",1288,1,"Agit_Pt05::OnAgitBreak"; + MapRespawnGuildID "prtg_cas05",GetCastleData("prtg_cas05",1),6; + Monster "prtg_cas05",266,266,"EMPERIUM",1288,1,"Agit_Pt05::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","prtg_cas05","Pt05"; end; -} +}
\ No newline at end of file diff --git a/npc/guild/prtg/prtg_flags.txt b/npc/guild/prtg/prtg_flags.txt index 6473ce633..d596741c8 100644 --- a/npc/guild/prtg/prtg_flags.txt +++ b/npc/guild/prtg/prtg_flags.txt @@ -19,78 +19,78 @@ //================================================================================// // Castle 1 //================================================================================// -prontera.gat,155,190,4 script Kriemhild#p1-1::Kriemhild 722,{ +prontera,155,190,4 script Kriemhild#p1-1::Kriemhild 722,{ callfunc "F_Flags","Prontera","prtg_cas01",97,174,0; close; OnRecvCastlePt01: - FlagEmblem GetCastleData("prtg_cas01.gat",1); + FlagEmblem GetCastleData("prtg_cas01",1); end; } -prt_gld.gat,131,60,6 script Kriemhild#p1-2::Kriemhild2 722,{ +prt_gld,131,60,6 script Kriemhild#p1-2::Kriemhild2 722,{ callfunc "F_Flags","Prontera","prtg_cas01",97,174,1; close; OnRecvCastlePt01: - FlagEmblem GetCastleData("prtg_cas01.gat",1); + FlagEmblem GetCastleData("prtg_cas01",1); end; } // In Guild =========================================== -prt_gld.gat,138,68,6 duplicate(Kriemhild2) Kriemhild#p1-3 722 -prt_gld.gat,138,60,6 duplicate(Kriemhild2) Kriemhild#p1-4 722 -prt_gld.gat,135,60,6 duplicate(Kriemhild2) Kriemhild#p1-5 722 +prt_gld,138,68,6 duplicate(Kriemhild2) Kriemhild#p1-3 722 +prt_gld,138,60,6 duplicate(Kriemhild2) Kriemhild#p1-4 722 +prt_gld,135,60,6 duplicate(Kriemhild2) Kriemhild#p1-5 722 // In Castle ============================================= -prtg_cas01.gat,58,56,4 duplicate(Kriemhild) Kriemhild#p1-6 722 -prtg_cas01.gat,64,56,4 duplicate(Kriemhild) Kriemhild#p1-7 722 -prtg_cas01.gat,76,32,4 duplicate(Kriemhild) Kriemhild#p1-8 722 -prtg_cas01.gat,84,32,4 duplicate(Kriemhild) Kriemhild#p1-9 722 -prtg_cas01.gat,94,39,4 duplicate(Kriemhild) Kriemhild#p1-10 722 -prtg_cas01.gat,94,24,4 duplicate(Kriemhild) Kriemhild#p1-11 722 -prtg_cas01.gat,73,14,4 duplicate(Kriemhild) Kriemhild#p1-12 722 -prtg_cas01.gat,73,6,4 duplicate(Kriemhild) Kriemhild#p1-13 722 -prtg_cas01.gat,55,46,4 duplicate(Kriemhild) Kriemhild#p1-14 722 -prtg_cas01.gat,45,46,4 duplicate(Kriemhild) Kriemhild#p1-15 722 +prtg_cas01,58,56,4 duplicate(Kriemhild) Kriemhild#p1-6 722 +prtg_cas01,64,56,4 duplicate(Kriemhild) Kriemhild#p1-7 722 +prtg_cas01,76,32,4 duplicate(Kriemhild) Kriemhild#p1-8 722 +prtg_cas01,84,32,4 duplicate(Kriemhild) Kriemhild#p1-9 722 +prtg_cas01,94,39,4 duplicate(Kriemhild) Kriemhild#p1-10 722 +prtg_cas01,94,24,4 duplicate(Kriemhild) Kriemhild#p1-11 722 +prtg_cas01,73,14,4 duplicate(Kriemhild) Kriemhild#p1-12 722 +prtg_cas01,73,6,4 duplicate(Kriemhild) Kriemhild#p1-13 722 +prtg_cas01,55,46,4 duplicate(Kriemhild) Kriemhild#p1-14 722 +prtg_cas01,45,46,4 duplicate(Kriemhild) Kriemhild#p1-15 722 //================================================================================// // Castle 2 //================================================================================// -prontera.gat,146,194,3 script Swanhild#p2-1::Swanhild 722,{ +prontera,146,194,3 script Swanhild#p2-1::Swanhild 722,{ callfunc "F_Flags","Prontera","prtg_cas02",71,36,0; close; OnRecvCastlePt02: - FlagEmblem GetCastleData("prtg_cas02.gat",1); + FlagEmblem GetCastleData("prtg_cas02",1); end; } -prt_gld.gat,244,126,8 script Swanhild#p2-2::Swanhild2 722,{ +prt_gld,244,126,8 script Swanhild#p2-2::Swanhild2 722,{ callfunc "F_Flags","Prontera","prtg_cas02",71,36,1; close; OnRecvCastlePt02: - FlagEmblem GetCastleData("prtg_cas02.gat",1); + FlagEmblem GetCastleData("prtg_cas02",1); end; } // In Guild =========================================== -prt_gld.gat,244,128,8 duplicate(Swanhild2) Swanhild#p2-3 722 -prt_gld.gat,236,126,8 duplicate(Swanhild2) Swanhild#p2-4 722 -prt_gld.gat,236,128,8 duplicate(Swanhild2) Swanhild#p2-5 722 +prt_gld,244,128,8 duplicate(Swanhild2) Swanhild#p2-3 722 +prt_gld,236,126,8 duplicate(Swanhild2) Swanhild#p2-4 722 +prt_gld,236,128,8 duplicate(Swanhild2) Swanhild#p2-5 722 // In Castle ============================================= -prtg_cas02.gat,40,227,4 duplicate(Swanhild) Swanhild#p2-6 722 -prtg_cas02.gat,46,227,4 duplicate(Swanhild) Swanhild#p2-7 722 -prtg_cas02.gat,11,219,4 duplicate(Swanhild) Swanhild#p2-8 722 -prtg_cas02.gat,11,214,4 duplicate(Swanhild) Swanhild#p2-9 722 -prtg_cas02.gat,20,219,4 duplicate(Swanhild) Swanhild#p2-10 722 -prtg_cas02.gat,20,214,4 duplicate(Swanhild) Swanhild#p2-11 722 -prtg_cas02.gat,79,227,8 duplicate(Swanhild) Swanhild#p2-12 722 -prtg_cas02.gat,70,227,8 duplicate(Swanhild) Swanhild#p2-13 722 -prtg_cas02.gat,38,189,8 duplicate(Swanhild) Swanhild#p2-14 722 -prtg_cas02.gat,34,189,8 duplicate(Swanhild) Swanhild#p2-15 722 -prtg_cas02.gat,153,161,4 duplicate(Swanhild) Swanhild#p2-16 722 -prtg_cas02.gat,162,161,4 duplicate(Swanhild) Swanhild#p2-17 722 +prtg_cas02,40,227,4 duplicate(Swanhild) Swanhild#p2-6 722 +prtg_cas02,46,227,4 duplicate(Swanhild) Swanhild#p2-7 722 +prtg_cas02,11,219,4 duplicate(Swanhild) Swanhild#p2-8 722 +prtg_cas02,11,214,4 duplicate(Swanhild) Swanhild#p2-9 722 +prtg_cas02,20,219,4 duplicate(Swanhild) Swanhild#p2-10 722 +prtg_cas02,20,214,4 duplicate(Swanhild) Swanhild#p2-11 722 +prtg_cas02,79,227,8 duplicate(Swanhild) Swanhild#p2-12 722 +prtg_cas02,70,227,8 duplicate(Swanhild) Swanhild#p2-13 722 +prtg_cas02,38,189,8 duplicate(Swanhild) Swanhild#p2-14 722 +prtg_cas02,34,189,8 duplicate(Swanhild) Swanhild#p2-15 722 +prtg_cas02,153,161,4 duplicate(Swanhild) Swanhild#p2-16 722 +prtg_cas02,162,161,4 duplicate(Swanhild) Swanhild#p2-17 722 @@ -98,76 +98,76 @@ prtg_cas02.gat,162,161,4 duplicate(Swanhild) Swanhild#p2-17 722 //================================================================================// // Castle 3 //================================================================================// -prontera.gat,143,203,2 script Fadhgridh#p3-1::Fadhgridh 722,{ +prontera,143,203,2 script Fadhgridh#p3-1::Fadhgridh 722,{ callfunc "F_Flags","Prontera","prtg_cas03",45,99,0; close; OnRecvCastlePt03: - FlagEmblem GetCastleData("prtg_cas03.gat",1); + FlagEmblem GetCastleData("prtg_cas03",1); end; } -prt_gld.gat,147,140,4 script Fadhgridh#p3-2::Fadhgridh2 722,{ +prt_gld,147,140,4 script Fadhgridh#p3-2::Fadhgridh2 722,{ callfunc "F_Flags","Prontera","prtg_cas03",45,99,1; close; OnRecvCastlePt03: - FlagEmblem GetCastleData("prtg_cas03.gat",1); + FlagEmblem GetCastleData("prtg_cas03",1); end; } // In Guild =========================================== -prt_gld.gat,147,136,4 duplicate(Fadhgridh2) Fadhgridh#p3-3 722 -prt_gld.gat,158,140,4 duplicate(Fadhgridh2) Fadhgridh#p3-4 722 -prt_gld.gat,158,136,4 duplicate(Fadhgridh2) Fadhgridh#p3-5 722 +prt_gld,147,136,4 duplicate(Fadhgridh2) Fadhgridh#p3-3 722 +prt_gld,158,140,4 duplicate(Fadhgridh2) Fadhgridh#p3-4 722 +prt_gld,158,136,4 duplicate(Fadhgridh2) Fadhgridh#p3-5 722 // In Castle ============================================ -prtg_cas03.gat,168,28,4 duplicate(Fadhgridh) Fadhgridh#p3-6 722 -prtg_cas03.gat,182,28,4 duplicate(Fadhgridh) Fadhgridh#p3-7 722 -prtg_cas03.gat,43,50,4 duplicate(Fadhgridh) Fadhgridh#p3-8 722 -prtg_cas03.gat,48,50,4 duplicate(Fadhgridh) Fadhgridh#p3-9 722 -prtg_cas03.gat,43,58,4 duplicate(Fadhgridh) Fadhgridh#p3-10 722 -prtg_cas03.gat,48,58,4 duplicate(Fadhgridh) Fadhgridh#p3-11 722 -prtg_cas03.gat,158,210,4 duplicate(Fadhgridh) Fadhgridh#p3-12 722 -prtg_cas03.gat,169,210,4 duplicate(Fadhgridh) Fadhgridh#p3-13 722 -prtg_cas03.gat,162,201,4 duplicate(Fadhgridh) Fadhgridh#p3-14 722 -prtg_cas03.gat,165,201,4 duplicate(Fadhgridh) Fadhgridh#p3-15 722 +prtg_cas03,168,28,4 duplicate(Fadhgridh) Fadhgridh#p3-6 722 +prtg_cas03,182,28,4 duplicate(Fadhgridh) Fadhgridh#p3-7 722 +prtg_cas03,43,50,4 duplicate(Fadhgridh) Fadhgridh#p3-8 722 +prtg_cas03,48,50,4 duplicate(Fadhgridh) Fadhgridh#p3-9 722 +prtg_cas03,43,58,4 duplicate(Fadhgridh) Fadhgridh#p3-10 722 +prtg_cas03,48,58,4 duplicate(Fadhgridh) Fadhgridh#p3-11 722 +prtg_cas03,158,210,4 duplicate(Fadhgridh) Fadhgridh#p3-12 722 +prtg_cas03,169,210,4 duplicate(Fadhgridh) Fadhgridh#p3-13 722 +prtg_cas03,162,201,4 duplicate(Fadhgridh) Fadhgridh#p3-14 722 +prtg_cas03,165,201,4 duplicate(Fadhgridh) Fadhgridh#p3-15 722 //================================================================================// // Castle 4 //================================================================================// -prontera.gat,167,203,6 script Skoegul#p4-1::Skoegul 722,{ +prontera,167,203,6 script Skoegul#p4-1::Skoegul 722,{ callfunc "F_Flags","Prontera","prtg_cas04",259,265,0; close; OnRecvCastlePt04: - FlagEmblem GetCastleData("prtg_cas04.gat",1); + FlagEmblem GetCastleData("prtg_cas04",1); end; } -prt_gld.gat,120,243,6 script Skoegul#p4-2::Skoegul2 722,{ +prt_gld,120,243,6 script Skoegul#p4-2::Skoegul2 722,{ callfunc "F_Flags","Prontera","prtg_cas04",259,265,1; close; OnRecvCastlePt04: - FlagEmblem GetCastleData("prtg_cas04.gat",1); + FlagEmblem GetCastleData("prtg_cas04",1); end; } // In Guild =========================================== -prt_gld.gat,120,236,6 duplicate(Skoegul2) Skoegul#p4-3 722 -prt_gld.gat,122,243,6 duplicate(Skoegul2) Skoegul#p4-4 722 -prt_gld.gat,122,246,6 duplicate(Skoegul2) Skoegul#p4-5 722 +prt_gld,120,236,6 duplicate(Skoegul2) Skoegul#p4-3 722 +prt_gld,122,243,6 duplicate(Skoegul2) Skoegul#p4-4 722 +prt_gld,122,246,6 duplicate(Skoegul2) Skoegul#p4-5 722 // In Castle ============================================= -prtg_cas04.gat,82,29,4 duplicate(Skoegul) Skoegul#p4-6 722 -prtg_cas04.gat,75,29,4 duplicate(Skoegul) Skoegul#p4-7 722 -prtg_cas04.gat,75,27,4 duplicate(Skoegul) Skoegul#p4-8 722 -prtg_cas04.gat,82,27,4 duplicate(Skoegul) Skoegul#p4-9 722 -prtg_cas04.gat,59,29,4 duplicate(Skoegul) Skoegul#p4-10 722 -prtg_cas04.gat,67,29,4 duplicate(Skoegul) Skoegul#p4-11 722 -prtg_cas04.gat,258,25,4 duplicate(Skoegul) Skoegul#p4-12 722 -prtg_cas04.gat,258,20,4 duplicate(Skoegul) Skoegul#p4-13 722 -prtg_cas04.gat,263,20,4 duplicate(Skoegul) Skoegul#p4-14 722 -prtg_cas04.gat,263,27,4 duplicate(Skoegul) Skoegul#p4-15 722 +prtg_cas04,82,29,4 duplicate(Skoegul) Skoegul#p4-6 722 +prtg_cas04,75,29,4 duplicate(Skoegul) Skoegul#p4-7 722 +prtg_cas04,75,27,4 duplicate(Skoegul) Skoegul#p4-8 722 +prtg_cas04,82,27,4 duplicate(Skoegul) Skoegul#p4-9 722 +prtg_cas04,59,29,4 duplicate(Skoegul) Skoegul#p4-10 722 +prtg_cas04,67,29,4 duplicate(Skoegul) Skoegul#p4-11 722 +prtg_cas04,258,25,4 duplicate(Skoegul) Skoegul#p4-12 722 +prtg_cas04,258,20,4 duplicate(Skoegul) Skoegul#p4-13 722 +prtg_cas04,263,20,4 duplicate(Skoegul) Skoegul#p4-14 722 +prtg_cas04,263,27,4 duplicate(Skoegul) Skoegul#p4-15 722 @@ -175,33 +175,33 @@ prtg_cas04.gat,263,27,4 duplicate(Skoegul) Skoegul#p4-15 722 //================================================================================// // Castle 5 //================================================================================// -prontera.gat,165,194,5 script Gondul#p5-1::Gondul 722,{ +prontera,165,194,5 script Gondul#p5-1::Gondul 722,{ callfunc "F_Flags","Prontera","prtg_cas05",34,30,0; close; OnRecvCastlePt05: - FlagEmblem GetCastleData("prtg_cas05.gat",1); + FlagEmblem GetCastleData("prtg_cas05",1); end; } -prt_gld.gat,199,243,2 script Gondul#p5-2::Gondul2 722,{ +prt_gld,199,243,2 script Gondul#p5-2::Gondul2 722,{ callfunc "F_Flags","Prontera","prtg_cas05",34,30,1; close; OnRecvCastlePt05: - FlagEmblem GetCastleData("prtg_cas05.gat",1); + FlagEmblem GetCastleData("prtg_cas05",1); end; } // In Guild =========================================== -prt_gld.gat,199,236,2 duplicate(Gondul2) Gondul#p5-3 722 -prt_gld.gat,197,243,2 duplicate(Gondul2) Gondul#p5-4 722 -prt_gld.gat,197,236,2 duplicate(Gondul2) Gondul#p5-5 722 +prt_gld,199,236,2 duplicate(Gondul2) Gondul#p5-3 722 +prt_gld,197,243,2 duplicate(Gondul2) Gondul#p5-4 722 +prt_gld,197,236,2 duplicate(Gondul2) Gondul#p5-5 722 // In Castle ============================================= -prtg_cas05.gat,19,247,4 duplicate(Gondul) Gondul#p5-6 722 -prtg_cas05.gat,19,243,4 duplicate(Gondul) Gondul#p5-7 722 -prtg_cas05.gat,26,247,4 duplicate(Gondul) Gondul#p5-8 722 -prtg_cas05.gat,26,243,4 duplicate(Gondul) Gondul#p5-9 722 -prtg_cas05.gat,249,289,4 duplicate(Gondul) Gondul#p5-10 722 -prtg_cas05.gat,256,289,4 duplicate(Gondul) Gondul#p5-11 722 -prtg_cas05.gat,253,271,4 duplicate(Gondul) Gondul#p5-12 722 -prtg_cas05.gat,273,257,4 duplicate(Gondul) Gondul#p5-13 722 +prtg_cas05,19,247,4 duplicate(Gondul) Gondul#p5-6 722 +prtg_cas05,19,243,4 duplicate(Gondul) Gondul#p5-7 722 +prtg_cas05,26,247,4 duplicate(Gondul) Gondul#p5-8 722 +prtg_cas05,26,243,4 duplicate(Gondul) Gondul#p5-9 722 +prtg_cas05,249,289,4 duplicate(Gondul) Gondul#p5-10 722 +prtg_cas05,256,289,4 duplicate(Gondul) Gondul#p5-11 722 +prtg_cas05,253,271,4 duplicate(Gondul) Gondul#p5-12 722 +prtg_cas05,273,257,4 duplicate(Gondul) Gondul#p5-13 722
\ No newline at end of file diff --git a/npc/guild/prtg/prtg_guardians.txt b/npc/guild/prtg/prtg_guardians.txt index 41e269d93..e42fb30a3 100644 --- a/npc/guild/prtg/prtg_guardians.txt +++ b/npc/guild/prtg/prtg_guardians.txt @@ -17,92 +17,92 @@ //============================================================ -prtg_cas01.gat,197,197,0 script Guardian_Pt01 -1,{ +prtg_cas01,197,197,0 script Guardian_Pt01 -1,{ OnAgitInit: - if (GetCastleData("prtg_cas01.gat",10) == 1) guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",0; - if (GetCastleData("prtg_cas01.gat",11) == 1) guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",1; - if (GetCastleData("prtg_cas01.gat",12) == 1) guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",2; - if (GetCastleData("prtg_cas01.gat",13) == 1) guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",3; - if (GetCastleData("prtg_cas01.gat",14) == 1) guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",4; - if (GetCastleData("prtg_cas01.gat",15) == 1) guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",5; - if (GetCastleData("prtg_cas01.gat",16) == 1) guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",6; - if (GetCastleData("prtg_cas01.gat",17) == 1) guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",7; + if (GetCastleData("prtg_cas01",10) == 1) guardian "prtg_cas01",196,92,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",0; + if (GetCastleData("prtg_cas01",11) == 1) guardian "prtg_cas01",113,200,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",1; + if (GetCastleData("prtg_cas01",12) == 1) guardian "prtg_cas01",111,186,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",2; + if (GetCastleData("prtg_cas01",13) == 1) guardian "prtg_cas01",76,202,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",3; + if (GetCastleData("prtg_cas01",14) == 1) guardian "prtg_cas01",90,26,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",4; + if (GetCastleData("prtg_cas01",15) == 1) guardian "prtg_cas01",58,59,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",5; + if (GetCastleData("prtg_cas01",16) == 1) guardian "prtg_cas01",112,200,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",6; + if (GetCastleData("prtg_cas01",17) == 1) guardian "prtg_cas01",101,194,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",7; end; OnGuardianDied: // Event when Guardian dies - MapAnnounce "prtg_cas01.gat","A Guardian Has Fallen",17; + MapAnnounce "prtg_cas01","A Guardian Has Fallen",17; end; } //------------------------------------------------------------------------------ -prtg_cas02.gat,158,174,0 script Guardian_Pt02 -1,{ +prtg_cas02,158,174,0 script Guardian_Pt02 -1,{ OnAgitInit: - if (GetCastleData("prtg_cas02.gat",10) == 1) guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",0; - if (GetCastleData("prtg_cas02.gat",11) == 1) guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",1; - if (GetCastleData("prtg_cas02.gat",12) == 1) guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",2; - if (GetCastleData("prtg_cas02.gat",13) == 1) guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",3; - if (GetCastleData("prtg_cas02.gat",14) == 1) guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",4; - if (GetCastleData("prtg_cas02.gat",15) == 1) guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",5; - if (GetCastleData("prtg_cas02.gat",16) == 1) guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",6; - if (GetCastleData("prtg_cas02.gat",17) == 1) guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",7; + if (GetCastleData("prtg_cas02",10) == 1) guardian "prtg_cas02",75,71,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",0; + if (GetCastleData("prtg_cas02",11) == 1) guardian "prtg_cas02",56,31,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",1; + if (GetCastleData("prtg_cas02",12) == 1) guardian "prtg_cas02",42,223,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",2; + if (GetCastleData("prtg_cas02",13) == 1) guardian "prtg_cas02",44,195,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",3; + if (GetCastleData("prtg_cas02",14) == 1) guardian "prtg_cas02",197,22,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",4; + if (GetCastleData("prtg_cas02",15) == 1) guardian "prtg_cas02",68,71,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",5; + if (GetCastleData("prtg_cas02",16) == 1) guardian "prtg_cas02",202,27,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",6; + if (GetCastleData("prtg_cas02",17) == 1) guardian "prtg_cas02",59,24,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",7; end; OnGuardianDied: // Event when Guardian dies - MapAnnounce "prtg_cas02.gat","A Guardian Has Fallen",17; + MapAnnounce "prtg_cas02","A Guardian Has Fallen",17; end; } //------------------------------------------------------------------------------ -prtg_cas03.gat,17,221,0 script Guardian_Pt03 -1,{ +prtg_cas03,17,221,0 script Guardian_Pt03 -1,{ OnAgitInit: - if (GetCastleData("prtg_cas03.gat",10) == 1) guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",0; - if (GetCastleData("prtg_cas03.gat",11) == 1) guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",1; - if (GetCastleData("prtg_cas03.gat",12) == 1) guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",2; - if (GetCastleData("prtg_cas03.gat",13) == 1) guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",3; - if (GetCastleData("prtg_cas03.gat",14) == 1) guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",4; - if (GetCastleData("prtg_cas03.gat",15) == 1) guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",5; - if (GetCastleData("prtg_cas03.gat",16) == 1) guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",6; - if (GetCastleData("prtg_cas03.gat",17) == 1) guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",7; + if (GetCastleData("prtg_cas03",10) == 1) guardian "prtg_cas03",165,55,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",0; + if (GetCastleData("prtg_cas03",11) == 1) guardian "prtg_cas03",161,181,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",1; + if (GetCastleData("prtg_cas03",12) == 1) guardian "prtg_cas03",165,199,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",2; + if (GetCastleData("prtg_cas03",13) == 1) guardian "prtg_cas03",169,22,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",3; + if (GetCastleData("prtg_cas03",14) == 1) guardian "prtg_cas03",165,191,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",4; + if (GetCastleData("prtg_cas03",15) == 1) guardian "prtg_cas03",175,13,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",5; + if (GetCastleData("prtg_cas03",16) == 1) guardian "prtg_cas03",169,180,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",6; + if (GetCastleData("prtg_cas03",17) == 1) guardian "prtg_cas03",142,217,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",7; end; OnGuardianDied: // Event when Guardian dies - MapAnnounce "prtg_cas03.gat","A Guardian Has Fallen",17; + MapAnnounce "prtg_cas03","A Guardian Has Fallen",17; end; } //------------------------------------------------------------------------------ -prtg_cas04.gat,292,14,0 script Guardian_Pt04 -1,{ +prtg_cas04,292,14,0 script Guardian_Pt04 -1,{ OnAgitInit: - if (GetCastleData("prtg_cas04.gat",10) == 1) guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",0; - if (GetCastleData("prtg_cas04.gat",11) == 1) guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",1; - if (GetCastleData("prtg_cas04.gat",12) == 1) guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",2; - if (GetCastleData("prtg_cas04.gat",13) == 1) guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",3; - if (GetCastleData("prtg_cas04.gat",14) == 1) guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",4; - if (GetCastleData("prtg_cas04.gat",15) == 1) guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",5; - if (GetCastleData("prtg_cas04.gat",16) == 1) guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",6; - if (GetCastleData("prtg_cas04.gat",17) == 1) guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",7; + if (GetCastleData("prtg_cas04",10) == 1) guardian "prtg_cas04",30,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",0; + if (GetCastleData("prtg_cas04",11) == 1) guardian "prtg_cas04",38,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",1; + if (GetCastleData("prtg_cas04",12) == 1) guardian "prtg_cas04",63,26,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",2; + if (GetCastleData("prtg_cas04",13) == 1) guardian "prtg_cas04",253,274,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",3; + if (GetCastleData("prtg_cas04",14) == 1) guardian "prtg_cas04",269,256,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",4; + if (GetCastleData("prtg_cas04",15) == 1) guardian "prtg_cas04",267,271,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",5; + if (GetCastleData("prtg_cas04",16) == 1) guardian "prtg_cas04",34,281,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",6; + if (GetCastleData("prtg_cas04",17) == 1) guardian "prtg_cas04",33,232,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",7; end; OnGuardianDied: // Event when Guardian dies - MapAnnounce "prtg_cas04.gat","A Guardian Has Fallen",17; + MapAnnounce "prtg_cas04","A Guardian Has Fallen",17; end; } //------------------------------------------------------------------------------ -prtg_cas05.gat,266,266,0 script Guardian_Pt05 -1,{ +prtg_cas05,266,266,0 script Guardian_Pt05 -1,{ OnAgitInit: - if (GetCastleData("prtg_cas05.gat",10) == 1) guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",0; - if (GetCastleData("prtg_cas05.gat",11) == 1) guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",1; - if (GetCastleData("prtg_cas05.gat",12) == 1) guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",2; - if (GetCastleData("prtg_cas05.gat",13) == 1) guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",3; - if (GetCastleData("prtg_cas05.gat",14) == 1) guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",4; - if (GetCastleData("prtg_cas05.gat",15) == 1) guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",5; - if (GetCastleData("prtg_cas05.gat",16) == 1) guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",6; - if (GetCastleData("prtg_cas05.gat",17) == 1) guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",7; + if (GetCastleData("prtg_cas05",10) == 1) guardian "prtg_cas05",244,15,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",0; + if (GetCastleData("prtg_cas05",11) == 1) guardian "prtg_cas05",241,14,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",1; + if (GetCastleData("prtg_cas05",12) == 1) guardian "prtg_cas05",68,40,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",2; + if (GetCastleData("prtg_cas05",13) == 1) guardian "prtg_cas05",62,264,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",3; + if (GetCastleData("prtg_cas05",14) == 1) guardian "prtg_cas05",244,61,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",4; + if (GetCastleData("prtg_cas05",15) == 1) guardian "prtg_cas05",34,24,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",5; + if (GetCastleData("prtg_cas05",16) == 1) guardian "prtg_cas05",208,86,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",6; + if (GetCastleData("prtg_cas05",17) == 1) guardian "prtg_cas05",43,70,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",7; end; OnGuardianDied: // Event when Guardian dies - MapAnnounce "prtg_cas05.gat","A Guardian Has Fallen",17; + MapAnnounce "prtg_cas05","A Guardian Has Fallen",17; end; -} +}
\ No newline at end of file diff --git a/npc/guild/prtg/prtg_kafras.txt b/npc/guild/prtg/prtg_kafras.txt index ace8cb1c3..eacc8d421 100644 --- a/npc/guild/prtg/prtg_kafras.txt +++ b/npc/guild/prtg/prtg_kafras.txt @@ -16,51 +16,51 @@ // Castle 1 ======================== -prtg_cas01.gat,96,173,0 script Kafra Service#Pt01 117,{ +prtg_cas01,96,173,0 script Kafra Service#Pt01 117,{ callfunc "F_GKafra", "prtg_cas01", "Prontera"; end; OnRecvCastlePt01: - if (GetCastleData("prtg_cas01.gat",9) < 1) disablenpc "Kafra Service#Pt01"; + if (GetCastleData("prtg_cas01",9) < 1) disablenpc "Kafra Service#Pt01"; end; } // Castle 2 ======================== -prtg_cas02.gat,71,36,4 script Kafra Service#Pt02 117,{ +prtg_cas02,71,36,4 script Kafra Service#Pt02 117,{ callfunc "F_GKafra", "prtg_cas02", "Prontera"; end; OnRecvCastlePt02: - if (GetCastleData("prtg_cas02.gat",9) < 1) disablenpc "Kafra Service#Pt02"; + if (GetCastleData("prtg_cas02",9) < 1) disablenpc "Kafra Service#Pt02"; end; } // Castle 3 ======================== -//prtg_cas03.gat,181,215,4 script Kafra Service#Pt03 117,{ -prtg_cas03.gat,39,99,4 script Kafra Service#Pt03 117,{ +//prtg_cas03,181,215,4 script Kafra Service#Pt03 117,{ +prtg_cas03,39,99,4 script Kafra Service#Pt03 117,{ callfunc "F_GKafra", "prtg_cas03", "Prontera"; end; OnRecvCastlePt03: - if (GetCastleData("prtg_cas03.gat",9) < 1) disablenpc "Kafra Service#Pt03"; + if (GetCastleData("prtg_cas03",9) < 1) disablenpc "Kafra Service#Pt03"; end; } // Castle 4 ======================== -prtg_cas04.gat,258,247,4 script Kafra Service#Pt04 117,{ +prtg_cas04,258,247,4 script Kafra Service#Pt04 117,{ callfunc "F_GKafra", "prtg_cas04", "Prontera"; end; OnRecvCastlePt04: - if (GetCastleData("prtg_cas04.gat",9) < 1) disablenpc "Kafra Service#Pt04"; + if (GetCastleData("prtg_cas04",9) < 1) disablenpc "Kafra Service#Pt04"; end; } // Castle 5 ======================== -prtg_cas05.gat,52,41,4 script Kafra Service#Pt05 117,{ +prtg_cas05,52,41,4 script Kafra Service#Pt05 117,{ callfunc "F_GKafra", "prtg_cas05", "Prontera"; end; OnRecvCastlePt05: - if (GetCastleData("prtg_cas05.gat",9) < 1) disablenpc "Kafra Service#Pt05"; + if (GetCastleData("prtg_cas05",9) < 1) disablenpc "Kafra Service#Pt05"; end; -} +}
\ No newline at end of file diff --git a/npc/guild/prtg/prtg_managers.txt b/npc/guild/prtg/prtg_managers.txt index b5983ab8f..b2ff39d48 100644 --- a/npc/guild/prtg/prtg_managers.txt +++ b/npc/guild/prtg/prtg_managers.txt @@ -15,17 +15,17 @@ // Castle 1 ================================================================================== -prtg_cas01.gat,112,181,0 script Abrai 55,{ +prtg_cas01,112,181,0 script Abrai 55,{ if(callfunc("F_GldManager","Abrai","prtg_cas01",15,209,"Pt01") == 0) close; - if(@GDnum==10) guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",0; - if(@GDnum==11) guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",1; - if(@GDnum==12) guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",2; - if(@GDnum==13) guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",3; - if(@GDnum==14) guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",4; - if(@GDnum==15) guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",5; - if(@GDnum==16) guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",6; - if(@GDnum==17) guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",7; + if(@GDnum==10) guardian "prtg_cas01",196,92,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas01",113,200,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas01",111,186,"Soldier Guardian",1287,"Guardian_Pt01::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas01",76,202,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas01",90,26,"Archer Guardian",1285,"Guardian_Pt01::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas01",58,59,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas01",112,200,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas01",101,194,"Knight Guardian",1286,"Guardian_Pt01::OnGuardianDied",7; mes "[ Abrai ]"; mes "Guardian has been installed, the guardian will protect our guild base against enemies."; close; @@ -33,17 +33,17 @@ prtg_cas01.gat,112,181,0 script Abrai 55,{ // Castle 2 ================================================================================== -prtg_cas02.gat,94,61,0 script Rhay 55,{ +prtg_cas02,94,61,0 script Rhay 55,{ if(callfunc("F_GldManager","Rhay","prtg_cas02",201,229,"Pt02") == 0) close; - if(@GDnum==10) guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",0; - if(@GDnum==11) guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",1; - if(@GDnum==12) guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",2; - if(@GDnum==13) guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",3; - if(@GDnum==14) guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",4; - if(@GDnum==15) guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",5; - if(@GDnum==16) guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",6; - if(@GDnum==17) guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",7; + if(@GDnum==10) guardian "prtg_cas02",75,71,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas02",56,31,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas02",42,223,"Soldier Guardian",1287,"Guardian_Pt02::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas02",44,195,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas02",197,22,"Archer Guardian",1285,"Guardian_Pt02::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas02",68,71,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas02",202,27,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas02",59,24,"Knight Guardian",1286,"Guardian_Pt02::OnGuardianDied",7; mes "[ Rhay ]"; mes "Guardian has been installed, guardian will protect our guild base against enemies."; close; @@ -51,17 +51,17 @@ prtg_cas02.gat,94,61,0 script Rhay 55,{ // Castle 3 ================================================================================== -prtg_cas03.gat,51,100,4 script Stick 55,{ +prtg_cas03,51,100,4 script Stick 55,{ if(callfunc("F_GldManager","Stick","prtg_cas03",189,132,"Pt03") == 0) close; - if(@GDnum==10) guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",0; - if(@GDnum==11) guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",1; - if(@GDnum==12) guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",2; - if(@GDnum==13) guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",3; - if(@GDnum==14) guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",4; - if(@GDnum==15) guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",5; - if(@GDnum==16) guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",6; - if(@GDnum==17) guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",7; + if(@GDnum==10) guardian "prtg_cas03",165,55,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas03",161,181,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas03",165,199,"Soldier Guardian",1287,"Guardian_Pt03::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas03",169,22,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas03",165,191,"Archer Guardian",1285,"Guardian_Pt03::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas03",175,13,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas03",169,180,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas03",142,217,"Knight Guardian",1286,"Guardian_Pt03::OnGuardianDied",7; mes "[ Stick ]"; mes "Guardian has been installed, guardian will protect our guild base against enemies."; close; @@ -69,17 +69,17 @@ prtg_cas03.gat,51,100,4 script Stick 55,{ // Castle 4 ================================================================================== -prtg_cas04.gat,259,265,4 script Bandred 55,{ +prtg_cas04,259,265,4 script Bandred 55,{ if(callfunc("F_GldManager","Bandred","prtg_cas04",271,162,"Pt04") == 0) close; - if(@GDnum==10) guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",0; - if(@GDnum==11) guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",1; - if(@GDnum==12) guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",2; - if(@GDnum==13) guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",3; - if(@GDnum==14) guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",4; - if(@GDnum==15) guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",5; - if(@GDnum==16) guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",6; - if(@GDnum==17) guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",7; + if(@GDnum==10) guardian "prtg_cas04",30,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas04",38,234,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas04",63,26,"Soldier Guardian",1287,"Guardian_Pt04::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas04",253,274,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas04",269,256,"Archer Guardian",1285,"Guardian_Pt04::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas04",267,271,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas04",34,281,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas04",33,232,"Knight Guardian",1286,"Guardian_Pt04::OnGuardianDied",7; mes "[ Bandred ]"; mes "Guardian has been installed, guardian will protect our guild base against enemies."; close; @@ -87,18 +87,18 @@ prtg_cas04.gat,259,265,4 script Bandred 55,{ // Castle 5 ================================================================================== -prtg_cas05.gat,36,37,4 script Reiner 55,{ +prtg_cas05,36,37,4 script Reiner 55,{ if(callfunc("F_GldManager","Reiner","prtg_cas05",273,179,"Pt05") == 0) close; - if(@GDnum==10) guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",0; - if(@GDnum==11) guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",1; - if(@GDnum==12) guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",2; - if(@GDnum==13) guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",3; - if(@GDnum==14) guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",4; - if(@GDnum==15) guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",5; - if(@GDnum==16) guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",6; - if(@GDnum==17) guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",7; + if(@GDnum==10) guardian "prtg_cas05",244,15,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas05",241,14,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas05",68,40,"Soldier Guardian",1287,"Guardian_Pt05::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas05",62,264,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas05",244,61,"Archer Guardian",1285,"Guardian_Pt05::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas05",34,24,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas05",208,86,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas05",43,70,"Knight Guardian",1286,"Guardian_Pt05::OnGuardianDied",7; mes "[ Reiner ]"; 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/prtg/prtg_treas.txt b/npc/guild/prtg/prtg_treas.txt index af3b94255..76a3a8a0a 100644 --- a/npc/guild/prtg/prtg_treas.txt +++ b/npc/guild/prtg/prtg_treas.txt @@ -17,7 +17,7 @@ //<=============================== Castle 1 =================================>\\ // Treasure Spawn ---------------------------------------------------------- -prtg_cas01.gat,1,1,0 script Treasure_Pt01 -1,{ +prtg_cas01,1,1,0 script Treasure_Pt01 -1,{ OnRecvCastlePt01: end; OnInit: @@ -27,14 +27,14 @@ OnInit: end; OnDied: - mapannounce "prtg_cas01.gat","Treasure Chest Broken Open",17; + mapannounce "prtg_cas01","Treasure Chest Broken Open",17; set $boxNumPt01, $boxNumPt01 -1; - if($boxNumPt01 == 0) mapannounce "prtg_cas01.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + if($boxNumPt01 == 0) mapannounce "prtg_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 ---------------------------------------------------- -prtg_cas01.gat,15,209,0 script Switch#TresPt01 111,{ +prtg_cas01,15,209,0 script Switch#TresPt01 111,{ callfunc "F_GldTreasSw", "prtg_cas01",109,179; end; } @@ -43,7 +43,7 @@ prtg_cas01.gat,15,209,0 script Switch#TresPt01 111,{ //<================================= Castle 2 ===============================>\\ // Treasure Spawn ---------------------------------------------------------- -prtg_cas02.gat,1,1,0 script Treasure_Pt02 -1,{ +prtg_cas02,1,1,0 script Treasure_Pt02 -1,{ OnRecvCastlePt02: end; OnInit: @@ -53,14 +53,14 @@ OnInit: end; OnDied: - mapannounce "prtg_cas02.gat","Treasure Chest Broken Open",17; + mapannounce "prtg_cas02","Treasure Chest Broken Open",17; set $boxNumPt02, $boxNumPt02 -1; - if($boxNumPt02 == 0) mapannounce "prtg_cas02.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + if($boxNumPt02 == 0) mapannounce "prtg_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 ---------------------------------------------------- -prtg_cas02.gat,207,228,0 script Switch#TresPt02 111,{ +prtg_cas02,207,228,0 script Switch#TresPt02 111,{ callfunc "F_GldTreasSw", "prtg_cas02",94,62; end; } @@ -69,7 +69,7 @@ prtg_cas02.gat,207,228,0 script Switch#TresPt02 111,{ //<================================ Castle 3 ================================>\\ // Treasure Spawn ---------------------------------------------------------- -prtg_cas03.gat,1,1,0 script Treasure_Pt03 -1,{ +prtg_cas03,1,1,0 script Treasure_Pt03 -1,{ OnRecvCastlePt03: end; OnInit: @@ -79,14 +79,14 @@ OnInit: end; OnDied: - mapannounce "prtg_cas03.gat","Treasure Chest Broken Open",17; + mapannounce "prtg_cas03","Treasure Chest Broken Open",17; set $boxNumPt03, $boxNumPt03 -1; - if($boxNumPt03 == 0) mapannounce "prtg_cas03.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + if($boxNumPt03 == 0) mapannounce "prtg_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 ---------------------------------------------------- -prtg_cas03.gat,193,130,0 script Switch#TresPt03 111,{ +prtg_cas03,193,130,0 script Switch#TresPt03 111,{ callfunc "F_GldTreasSw", "prtg_cas03",45,99; end; } @@ -95,7 +95,7 @@ prtg_cas03.gat,193,130,0 script Switch#TresPt03 111,{ //<================================ Castle 4 ================================>\\ // Treasure Spawn ---------------------------------------------------------- -prtg_cas04.gat,1,1,0 script Treasure_Pt04 -1,{ +prtg_cas04,1,1,0 script Treasure_Pt04 -1,{ OnRecvCastlePt04: end; OnInit: @@ -105,14 +105,14 @@ OnInit: end; OnDied: - mapannounce "prtg_cas04.gat","Treasure Chest Broken Open",17; + mapannounce "prtg_cas04","Treasure Chest Broken Open",17; set $boxNumPt04, $boxNumPt04 -1; - if($boxNumPt04 == 0) mapannounce "prtg_cas04.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + if($boxNumPt04 == 0) mapannounce "prtg_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 ---------------------------------------------------- -prtg_cas04.gat,275,160,0 script Switch#TresPt04 111,{ +prtg_cas04,275,160,0 script Switch#TresPt04 111,{ callfunc "F_GldTreasSw", "prtg_cas04",259,265; end; } @@ -121,7 +121,7 @@ prtg_cas04.gat,275,160,0 script Switch#TresPt04 111,{ //<================================ Castle 5 ================================>\\ // Treasure Spawn ---------------------------------------------------------- -prtg_cas05.gat,1,1,0 script Treasure_Pt05 -1,{ +prtg_cas05,1,1,0 script Treasure_Pt05 -1,{ OnRecvCastlePt05: end; OnInit: @@ -131,14 +131,14 @@ OnInit: end; OnDied: - mapannounce "prtg_cas05.gat","Treasure Chest Broken Open",17; + mapannounce "prtg_cas05","Treasure Chest Broken Open",17; set $boxNumPt05, $boxNumPt05 -1; - if($boxNumPt05 == 0) mapannounce "prtg_cas05.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + if($boxNumPt05 == 0) mapannounce "prtg_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 ---------------------------------------------------- -prtg_cas05.gat,281,176,0 script Switch#TresPt05 111,{ +prtg_cas05,281,176,0 script Switch#TresPt05 111,{ callfunc "F_GldTreasSw", "prtg_cas05",34,30; end; -} +}
\ No newline at end of file |