diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-28 23:34:14 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-28 23:34:14 +0000 |
commit | 01123b8b2f4a77936f8c1358fb2f1c638e169343 (patch) | |
tree | 3a01e72c80fd91a5d45c79b0237bb8bf9e2deb94 /npc/guild/prtg | |
parent | 80366703f21e3cbcdecf02863ceafe69f96c132b (diff) | |
download | hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.gz hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.bz2 hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.xz hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.zip |
* Rewrote the WoE 1.0 from the ground up nearly.
- Renamed the WoE Time setting NPC to "agit_controller.txt"
- System is set up to mimic Aegis, some parts are still lacking.
- Documentation on the new system is forth-coming.
- Updated Novice WoE scripts to keep them from breaking.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/prtg')
-rw-r--r-- | npc/guild/prtg/prtg_dunsw.txt | 49 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_ev_agit.txt | 159 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_flags.txt | 248 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_guardians.txt | 111 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_kafras.txt | 67 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_managers.txt | 96 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_treas.txt | 166 |
7 files changed, 0 insertions, 896 deletions
diff --git a/npc/guild/prtg/prtg_dunsw.txt b/npc/guild/prtg/prtg_dunsw.txt deleted file mode 100644 index 444b8f2cf..000000000 --- a/npc/guild/prtg/prtg_dunsw.txt +++ /dev/null @@ -1,49 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Dungeon Switch for Prontera Guild Castles -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.2 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Switch that warps guild members to the guild dungeon -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//============================================================ - - -// Castle 1 ================================================ -prtg_cas01,94,200,0 script Switch#DunPt01 111,{ - callfunc "F_GldDunSw","prtg_cas01","03",28,251; - close; -} - - -// Castle 2 ================================================ -prtg_cas02,84,72,0 script Switch#DunPt02 111,{ - callfunc "F_GldDunSw","prtg_cas02","03",164,268; - close; -} - - -// Castle 3 ================================================ -prtg_cas03,5,70,0 script Switch#DunPt03 111,{ - callfunc "F_GldDunSw","prtg_cas03","03",164,179; - close; -} - - -// Castle 4 ================================================ -prtg_cas04,56,283,0 script Switch#DunPt04 111,{ - callfunc "F_GldDunSw","prtg_cas04","03",268,203; - close; -} - - -// Castle 5 ================================================ -prtg_cas05,212,94,0 script Switch#DunPt05 111,{ - callfunc "F_GldDunSw","prtg_cas05","03",199,28; - close; -} diff --git a/npc/guild/prtg/prtg_ev_agit.txt b/npc/guild/prtg/prtg_ev_agit.txt deleted file mode 100644 index 59eaa0335..000000000 --- a/npc/guild/prtg/prtg_ev_agit.txt +++ /dev/null @@ -1,159 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - Prontera Guild Wars Events -//===== By: ================================================== -//= jAthena (1.0) -//= 1.1 by Akaru and ho|yAnge| -//===== Current Version: ===================================== -//= 1.5 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Event Triggers of Prontera Guild Wars -//===== Additional Comments: ================================= -//= v1.2 Now using functions for OnAgitStart and OnAgitBreak. [kobra_k88] -//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus] -//= 1.4 Small updated. Changed "EMPERIUM" to "Emperium". [L0ne_W0lf] -//= 1.5 Quick fix "emps not respawning if the emp breaker logs off". -//= (from r11630 bureport:369) [FlavioJS] -//============================================================ - - -// Castle 1 ================================================================ -prtg_cas01,197,197,0 script Agit_Pt01 -1,{ -OnInterIfInitOnce: - GetCastleData "prtg_cas01",0,"::OnRecvCastlePt01"; - end; -OnRecvCastlePt01: - RequestGuildInfo GetCastleData("prtg_cas01",1); - end; -OnAgitStart: - callfunc "F_AgitStart","prtg_cas01","Pt01",197,197; - end; -OnAgitBreak: - callfunc "F_AgitBreak","prtg_cas01","Pt01"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","prtg_cas01","Pt01"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "prtg_cas01",GetCastleData("prtg_cas01",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "prtg_cas01",197,197,"Emperium",1288,1,"Agit_Pt01::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","prtg_cas01","Pt01"; - end; -} - -// Castle 2 ================================================================ -prtg_cas02,158,174,0 script Agit_Pt02 -1,{ -OnInterIfInitOnce: - GetCastleData "prtg_cas02",0,"::OnRecvCastlePt02"; - end; -OnRecvCastlePt02: - RequestGuildInfo GetCastleData("prtg_cas02",1); - end; -OnAgitStart: - callfunc "F_AgitStart","prtg_cas02","Pt02",158,174; - end; -OnAgitBreak: - callfunc "F_AgitBreak","prtg_cas02","Pt02"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","prtg_cas02","Pt02"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "prtg_cas02",GetCastleData("prtg_cas02",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "prtg_cas02",158,174,"Emperium",1288,1,"Agit_Pt02::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","prtg_cas02","Pt02"; - end; -} - -// Castle 3 ================================================================ -prtg_cas03,17,221,0 script Agit_Pt03 -1,{ -OnInterIfInitOnce: - GetCastleData "prtg_cas03",0,"::OnRecvCastlePt03"; - end; -OnRecvCastlePt03: - RequestGuildInfo GetCastleData("prtg_cas03",1); - end; -OnAgitStart: - callfunc "F_AgitStart","prtg_cas03","Pt03",17,221; - end; -OnAgitBreak: - callfunc "F_AgitBreak","prtg_cas03","Pt03"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","prtg_cas03","Pt03"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "prtg_cas03",GetCastleData("prtg_cas03",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "prtg_cas03",17,221,"Emperium",1288,1,"Agit_Pt03::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","prtg_cas03","Pt03"; - end; -} - -// Castle 4 ================================================================ -prtg_cas04,292,14,0 script Agit_Pt04 -1,{ -OnInterIfInitOnce: - GetCastleData "prtg_cas04",0,"::OnRecvCastlePt04"; - end; -OnRecvCastlePt04: - RequestGuildInfo GetCastleData("prtg_cas04",1); - end; -OnAgitStart: - callfunc "F_AgitStart","prtg_cas04","Pt04",292,14; - end; -OnAgitBreak: - callfunc "F_AgitBreak","prtg_cas04","Pt04"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","prtg_cas04","Pt04"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "prtg_cas04",GetCastleData("prtg_cas04",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "prtg_cas04",292,14,"Emperium",1288,1,"Agit_Pt04::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","prtg_cas04","Pt04"; - end; -} - -// Castle 5 ================================================================ -prtg_cas05,266,266,0 script Agit_Pt05 -1,{ -OnInterIfInitOnce: - GetCastleData "prtg_cas05",0,"::OnRecvCastlePt05"; - end; -OnRecvCastlePt05: - RequestGuildInfo GetCastleData("prtg_cas05",1); - end; -OnAgitStart: - callfunc "F_AgitStart","prtg_cas05","Pt05",266,266; - end; -OnAgitBreak: - callfunc "F_AgitBreak","prtg_cas05","Pt05"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","prtg_cas05","Pt05"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "prtg_cas05",GetCastleData("prtg_cas05",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "prtg_cas05",266,266,"Emperium",1288,1,"Agit_Pt05::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","prtg_cas05","Pt05"; - end; -} diff --git a/npc/guild/prtg/prtg_flags.txt b/npc/guild/prtg/prtg_flags.txt deleted file mode 100644 index a46762f54..000000000 --- a/npc/guild/prtg/prtg_flags.txt +++ /dev/null @@ -1,248 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Prontera Guild Flags -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.5 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= WoE flag scripts. Displays guild emblems on flags. -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//= v1.3 Changed to iRO castle names [DracoRPG] -//= v1.4 Can now only flag in from outside the castle [Kayla] -//= V1.5 Town flags no longer show dialog, and fixed various flags. [L0ne__W0lf] -//============================================================ - - -//================================================================================// -// Castle 1 -//================================================================================// -prontera,155,190,4 script Kriemhild#p1-1::Kriemhild 722,{ - callfunc "F_Flags","Prontera","prtg_cas01",97,174,0,0; - close; - -OnRecvCastlePt01: - FlagEmblem GetCastleData("prtg_cas01",1); - end; -} - -prt_gld,131,60,6 script Kriemhild#p1-2::Kriemhild2 722,{ - callfunc "F_Flags","Prontera","prtg_cas01",97,174,1,1; - close; - -OnRecvCastlePt01: - FlagEmblem GetCastleData("prtg_cas01",1); - end; -} - -prtg_cas01,58,56,4 script Kriemhild#p1-3::Kriemhild3 722,{ - callfunc "F_Flags","Prontera","prtg_cas01",97,174,0,1; - close; - -OnRecvCastlePt01: - FlagEmblem GetCastleData("prtg_cas01",1); - end; -} -// In Guild =========================================== -prt_gld,138,68,6 duplicate(Kriemhild2) Kriemhild#p1-4 722 -prt_gld,138,60,6 duplicate(Kriemhild2) Kriemhild#p1-5 722 -prt_gld,135,60,6 duplicate(Kriemhild2) Kriemhild#p1-6 722 -// In Castle ============================================= -prtg_cas01,64,56,4 duplicate(Kriemhild3) Kriemhild#p1-7 722 -prtg_cas01,76,32,4 duplicate(Kriemhild3) Kriemhild#p1-8 722 -prtg_cas01,84,32,4 duplicate(Kriemhild3) Kriemhild#p1-9 722 -prtg_cas01,94,39,4 duplicate(Kriemhild3) Kriemhild#p1-10 722 -prtg_cas01,94,24,4 duplicate(Kriemhild3) Kriemhild#p1-11 722 -prtg_cas01,73,14,4 duplicate(Kriemhild3) Kriemhild#p1-12 722 -prtg_cas01,73,6,4 duplicate(Kriemhild3) Kriemhild#p1-13 722 -prtg_cas01,55,46,4 duplicate(Kriemhild3) Kriemhild#p1-14 722 -prtg_cas01,45,46,4 duplicate(Kriemhild3) Kriemhild#p1-15 722 - - - -//================================================================================// -// Castle 2 -//================================================================================// -prontera,146,194,3 script Swanhild#p2-1::Swanhild 722,{ - callfunc "F_Flags","Prontera","prtg_cas02",71,36,0,0; - close; - -OnRecvCastlePt02: - FlagEmblem GetCastleData("prtg_cas02",1); - end; -} - -prt_gld,244,126,8 script Swanhild#p2-2::Swanhild2 722,{ - callfunc "F_Flags","Prontera","prtg_cas02",71,36,1,1; - close; - -OnRecvCastlePt02: - FlagEmblem GetCastleData("prtg_cas02",1); - end; -} - -prtg_cas02,40,227,4 script Swanhild#p2-3::Swanhild3 722,{ - callfunc "F_Flags","Prontera","prtg_cas02",71,36,0,1; - close; - -OnRecvCastlePt02: - FlagEmblem GetCastleData("prtg_cas02",1); - end; -} -// In Guild =========================================== -prt_gld,244,128,8 duplicate(Swanhild2) Swanhild#p2-4 722 -prt_gld,236,126,8 duplicate(Swanhild2) Swanhild#p2-5 722 -prt_gld,236,128,8 duplicate(Swanhild2) Swanhild#p2-6 722 -// In Castle ============================================= -prtg_cas02,46,227,4 duplicate(Swanhild3) Swanhild#p2-7 722 -prtg_cas02,11,219,4 duplicate(Swanhild3) Swanhild#p2-8 722 -prtg_cas02,11,214,4 duplicate(Swanhild3) Swanhild#p2-9 722 -prtg_cas02,20,219,4 duplicate(Swanhild3) Swanhild#p2-10 722 -prtg_cas02,20,214,4 duplicate(Swanhild3) Swanhild#p2-11 722 -prtg_cas02,79,227,8 duplicate(Swanhild3) Swanhild#p2-12 722 -prtg_cas02,70,227,8 duplicate(Swanhild3) Swanhild#p2-13 722 -prtg_cas02,38,189,8 duplicate(Swanhild3) Swanhild#p2-14 722 -prtg_cas02,34,189,8 duplicate(Swanhild3) Swanhild#p2-15 722 -prtg_cas02,153,161,4 duplicate(Swanhild3) Swanhild#p2-16 722 -prtg_cas02,162,161,4 duplicate(Swanhild3) Swanhild#p2-17 722 - - - - -//================================================================================// -// Castle 3 -//================================================================================// -prontera,143,203,2 script Fadhgridh#p3-1::Fadhgridh 722,{ - callfunc "F_Flags","Prontera","prtg_cas03",45,99,0,0; - close; - -OnRecvCastlePt03: - FlagEmblem GetCastleData("prtg_cas03",1); - end; -} - -prt_gld,147,140,4 script Fadhgridh#p3-2::Fadhgridh2 722,{ - callfunc "F_Flags","Prontera","prtg_cas03",45,99,1,1; - close; - -OnRecvCastlePt03: - FlagEmblem GetCastleData("prtg_cas03",1); - end; -} - -prtg_cas03,168,28,4 script Fadhgridh#p3-3::Fadhgridh3 722,{ - callfunc "F_Flags","Prontera","prtg_cas03",45,99,0,1; - close; - -OnRecvCastlePt03: - FlagEmblem GetCastleData("prtg_cas03",1); - end; -} -// In Guild =========================================== -prt_gld,147,136,4 duplicate(Fadhgridh2) Fadhgridh#p3-4 722 -prt_gld,158,140,4 duplicate(Fadhgridh2) Fadhgridh#p3-5 722 -prt_gld,158,136,4 duplicate(Fadhgridh2) Fadhgridh#p3-6 722 -// In Castle ============================================ -prtg_cas03,182,28,4 duplicate(Fadhgridh3) Fadhgridh#p3-7 722 -prtg_cas03,43,50,4 duplicate(Fadhgridh3) Fadhgridh#p3-8 722 -prtg_cas03,48,50,4 duplicate(Fadhgridh3) Fadhgridh#p3-9 722 -prtg_cas03,43,58,4 duplicate(Fadhgridh3) Fadhgridh#p3-10 722 -prtg_cas03,48,58,4 duplicate(Fadhgridh3) Fadhgridh#p3-11 722 -prtg_cas03,158,210,4 duplicate(Fadhgridh3) Fadhgridh#p3-12 722 -prtg_cas03,169,210,4 duplicate(Fadhgridh3) Fadhgridh#p3-13 722 -prtg_cas03,162,201,4 duplicate(Fadhgridh3) Fadhgridh#p3-14 722 -prtg_cas03,165,201,4 duplicate(Fadhgridh3) Fadhgridh#p3-15 722 - - - -//================================================================================// -// Castle 4 -//================================================================================// -prontera,167,203,6 script Skoegul#p4-1::Skoegul 722,{ - callfunc "F_Flags","Prontera","prtg_cas04",259,265,0,0; - close; - -OnRecvCastlePt04: - FlagEmblem GetCastleData("prtg_cas04",1); - end; -} - -prt_gld,120,243,6 script Skoegul#p4-2::Skoegul2 722,{ - callfunc "F_Flags","Prontera","prtg_cas04",259,265,1,1; - close; - -OnRecvCastlePt04: - FlagEmblem GetCastleData("prtg_cas04",1); - end; -} - -prtg_cas04,82,29,4 script Skoegul#p4-3::Skoegul3 722,{ - callfunc "F_Flags","Prontera","prtg_cas04",259,265,0,1; - close; - -OnRecvCastlePt04: - FlagEmblem GetCastleData("prtg_cas04",1); - end; -} -// In Guild =========================================== -prt_gld,120,236,6 duplicate(Skoegul2) Skoegul#p4-4 722 -prt_gld,122,243,6 duplicate(Skoegul2) Skoegul#p4-5 722 -prt_gld,122,236,6 duplicate(Skoegul2) Skoegul#p4-6 722 -// In Castle ========================================== -prtg_cas04,75,29,4 duplicate(Skoegul3) Skoegul#p4-7 722 -prtg_cas04,75,27,4 duplicate(Skoegul3) Skoegul#p4-8 722 -prtg_cas04,82,27,4 duplicate(Skoegul3) Skoegul#p4-9 722 -prtg_cas04,59,29,4 duplicate(Skoegul3) Skoegul#p4-10 722 -prtg_cas04,67,29,4 duplicate(Skoegul3) Skoegul#p4-11 722 -prtg_cas04,258,25,4 duplicate(Skoegul3) Skoegul#p4-12 722 -prtg_cas04,258,20,4 duplicate(Skoegul3) Skoegul#p4-13 722 -prtg_cas04,263,20,4 duplicate(Skoegul3) Skoegul#p4-14 722 -prtg_cas04,263,27,4 duplicate(Skoegul3) Skoegul#p4-15 722 - - - - -//================================================================================// -// Castle 5 -//================================================================================// -prontera,165,194,5 script Gondul#p5-1::Gondul 722,{ - callfunc "F_Flags","Prontera","prtg_cas05",34,30,0,0; - close; - -OnRecvCastlePt05: - FlagEmblem GetCastleData("prtg_cas05",1); - end; -} - -prt_gld,199,243,2 script Gondul#p5-2::Gondul2 722,{ - callfunc "F_Flags","Prontera","prtg_cas05",34,30,1,1; - close; - -OnRecvCastlePt05: - FlagEmblem GetCastleData("prtg_cas05",1); - end; -} - -prtg_cas05,19,247,4 script Gondul#p5-3::Gondul3 722,{ - callfunc "F_Flags","Prontera","prtg_cas05",34,30,0,1; - close; - -OnRecvCastlePt05: - FlagEmblem GetCastleData("prtg_cas05",1); - end; -} -// In Guild =========================================== -prt_gld,199,236,2 duplicate(Gondul2) Gondul#p5-4 722 -prt_gld,197,243,2 duplicate(Gondul2) Gondul#p5-5 722 -prt_gld,197,236,2 duplicate(Gondul2) Gondul#p5-6 722 -// In Castle ============================================= -prtg_cas05,19,243,4 duplicate(Gondul3) Gondul#p5-7 722 -prtg_cas05,26,247,4 duplicate(Gondul3) Gondul#p5-8 722 -prtg_cas05,26,243,4 duplicate(Gondul3) Gondul#p5-9 722 -prtg_cas05,249,289,4 duplicate(Gondul3) Gondul#p5-10 722 -prtg_cas05,256,289,4 duplicate(Gondul3) Gondul#p5-11 722 -prtg_cas05,253,271,4 duplicate(Gondul3) Gondul#p5-12 722 -prtg_cas05,273,257,4 duplicate(Gondul3) Gondul#p5-13 722 diff --git a/npc/guild/prtg/prtg_guardians.txt b/npc/guild/prtg/prtg_guardians.txt deleted file mode 100644 index fce1eb01c..000000000 --- a/npc/guild/prtg/prtg_guardians.txt +++ /dev/null @@ -1,111 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - prtg_cas guardians script -//===== By: ================================================== -//= holyAngelX (1.0) -//===== Current Version: ===================================== -//= 1.3 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Re-spawns guardians on server start if they have been -//= purchased. Also announces when a guardian dies. -//===== Additional Comments: ================================= -//= 1.1 by joedukk -//= 1.2 by Akaru and Valaris -//= 1.2a Guardians for all prtg castles are now in this file. -//= Minor optimizations.[kobra_k88] -//= 1.3 Corrected what guardians will spawn, and where. [L0ne_W0lf] -//= All guardians will now die when OnAgiInit is run. -//= Removed announcment for when a guardian dies. -//============================================================ - - -prtg_cas01,197,197,0 script Guardian_Pt01 -1,{ -OnAgitInit: - killmonster "prtg_cas01","Guardian_Pt01::OnGuardianDied"; - if (GetCastleData("prtg_cas01",10) == 1) guardian "prtg_cas01",182,62,"Guardian Soldier",1287,"Guardian_Pt01::OnGuardianDied",0; - if (GetCastleData("prtg_cas01",11) == 1) guardian "prtg_cas01",182,116,"Guardian Soldier",1287,"Guardian_Pt01::OnGuardianDied",1; - if (GetCastleData("prtg_cas01",12) == 1) guardian "prtg_cas01",153,86,"Guardian Soldier",1287,"Guardian_Pt01::OnGuardianDied",2; - if (GetCastleData("prtg_cas01",13) == 1) guardian "prtg_cas01",59,28,"Guardian Archer",1285,"Guardian_Pt01::OnGuardianDied",3; - if (GetCastleData("prtg_cas01",14) == 1) guardian "prtg_cas01",50,36,"Guardian Archer",1285,"Guardian_Pt01::OnGuardianDied",4; - if (GetCastleData("prtg_cas01",15) == 1) guardian "prtg_cas01",184,183,"Guardian Knight",1286,"Guardian_Pt01::OnGuardianDied",5; - if (GetCastleData("prtg_cas01",16) == 1) guardian "prtg_cas01",196,189,"Guardian Knight",1286,"Guardian_Pt01::OnGuardianDied",6; - if (GetCastleData("prtg_cas01",17) == 1) guardian "prtg_cas01",107,179,"Guardian Knight",1286,"Guardian_Pt01::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} -//------------------------------------------------------------------------------ -prtg_cas02,158,174,0 script Guardian_Pt02 -1,{ -OnAgitInit: - killmonster "prtg_cas02","Guardian_Pt02::OnGuardianDied"; - if (GetCastleData("prtg_cas02",10) == 1) guardian "prtg_cas02",161,161,"Guardian Knight",1286,"Guardian_Pt02::OnGuardianDied",0; - if (GetCastleData("prtg_cas02",11) == 1) guardian "prtg_cas02",153,161,"Guardian Knight",1286,"Guardian_Pt02::OnGuardianDied",1; - if (GetCastleData("prtg_cas02",12) == 1) guardian "prtg_cas02",178,44,"Guardian Knight",1286,"Guardian_Pt02::OnGuardianDied",2; - if (GetCastleData("prtg_cas02",13) == 1) guardian "prtg_cas02",71,75,"Guardian Soldier",1287,"Guardian_Pt02::OnGuardianDied",3; - if (GetCastleData("prtg_cas02",14) == 1) guardian "prtg_cas02",49,28,"Guardian Soldier",1287,"Guardian_Pt02::OnGuardianDied",4; - if (GetCastleData("prtg_cas02",15) == 1) guardian "prtg_cas02",64,186,"Guardian Archer",1285,"Guardian_Pt02::OnGuardianDied",5; - if (GetCastleData("prtg_cas02",16) == 1) guardian "prtg_cas02",76,196,"Guardian Archer",1285,"Guardian_Pt02::OnGuardianDied",6; - if (GetCastleData("prtg_cas02",17) == 1) guardian "prtg_cas02",75,175,"Guardian Archer",1285,"Guardian_Pt02::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} -//------------------------------------------------------------------------------ -prtg_cas03,17,221,0 script Guardian_Pt03 -1,{ -OnAgitInit: - killmonster "prtg_cas03","Guardian_Pt03::OnGuardianDied"; - if (GetCastleData("prtg_cas03",10) == 1) guardian "prtg_cas03",191,190,"Guardian Knight",1286,"Guardian_Pt03::OnGuardianDied",0; - if (GetCastleData("prtg_cas03",11) == 1) guardian "prtg_cas03",137,190,"Guardian Knight",1286,"Guardian_Pt03::OnGuardianDied",1; - if (GetCastleData("prtg_cas03",12) == 1) guardian "prtg_cas03",45,99,"Guardian Knight",1286,"Guardian_Pt03::OnGuardianDied",2; - if (GetCastleData("prtg_cas03",13) == 1) guardian "prtg_cas03",50,87,"Guardian Soldier",1287,"Guardian_Pt03::OnGuardianDied",3; - if (GetCastleData("prtg_cas03",14) == 1) guardian "prtg_cas03",41,87,"Guardian Soldier",1287,"Guardian_Pt03::OnGuardianDied",4; - if (GetCastleData("prtg_cas03",15) == 1) guardian "prtg_cas03",191,42,"Guardian Archer",1285,"Guardian_Pt03::OnGuardianDied",5; - if (GetCastleData("prtg_cas03",16) == 1) guardian "prtg_cas03",179,43,"Guardian Archer",1285,"Guardian_Pt03::OnGuardianDied",6; - if (GetCastleData("prtg_cas03",17) == 1) guardian "prtg_cas03",191,72,"Guardian Archer",1285,"Guardian_Pt03::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} -//------------------------------------------------------------------------------ -prtg_cas04,292,14,0 script Guardian_Pt04 -1,{ -OnAgitInit: - killmonster "prtg_cas04","Guardian_Pt04::OnGuardianDied"; - if (GetCastleData("prtg_cas04",10) == 1) guardian "prtg_cas04",276,14,"Guardian Knight",1286,"Guardian_Pt04::OnGuardianDied",0; - if (GetCastleData("prtg_cas04",11) == 1) guardian "prtg_cas04",274,35,"Guardian Knight",1286,"Guardian_Pt04::OnGuardianDied",1; - if (GetCastleData("prtg_cas04",12) == 1) guardian "prtg_cas04",246,246,"Guardian Knight",1286,"Guardian_Pt04::OnGuardianDied",2; - if (GetCastleData("prtg_cas04",13) == 1) guardian "prtg_cas04",38,240,"Guardian Soldier",1287,"Guardian_Pt04::OnGuardianDied",3; - if (GetCastleData("prtg_cas04",14) == 1) guardian "prtg_cas04",29,240,"Guardian Soldier",1287,"Guardian_Pt04::OnGuardianDied",4; - if (GetCastleData("prtg_cas04",15) == 1) guardian "prtg_cas04",33,258,"Guardian Soldier",1287,"Guardian_Pt04::OnGuardianDied",5; - if (GetCastleData("prtg_cas04",16) == 1) guardian "prtg_cas04",78,48,"Guardian Archer",1285,"Guardian_Pt04::OnGuardianDied",6; - if (GetCastleData("prtg_cas04",17) == 1) guardian "prtg_cas04",36,61,"Guardian Archer",1285,"Guardian_Pt04::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} -//------------------------------------------------------------------------------ -prtg_cas05,266,266,0 script Guardian_Pt05 -1,{ -OnAgitInit: - killmonster "prtg_cas05","Guardian_Pt05::OnGuardianDied"; - if (GetCastleData("prtg_cas05",10) == 1) guardian "prtg_cas05",266,262,"Guardian Knight",1286,"Guardian_Pt05::OnGuardianDied",0; - if (GetCastleData("prtg_cas05",11) == 1) guardian "prtg_cas05",287,280,"Guardian Knight",1286,"Guardian_Pt05::OnGuardianDied",1; - if (GetCastleData("prtg_cas05",12) == 1) guardian "prtg_cas05",245,250,"Guardian Knight",1286,"Guardian_Pt05::OnGuardianDied",2; - if (GetCastleData("prtg_cas05",13) == 1) guardian "prtg_cas05",236,63,"Guardian Soldier",1287,"Guardian_Pt05::OnGuardianDied",3; - if (GetCastleData("prtg_cas05",14) == 1) guardian "prtg_cas05",251,63,"Guardian Soldier",1287,"Guardian_Pt05::OnGuardianDied",4; - if (GetCastleData("prtg_cas05",15) == 1) guardian "prtg_cas05",278,253,"Guardian Soldier",1287,"Guardian_Pt05::OnGuardianDied",5; - if (GetCastleData("prtg_cas05",16) == 1) guardian "prtg_cas05",32,253,"Guardian Archer",1285,"Guardian_Pt05::OnGuardianDied",6; - if (GetCastleData("prtg_cas05",17) == 1) guardian "prtg_cas05",44,248,"Guardian Archer",1285,"Guardian_Pt05::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} diff --git a/npc/guild/prtg/prtg_kafras.txt b/npc/guild/prtg/prtg_kafras.txt deleted file mode 100644 index 10e93dcad..000000000 --- a/npc/guild/prtg/prtg_kafras.txt +++ /dev/null @@ -1,67 +0,0 @@ -//=== eAthena Script ==================== -//= War of Emperium Kafras for Prontera Guild Castles -//=== By: ========================= -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//=== Current Version: =================== -//= 1.3 -//=== Compatible With: =================== -//= eAthena 0.1+; RO Episode 4+ -//=== Description: ===================== -//= Provides Kafra Staffs for guild members of Prontera Castles. -//= Used in conjuction with function F_Kafra. -//=== Additional Comments: ================= -//= v1.2 Optimized with functions.[kobra_k88] -//= v1.3 Changed "Kafra Service" to "Kafra Staff" [L0ne_W0lf] -//============================== - - -// Castle 1 ======================== -prtg_cas01,96,173,0 script Kafra Staff#Pt01 117,{ - callfunc "F_GKafra", "prtg_cas01", "Prontera"; - end; -OnRecvCastlePt01: - if (GetCastleData("prtg_cas01",9) < 1) disablenpc "Kafra Staff#Pt01"; - end; -} - - -// Castle 2 ======================== -prtg_cas02,71,36,4 script Kafra Staff#Pt02 117,{ - callfunc "F_GKafra", "prtg_cas02", "Prontera"; - end; -OnRecvCastlePt02: - if (GetCastleData("prtg_cas02",9) < 1) disablenpc "Kafra Staff#Pt02"; - end; -} - - -// Castle 3 ======================== -//prtg_cas03,181,215,4 script Kafra Staff#Pt03 117,{ -prtg_cas03,39,99,4 script Kafra Staff#Pt03 117,{ - callfunc "F_GKafra", "prtg_cas03", "Prontera"; - end; -OnRecvCastlePt03: - if (GetCastleData("prtg_cas03",9) < 1) disablenpc "Kafra Staff#Pt03"; - end; -} - - -// Castle 4 ======================== -prtg_cas04,258,247,4 script Kafra Staff#Pt04 117,{ - callfunc "F_GKafra", "prtg_cas04", "Prontera"; - end; -OnRecvCastlePt04: - if (GetCastleData("prtg_cas04",9) < 1) disablenpc "Kafra Staff#Pt04"; - end; -} - - -// Castle 5 ======================== -prtg_cas05,52,41,4 script Kafra Staff#Pt05 117,{ - callfunc "F_GKafra", "prtg_cas05", "Prontera"; - end; -OnRecvCastlePt05: - if (GetCastleData("prtg_cas05",9) < 1) disablenpc "Kafra Staff#Pt05"; - end; -} diff --git a/npc/guild/prtg/prtg_managers.txt b/npc/guild/prtg/prtg_managers.txt deleted file mode 100644 index 3248277f3..000000000 --- a/npc/guild/prtg/prtg_managers.txt +++ /dev/null @@ -1,96 +0,0 @@ -//===== eAthena Script == ===================================== -//= War of Emperium Managers for Prontera Guild Castles -//===== By: == ================================================ -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: == =================================== -//= 1.3 -//===== Compatible With: == =================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: == ======================================= -//= -//===== Additional Comments: == =============================== -//= v1.2 Optimized with functions.[kobra_k88] -//= 1.3 Updated Guardian positions and types. [L0ne_W0lf] -//= Updated manager names, and some additional info -//============================================================ - - -// Castle 1 == ================================================================================ -prtg_cas01,112,181,0 script Ahvray#prt1 55,{ - if(callfunc("F_GldManager","Steward Ahvray","prtg_cas01",15,209,"Pt01") == 0) close; - - if (@GDnum == 10) guardian "prtg_cas01",182,62,"Guardian Soldier",1287,"Guardian_Pt01::OnGuardianDied",0; - if (@GDnum == 11) guardian "prtg_cas01",182,116,"Guardian Soldier",1287,"Guardian_Pt01::OnGuardianDied",1; - if (@GDnum == 12) guardian "prtg_cas01",153,86,"Guardian Soldier",1287,"Guardian_Pt01::OnGuardianDied",2; - if (@GDnum == 13) guardian "prtg_cas01",59,28,"Guardian Archer",1285,"Guardian_Pt01::OnGuardianDied",3; - if (@GDnum == 14) guardian "prtg_cas01",50,36,"Guardian Archer",1285,"Guardian_Pt01::OnGuardianDied",4; - if (@GDnum == 15) guardian "prtg_cas01",184,183,"Guardian Knight",1286,"Guardian_Pt01::OnGuardianDied",5; - if (@GDnum == 16) guardian "prtg_cas01",196,189,"Guardian Knight",1286,"Guardian_Pt01::OnGuardianDied",6; - if (@GDnum == 17) guardian "prtg_cas01",107,179,"Guardian Knight",1286,"Guardian_Pt01::OnGuardianDied",7; - close; -} - - -// Castle 2 == ================================================================================ -prtg_cas02,94,61,4 script Roy#prt2 55,{ - if(callfunc("F_GldManager","Steward Roy","prtg_cas02",207,229,"Pt02") == 0) close; - - if (@GDnum == 10) guardian "prtg_cas02",161,161,"Guardian Knight",1286,"Guardian_Pt02::OnGuardianDied",0; - if (@GDnum == 11) guardian "prtg_cas02",153,161,"Guardian Knight",1286,"Guardian_Pt02::OnGuardianDied",1; - if (@GDnum == 12) guardian "prtg_cas02",178,44,"Guardian Knight",1286,"Guardian_Pt02::OnGuardianDied",2; - if (@GDnum == 13) guardian "prtg_cas02",71,75,"Guardian Soldier",1287,"Guardian_Pt02::OnGuardianDied",3; - if (@GDnum == 14) guardian "prtg_cas02",49,28,"Guardian Soldier",1287,"Guardian_Pt02::OnGuardianDied",4; - if (@GDnum == 15) guardian "prtg_cas02",64,186,"Guardian Archer",1285,"Guardian_Pt02::OnGuardianDied",5; - if (@GDnum == 16) guardian "prtg_cas02",76,196,"Guardian Archer",1285,"Guardian_Pt02::OnGuardianDied",6; - if (@GDnum == 17) guardian "prtg_cas02",75,175,"Guardian Archer",1285,"Guardian_Pt02::OnGuardianDied",7; - close; -} - - -// Castle 3 == ================================================================================ -prtg_cas03,51,100,4 script Sttick#prt3 55,{ - if(callfunc("F_GldManager","Stick","prtg_cas03",190,130,"Pt03") == 0) close; - - if (@GDnum == 10) guardian "prtg_cas03",191,190,"Guardian Knight",1286,"Guardian_Pt03::OnGuardianDied",0; - if (@GDnum == 11) guardian "prtg_cas03",137,190,"Guardian Knight",1286,"Guardian_Pt03::OnGuardianDied",1; - if (@GDnum == 12) guardian "prtg_cas03",45,99,"Guardian Knight",1286,"Guardian_Pt03::OnGuardianDied",2; - if (@GDnum == 13) guardian "prtg_cas03",50,87,"Guardian Soldier",1287,"Guardian_Pt03::OnGuardianDied",3; - if (@GDnum == 14) guardian "prtg_cas03",41,87,"Guardian Soldier",1287,"Guardian_Pt03::OnGuardianDied",4; - if (@GDnum == 15) guardian "prtg_cas03",191,42,"Guardian Archer",1285,"Guardian_Pt03::OnGuardianDied",5; - if (@GDnum == 16) guardian "prtg_cas03",179,43,"Guardian Archer",1285,"Guardian_Pt03::OnGuardianDied",6; - if (@GDnum == 17) guardian "prtg_cas03",191,72,"Guardian Archer",1285,"Guardian_Pt03::OnGuardianDied",7; - close; -} - - -// Castle 4 == ================================================================================ -prtg_cas04,259,265,4 script Van Dreth#prt4 55,{ - if(callfunc("F_GldManager","Steward Van Dreth","prtg_cas04",275,160,"Pt04") == 0) close; - - if (@GDnum == 10) guardian "prtg_cas04",276,14,"Guardian Knight",1286,"Guardian_Pt04::OnGuardianDied",0; - if (@GDnum == 11) guardian "prtg_cas04",274,35,"Guardian Knight",1286,"Guardian_Pt04::OnGuardianDied",1; - if (@GDnum == 12) guardian "prtg_cas04",246,246,"Guardian Knight",1286,"Guardian_Pt04::OnGuardianDied",2; - if (@GDnum == 13) guardian "prtg_cas04",38,240,"Guardian Soldier",1287,"Guardian_Pt04::OnGuardianDied",3; - if (@GDnum == 14) guardian "prtg_cas04",29,240,"Guardian Soldier",1287,"Guardian_Pt04::OnGuardianDied",4; - if (@GDnum == 15) guardian "prtg_cas04",33,258,"Guardian Soldier",1287,"Guardian_Pt04::OnGuardianDied",5; - if (@GDnum == 16) guardian "prtg_cas04",78,48,"Guardian Archer",1285,"Guardian_Pt04::OnGuardianDied",6; - if (@GDnum == 17) guardian "prtg_cas04",36,61,"Guardian Archer",1285,"Guardian_Pt04::OnGuardianDied",7; - close; -} - - -// Castle 5 == ================================================================================ -prtg_cas05,36,37,4 script Raynor#prt5 55,{ - if(callfunc("F_GldManager","Steward Raynor","prtg_cas05",281,176,"Pt05") == 0) close; - - if (@GDnum == 10) guardian "prtg_cas05",266,262,"Guardian Knight",1286,"Guardian_Pt05::OnGuardianDied",0; - if (@GDnum == 11) guardian "prtg_cas05",287,280,"Guardian Knight",1286,"Guardian_Pt05::OnGuardianDied",1; - if (@GDnum == 12) guardian "prtg_cas05",245,250,"Guardian Knight",1286,"Guardian_Pt05::OnGuardianDied",2; - if (@GDnum == 13) guardian "prtg_cas05",236,63,"Guardian Soldier",1287,"Guardian_Pt05::OnGuardianDied",3; - if (@GDnum == 14) guardian "prtg_cas05",251,63,"Guardian Soldier",1287,"Guardian_Pt05::OnGuardianDied",4; - if (@GDnum == 15) guardian "prtg_cas05",278,253,"Guardian Soldier",1287,"Guardian_Pt05::OnGuardianDied",5; - if (@GDnum == 16) guardian "prtg_cas05",32,253,"Guardian Archer",1285,"Guardian_Pt05::OnGuardianDied",6; - if (@GDnum == 17) guardian "prtg_cas05",44,248,"Guardian Archer",1285,"Guardian_Pt05::OnGuardianDied",7; - close; -} diff --git a/npc/guild/prtg/prtg_treas.txt b/npc/guild/prtg/prtg_treas.txt deleted file mode 100644 index b7a9a5142..000000000 --- a/npc/guild/prtg/prtg_treas.txt +++ /dev/null @@ -1,166 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Treasure Rooms for Prontera Guild Castles -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.3 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//= 1.3 Removed announces when you open chests. [L0ne_W0lf] -//============================================================ - - -//<=============================== Castle 1 =================================>\\ - -// Treasure Spawn ---------------------------------------------------------- -prtg_cas01,1,1,0 script Treasure_Pt01 -1,{ -OnRecvCastlePt01: - end; -OnInit: - if($boxNumPt01 == 0) end; - set $@bxPt01, $boxNumPt01; - callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,1; - end; - -OnDied: - set $boxNumPt01, $boxNumPt01 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -prtg_cas01,15,209,0 script Switch#TresPt01 111,{ - callfunc "F_GldTreasSw", "prtg_cas01",109,179; - end; -} - -// Treasure Room Protection ------------------------------------------------ -prtg_cas01,11,208,0 script ban_warp#1 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "prtg_cas01", "prontera",109,179; - end; -} - -//<================================= Castle 2 ===============================>\\ - -// Treasure Spawn ---------------------------------------------------------- -prtg_cas02,1,1,0 script Treasure_Pt02 -1,{ -OnRecvCastlePt02: - end; -OnInit: - if($boxNumPt02 == 0) end; - set $@bxPt02, $boxNumPt02; - callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,1; - end; - -OnDied: - set $boxNumPt02, $boxNumPt02 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -prtg_cas02,207,228,0 script Switch#TresPt02 111,{ - callfunc "F_GldTreasSw", "prtg_cas02",94,62; - end; -} - -// Treasure Room Protection ------------------------------------------------ -prtg_cas02,202,228,0 script ban_warp#2 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "prtg_cas02", "prontera",109,179; - end; -} - -//<================================ Castle 3 ================================>\\ - -// Treasure Spawn ---------------------------------------------------------- -prtg_cas03,1,1,0 script Treasure_Pt03 -1,{ -OnRecvCastlePt03: - end; -OnInit: - if($boxNumPt03 == 0) end; - set $@bxPt03, $boxNumPt03; - callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,1; - end; - -OnDied: - set $boxNumPt03, $boxNumPt03 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -prtg_cas03,193,130,0 script Switch#TresPt03 111,{ - callfunc "F_GldTreasSw", "prtg_cas03",45,99; - end; -} - -// Treasure Room Protection ------------------------------------------------ -prtg_cas03,189,132,0 script ban_warp#3 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "prtg_cas03", "prontera",109,179; - end; -} - -//<================================ Castle 4 ================================>\\ - -// Treasure Spawn ---------------------------------------------------------- -prtg_cas04,1,1,0 script Treasure_Pt04 -1,{ -OnRecvCastlePt04: - end; -OnInit: - if($boxNumPt04 == 0) end; - set $@bxPt04, $boxNumPt04; - callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,1; - end; - -OnDied: - set $boxNumPt04, $boxNumPt04 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -prtg_cas04,275,160,0 script Switch#TresPt04 111,{ - callfunc "F_GldTreasSw", "prtg_cas04",259,265; - end; -} - -// Treasure Room Protection ------------------------------------------------ -prtg_cas04,271,162,0 script ban_warp#4 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "prtg_cas04", "prontera",109,179; - end; -} - -//<================================ Castle 5 ================================>\\ - -// Treasure Spawn ---------------------------------------------------------- -prtg_cas05,1,1,0 script Treasure_Pt05 -1,{ -OnRecvCastlePt05: - end; -OnInit: - if($boxNumPt05 == 0) end; - set $@bxPt05, $boxNumPt05; - callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,1; - end; - -OnDied: - set $boxNumPt05, $boxNumPt05 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -prtg_cas05,281,176,0 script Switch#TresPt05 111,{ - callfunc "F_GldTreasSw", "prtg_cas05",34,30; - end; -} - -// Treasure Room Protection ------------------------------------------------ -prtg_cas05,276,178,0 script ban_warp#5 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "prtg_cas05", "prontera",109,179; - end; -} |