diff options
Diffstat (limited to 'npc/guild/payg')
-rw-r--r-- | npc/guild/payg/payg_dunsw.txt | 49 | ||||
-rw-r--r-- | npc/guild/payg/payg_ev_agit.txt | 159 | ||||
-rw-r--r-- | npc/guild/payg/payg_flags.txt | 236 | ||||
-rw-r--r-- | npc/guild/payg/payg_guardians.txt | 115 | ||||
-rw-r--r-- | npc/guild/payg/payg_kafras.txt | 66 | ||||
-rw-r--r-- | npc/guild/payg/payg_managers.txt | 96 | ||||
-rw-r--r-- | npc/guild/payg/payg_treas.txt | 162 |
7 files changed, 0 insertions, 883 deletions
diff --git a/npc/guild/payg/payg_dunsw.txt b/npc/guild/payg/payg_dunsw.txt deleted file mode 100644 index 3136986b6..000000000 --- a/npc/guild/payg/payg_dunsw.txt +++ /dev/null @@ -1,49 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Dungeon Switch for Payon 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 ================================================ -payg_cas01,101,25,0 script Switch#DunPy01 111,{ - callfunc "F_GldDunSw","payg_cas01","01",186,165; - close; -} - - -// Castle 2 ================================================ -payg_cas02,278,247,0 script Switch#DunPy02 111,{ - callfunc "F_GldDunSw","payg_cas02","01",54,165; - close; -} - - -// Castle 3 ================================================ -payg_cas03,20,44,0 script Switch#DunPy03 111,{ - callfunc "F_GldDunSw","payg_cas03","01",54,39; - close; -} - - -// Castle 4 ================================================ -payg_cas04,52,48,0 script Switch#DunPy04 111,{ - callfunc "F_GldDunSw","payg_cas04","01",186,39; - close; -} - - -// Castle 5 ================================================ -payg_cas05,248,14,0 script Switch#DunPy05 111,{ - callfunc "F_GldDunSw","payg_cas05","01",223,202; - close; -} diff --git a/npc/guild/payg/payg_ev_agit.txt b/npc/guild/payg/payg_ev_agit.txt deleted file mode 100644 index 517a6a829..000000000 --- a/npc/guild/payg/payg_ev_agit.txt +++ /dev/null @@ -1,159 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - Payon 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 Payon 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 ================================================================ -payg_cas01,139,139,0 script Agit_Py01 -1,{ -OnInterIfInitOnce: - GetCastleData "payg_cas01",0,"::OnRecvCastlePy01"; - end; -OnRecvCastlePy01: - RequestGuildInfo GetCastleData("payg_cas01",1); - end; -OnAgitStart: - callfunc "F_AgitStart","payg_cas01","Py01",139,139; - end; -OnAgitBreak: - callfunc "F_AgitBreak","payg_cas01","Py01"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","payg_cas01","Py01"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "payg_cas01",GetCastleData("payg_cas01",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "payg_cas01",139,139,"Emperium",1288,1,"Agit_Py01::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","payg_cas01","Py01"; - end; -} - -// Castle 2 ================================================================ -payg_cas02,39,25,0 script Agit_Py02 -1,{ -OnInterIfInitOnce: - GetCastleData "payg_cas02",0,"::OnRecvCastlePy02"; - end; -OnRecvCastlePy02: - RequestGuildInfo GetCastleData("payg_cas02",1); - end; -OnAgitStart: - callfunc "F_AgitStart","payg_cas02","Py02",39,25; - end; -OnAgitBreak: - callfunc "F_AgitBreak","payg_cas02","Py02"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","payg_cas02","Py02"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "payg_cas02",GetCastleData("payg_cas02",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "payg_cas02",39,25,"Emperium",1288,1,"Agit_Py02::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","payg_cas02","Py02"; - end; -} - -// Castle 3 ================================================================ -payg_cas03,269,265,0 script Agit_Py03 -1,{ -OnInterIfInitOnce: - GetCastleData "payg_cas03",0,"::OnRecvCastlePy03"; - end; -OnRecvCastlePy03: - RequestGuildInfo GetCastleData("payg_cas03",1); - end; -OnAgitStart: - callfunc "F_AgitStart","payg_cas03","Py03",269,265; - end; -OnAgitBreak: - callfunc "F_AgitBreak","payg_cas03","Py03"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","payg_cas03","Py03"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "payg_cas03",GetCastleData("payg_cas03",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "payg_cas03",269,265,"Emperium",1288,1,"Agit_Py03::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","payg_cas03","Py03"; - end; -} - -// Castle 4 ================================================================ -payg_cas04,271,29,0 script Agit_Py04 -1,{ -OnInterIfInitOnce: - GetCastleData "payg_cas04",0,"::OnRecvCastlePy04"; - end; -OnRecvCastlePy04: - RequestGuildInfo GetCastleData("payg_cas04",1); - end; -OnAgitStart: - callfunc "F_AgitStart","payg_cas04","Py04",271,29; - end; -OnAgitBreak: - callfunc "F_AgitBreak","payg_cas04","Py04"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","payg_cas04","Py04"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "payg_cas04",GetCastleData("payg_cas04",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "payg_cas04",271,29,"Emperium",1288,1,"Agit_Py04::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","payg_cas04","Py04"; - end; -} - -// Castle 5 ================================================================ -payg_cas05,30,30,0 script Agit_Py05 -1,{ -OnInterIfInitOnce: - GetCastleData "payg_cas05",0,"::OnRecvCastlePy05"; - end; -OnRecvCastlePy05: - RequestGuildInfo GetCastleData("payg_cas05",1); - end; -OnAgitStart: - callfunc "F_AgitStart","payg_cas05","Py05",30,30; - end; -OnAgitBreak: - callfunc "F_AgitBreak","payg_cas05","Py05"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","payg_cas05","Py05"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "payg_cas05",GetCastleData("payg_cas05",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "payg_cas05",30,30,"Emperium",1288,1,"Agit_Py05::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","payg_cas05","Py05"; - end; -} diff --git a/npc/guild/payg/payg_flags.txt b/npc/guild/payg/payg_flags.txt deleted file mode 100644 index 31c8e895a..000000000 --- a/npc/guild/payg/payg_flags.txt +++ /dev/null @@ -1,236 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - Payon Guild Flags -//===== By: ================================================== -//= jAthena (1.0) -//= 1.1 by Akaru and ho|yAnge| -//===== Current Version: ===================================== -//= 1.5 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Castle Guild Flags in Payon and pay_gld -//===== 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 -//============================================================================// -payon,166,161,3 script Bright Arbor#f1-1::BrightArbor 722,{ - callfunc "F_Flags","Payon","payg_cas01",87,29,0,0; - close; - -OnRecvCastlePy01: - FlagEmblem GetCastleData("payg_cas01",1); - end; -} - -pay_gld,125,236,4 script Bright Arbor#f1-2::BrightArbor2 722,{ - callfunc "F_Flags","Payon","payg_cas01",87,29,1,1; - close; - -OnRecvCastlePy01: - FlagEmblem GetCastleData("payg_cas01",1); - end; -} - -payg_cas01,238,67,4 script Bright Arbor#f1-3::BrightArbor3 722,{ - callfunc "F_Flags","Payon","payg_cas01",87,29,0,1; - close; - -OnRecvCastlePy01: - FlagEmblem GetCastleData("payg_cas01",1); - end; -} -// Additiona Town Flag ==================================== -payon,90,322,4 duplicate(BrightArbor) Bright Arbor#f1-4 722 -// In Guild =============================================== -pay_gld,110,233,4 duplicate(BrightArbor2) Bright Arbor#f1-5 722 -pay_gld,116,233,4 duplicate(BrightArbor2) Bright Arbor#f1-6 722 -pay_gld,91,239,2 duplicate(BrightArbor2) Bright Arbor#f1-7 722 -// In Castle ============================================== -payg_cas01,233,67,4 duplicate(BrightArbor3) Bright Arbor#f1-8 722 -payg_cas01,221,123,4 duplicate(BrightArbor3) Bright Arbor#f1-9 722 -payg_cas01,221,116,4 duplicate(BrightArbor3) Bright Arbor#f1-10 722 -payg_cas01,206,108,4 duplicate(BrightArbor3) Bright Arbor#f1-11 722 -payg_cas01,212,108,4 duplicate(BrightArbor3) Bright Arbor#f1-12 722 - - - -//===========================================================================// -// Castle 2 -//===========================================================================// -payon,166,173,3 script Scarlet Palace#f2-1::ScarletPalace 722,{ - callfunc "F_Flags","Payon","payg_cas02",25,266,0,0; - close; - -OnRecvCastlePy02: - FlagEmblem GetCastleData("payg_cas02",1); - end; -} - -pay_gld,292,112,6 script Scarlet Palace#f2-2::ScarletPalace2 722,{ - callfunc "F_Flags","Payon","payg_cas02",25,266,1,1; - close; - -OnRecvCastlePy02: - FlagEmblem GetCastleData("payg_cas02",1); - end; -} - -payg_cas02,254,40,6 script Scarlet Palace#f2-3::ScarletPalace3 722,{ - callfunc "F_Flags","Payon","payg_cas02",25,266,0,1; - close; - -OnRecvCastlePy02: - FlagEmblem GetCastleData("payg_cas02",1); - end; -} -// Additiona Town Flag ==================================== -payon,97,322,4 duplicate(ScarletPalace) Scarlet Palace#f2-4 722 -// In Guild ============================================== -pay_gld,292,120,6 duplicate(ScarletPalace2) Scarlet Palace#f2-5 722 -pay_gld,291,135,6 duplicate(ScarletPalace2) Scarlet Palace#f2-6 722 -pay_gld,271,163,0 duplicate(ScarletPalace2) Scarlet Palace#f2-7 722 -// In Castle ============================================== -payg_cas02,254,48,6 duplicate(ScarletPalace3) Scarlet Palace#f2-8 722 -payg_cas02,202,49,0 duplicate(ScarletPalace3) Scarlet Palace#f2-9 722 -payg_cas02,209,49,0 duplicate(ScarletPalace3) Scarlet Palace#f2-10 722 -payg_cas02,59,282,4 duplicate(ScarletPalace3) Scarlet Palace#f2-11 722 -payg_cas02,70,282,4 duplicate(ScarletPalace3) Scarlet Palace#f2-12 722 - - - -//============================================================================// -// Castle 3 -//============================================================================// -payon,166,177,3 script Holy Shadow#f3-1::HolyShadow 722,{ - callfunc "F_Flags","Payon","payg_cas03",9,263,0,0; - close; - -OnRecvCastlePy03: - FlagEmblem GetCastleData("payg_cas03",1); - end; -} - -pay_gld,321,298,2 script Holy Shadow#f3-2::HolyShadow2 722,{ - callfunc "F_Flags","Payon","payg_cas03",9,263,1,1; - close; - -OnRecvCastlePy03: - FlagEmblem GetCastleData("payg_cas03",1); - end; -} - -payg_cas03,236,54,2 script Holy Shadow#f3-3::HolyShadow3 722,{ - callfunc "F_Flags","Payon","payg_cas03",9,263,0,1; - close; - -OnRecvCastlePy03: - FlagEmblem GetCastleData("payg_cas03",1); - end; -} -// Additiona Town Flag ==================================== -payon,113,322,4 duplicate(HolyShadow) Holy Shadow#f3-4 722 -// In Guild =============================================== -pay_gld,321,289,2 duplicate(HolyShadow2) Holy Shadow#f3-5 722 -pay_gld,327,304,1 duplicate(HolyShadow2) Holy Shadow#f3-6 722 -pay_gld,333,254,4 duplicate(HolyShadow2) Holy Shadow#f3-7 722 -// In Castle ============================================== -payg_cas03,236,45,2 duplicate(HolyShadow3) Holy Shadow#f3-8 722 -payg_cas03,259,66,4 duplicate(HolyShadow3) Holy Shadow#f3-9 722 -payg_cas03,266,66,4 duplicate(HolyShadow3) Holy Shadow#f3-10 722 -payg_cas03,34,31,4 duplicate(HolyShadow3) Holy Shadow#f3-11 722 -payg_cas03,43,31,4 duplicate(HolyShadow3) Holy Shadow#f3-12 722 - - - -//============================================================================// -// Castle 4 -//============================================================================// -payon,166,169,3 script Sacred Altar#f4-1::SacredAltar 722,{ - callfunc "F_Flags","Payon","payg_cas04",40,235,0,0; - close; - -OnRecvCastlePy04: - FlagEmblem GetCastleData("payg_cas04",1); - end; -} - -pay_gld,137,160,0 script Sacred Altar#f4-2::SacredAltar2 722,{ - callfunc "F_Flags","Payon","payg_cas04",40,235,1,1; - close; - -OnRecvCastlePy04: - FlagEmblem GetCastleData("payg_cas04",1); - end; -} - -payg_cas04,255,259,0 script Sacred Altar#f4-3::SacredAltar3 722,{ - callfunc "F_Flags","Payon","payg_cas04",40,235,0,1; - close; - -OnRecvCastlePy04: - FlagEmblem GetCastleData("payg_cas04",1); - end; -} -// Additiona Town Flag ==================================== -payon,118,322,4 duplicate(SacredAltar) Sacred Altar#f4-4 722 -// In Guild =============================================== -pay_gld,143,160,0 duplicate(SacredAltar2) Sacred Altar#f4-5 722 -pay_gld,133,151,2 duplicate(SacredAltar2) Sacred Altar#f4-6 722 -pay_gld,153,166,1 duplicate(SacredAltar2) Sacred Altar#f4-7 722 -// In Castle ============================================== -payg_cas04,248,259,0 duplicate(SacredAltar3) Sacred Altar#f4-8 722 -payg_cas04,248,168,6 duplicate(SacredAltar3) Sacred Altar#f4-9 722 -payg_cas04,248,160,6 duplicate(SacredAltar3) Sacred Altar#f4-10 722 -payg_cas04,232,181,4 duplicate(SacredAltar3) Sacred Altar#f4-11 722 -payg_cas04,239,181,4 duplicate(SacredAltar3) Sacred Altar#f4-12 722 - - - -//============================================================================// -// Castle 5 -//============================================================================// -payon,166,165,3 script Bamboo Grove Hill#f5-1::BambooGroveHill 722,{ - callfunc "F_Flags","Payon","payg_cas05",276,227,0,0; - close; - -OnRecvCastlePy05: - FlagEmblem GetCastleData("payg_cas05",1); - end; -} - -pay_gld,208,268,4 script Bamboo Grove Hill#f5-2::BambooGroveHill2 722,{ - callfunc "F_Flags","Payon","payg_cas05",276,227,1,1; - close; - -OnRecvCastlePy05: - FlagEmblem GetCastleData("payg_cas05",1); - end; -} - -payg_cas05,32,249,4 script Bamboo Grove Hill#f5-3::BambooGroveHill3 722,{ - callfunc "F_Flags","Payon","payg_cas05",276,227,0,1; - close; - -OnRecvCastlePy05: - FlagEmblem GetCastleData("payg_cas05",1); - end; -} -// Additiona Town Flag ==================================== -payon,123,322,4 duplicate(BambooGroveHill) Bamboo Grove Hill#f5-4 722 -// In Guild ============================================== -pay_gld,199,268,4 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-5 722 -pay_gld,190,277,3 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-6 722 -pay_gld,187,294,2 duplicate(BambooGroveHill2) Bamboo Grove Hill#f5-7 722 -// In Castle ============================================= -payg_cas05,24,249,4 duplicate(BambooGroveHill3) Bamboo Grove Hill#f5-8 722 -payg_cas05,62,271,0 duplicate(BambooGroveHill3) Bamboo Grove Hill#f5-9 722 -payg_cas05,57,271,0 duplicate(BambooGroveHill3) Bamboo Grove Hill#f5-10 722 -payg_cas05,55,252,2 duplicate(BambooGroveHill3) Bamboo Grove Hill#f5-11 722 -payg_cas05,55,260,2 duplicate(BambooGroveHill3) Bamboo Grove Hill#f5-12 722 diff --git a/npc/guild/payg/payg_guardians.txt b/npc/guild/payg/payg_guardians.txt deleted file mode 100644 index e88dd9e5e..000000000 --- a/npc/guild/payg/payg_guardians.txt +++ /dev/null @@ -1,115 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - payg_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 payg 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. -//============================================================ - - -payg_cas01,139,139,0 script Guardian_Py01 -1,{ -OnAgitInit: - killmonster "payg_cas01","Guardian_Py01::OnGuardianDied"; - if (GetCastleData("payg_cas01",10) == 1) guardian "payg_cas01",229,92,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",0; - if (GetCastleData("payg_cas01",11) == 1) guardian "payg_cas01",225,80,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",1; - if (GetCastleData("payg_cas01",12) == 1) guardian "payg_cas01",222,111,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",2; - if (GetCastleData("payg_cas01",13) == 1) guardian "payg_cas01",99,45,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",3; - if (GetCastleData("payg_cas01",14) == 1) guardian "payg_cas01",65,31,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",4; - if (GetCastleData("payg_cas01",15) == 1) guardian "payg_cas01",36,127,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",5; - if (GetCastleData("payg_cas01",16) == 1) guardian "payg_cas01",51,144,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",6; - if (GetCastleData("payg_cas01",17) == 1) guardian "payg_cas01",138,133,"Guardian Knight",1286,"Guardian_Py01::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -payg_cas02,39,25,0 script Guardian_Py02 -1,{ -OnAgitInit: - killmonster "payg_cas02","Guardian_Py02::OnGuardianDied"; - if (GetCastleData("payg_cas02",10) == 1) guardian "payg_cas02",237,54,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",0; - if (GetCastleData("payg_cas02",11) == 1) guardian "payg_cas02",228,72,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",1; - if (GetCastleData("payg_cas02",12) == 1) guardian "payg_cas02",210,41,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",2; - if (GetCastleData("payg_cas02",13) == 1) guardian "payg_cas02",57,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",3; - if (GetCastleData("payg_cas02",14) == 1) guardian "payg_cas02",42,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",4; - if (GetCastleData("payg_cas02",15) == 1) guardian "payg_cas02",287,257,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",5; - if (GetCastleData("payg_cas02",16) == 1) guardian "payg_cas02",264,272,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",6; - if (GetCastleData("payg_cas02",17) == 1) guardian "payg_cas02",27,20,"Guardian Knight",1286,"Guardian_Py02::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -payg_cas03,269,265,0 script Guardian_Py03 -1,{ -OnAgitInit: - killmonster "payg_cas03","Guardian_Py03::OnGuardianDied"; - if (GetCastleData("payg_cas03",10) == 1) guardian "payg_cas03",245,37,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",0; - if (GetCastleData("payg_cas03",11) == 1) guardian "payg_cas03",269,51,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",1; - if (GetCastleData("payg_cas03",12) == 1) guardian "payg_cas03",36,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",2; - if (GetCastleData("payg_cas03",13) == 1) guardian "payg_cas03",41,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",3; - if (GetCastleData("payg_cas03",14) == 1) guardian "payg_cas03",39,65,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",4; - if (GetCastleData("payg_cas03",15) == 1) guardian "payg_cas03",19,276,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",5; - if (GetCastleData("payg_cas03",16) == 1) guardian "payg_cas03",37,277,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",6; - if (GetCastleData("payg_cas03",17) == 1) guardian "payg_cas03",268,244,"Guardian Knight",1286,"Guardian_Py03::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -payg_cas04,271,29,0 script Guardian_Py04 -1,{ -OnAgitInit: - killmonster "payg_cas04","Guardian_Py04::OnGuardianDied"; - if (GetCastleData("payg_cas04",10) == 1) guardian "payg_cas04",251,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",0; - if (GetCastleData("payg_cas04",11) == 1) guardian "payg_cas04",232,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",1; - if (GetCastleData("payg_cas04",12) == 1) guardian "payg_cas04",231,175,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",2; - if (GetCastleData("payg_cas04",13) == 1) guardian "payg_cas04",32,287,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",3; - if (GetCastleData("payg_cas04",14) == 1) guardian "payg_cas04",32,232,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",4; - if (GetCastleData("payg_cas04",15) == 1) guardian "payg_cas04",35,45,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",5; - if (GetCastleData("payg_cas04",16) == 1) guardian "payg_cas04",36,17,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",6; - if (GetCastleData("payg_cas04",17) == 1) guardian "payg_cas04",270,41,"Guardian Knight",1286,"Guardian_Py04::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -payg_cas05,30,30,0 script Guardian_Py05 -1,{ -OnAgitInit: - killmonster "payg_cas05","Guardian_Py05::OnGuardianDied"; - if (GetCastleData("payg_cas05",10) == 1) guardian "payg_cas05",19,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",0; - if (GetCastleData("payg_cas05",11) == 1) guardian "payg_cas05",33,260,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",1; - if (GetCastleData("payg_cas05",12) == 1) guardian "payg_cas05",266,234,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",2; - if (GetCastleData("payg_cas05",13) == 1) guardian "payg_cas05",266,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",3; - if (GetCastleData("payg_cas05",14) == 1) guardian "payg_cas05",263,37,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",4; - if (GetCastleData("payg_cas05",15) == 1) guardian "payg_cas05",263,21,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",5; - if (GetCastleData("payg_cas05",16) == 1) guardian "payg_cas05",250,22,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",6; - if (GetCastleData("payg_cas05",17) == 1) guardian "payg_cas05",36,36,"Guardian Knight",1286,"Guardian_Py05::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} diff --git a/npc/guild/payg/payg_kafras.txt b/npc/guild/payg/payg_kafras.txt deleted file mode 100644 index 92cd0a86b..000000000 --- a/npc/guild/payg/payg_kafras.txt +++ /dev/null @@ -1,66 +0,0 @@ -//== eAthena Script ======================================== -//= War of Emperium Kafras for Payon 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 Payon 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 ============= -payg_cas01,128,58,3 script Kafra Staff#Py01 117,{ - callfunc "F_GKafra", "payg_cas01", "Payon"; - end; -OnRecvCastlePy01: - if (GetCastleData("payg_cas01",9) < 1) disablenpc "Kafra Staff#Py01"; - end; -} - - -// Castle 2 ============= -payg_cas02,22,275,5 script Kafra Staff#Py02 117,{ - callfunc "F_GKafra", "payg_cas02", "Payon"; - end; -OnRecvCastlePy02: - if (GetCastleData("payg_cas02",9) < 1) disablenpc "Kafra Staff#Py02"; - end; -} - - -// Castle 3 ============= -payg_cas03,9,263,5 script Kafra Staff#Py03 117,{ - callfunc "F_GKafra", "payg_cas03", "Payon"; - end; -OnRecvCastlePy03: - if (GetCastleData("payg_cas03",9) < 1) disablenpc "Kafra Staff#Py03"; - end; -} - - -// Castle 4 ============= -payg_cas04,40,235,1 script Kafra Staff#Py04 117,{ - callfunc "F_GKafra", "payg_cas04", "Payon"; - end; -OnRecvCastlePy04: - if (GetCastleData("payg_cas04",9) < 1) disablenpc "Kafra Staff#Py04"; - end; -} - - -// Castle 5 ============= -payg_cas05,276,227,1 script Kafra Staff#Py05 117,{ - callfunc "F_GKafra", "payg_cas05", "Payon"; - end; -OnRecvCastlePy05: - if (GetCastleData("payg_cas05",9) < 1) disablenpc "Kafra Staff#Py05"; - end; -} diff --git a/npc/guild/payg/payg_managers.txt b/npc/guild/payg/payg_managers.txt deleted file mode 100644 index b2c23938c..000000000 --- a/npc/guild/payg/payg_managers.txt +++ /dev/null @@ -1,96 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Managers for Payon 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 ================================================================================== -payg_cas01,120,58,4 script Kurunnadi#pay1 55,{ - if(callfunc("F_GldManager","Steward Kurunnadi","payg_cas01",295,8,"Py01") == 0) close; - - if (@GDnum == 10) guardian "payg_cas01",229,92,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",0; - if (@GDnum == 11) guardian "payg_cas01",225,80,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",1; - if (@GDnum == 12) guardian "payg_cas01",222,111,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",2; - if (@GDnum == 13) guardian "payg_cas01",99,45,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",3; - if (@GDnum == 14) guardian "payg_cas01",65,31,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",4; - if (@GDnum == 15) guardian "payg_cas01",36,127,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",5; - if (@GDnum == 16) guardian "payg_cas01",51,144,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",6; - if (@GDnum == 17) guardian "payg_cas01",138,133,"Guardian Knight",1286,"Guardian_Py01::OnGuardianDied",7; - close; -} - - -// Castle 2 ================================================================================== -payg_cas02,22,260,7 script Cherieos#pay2 55,{ - if(callfunc("F_GldManager","Steward Cherieos","payg_cas02",141,149,"Py02") == 0) close; - - if (@GDnum == 10) guardian "payg_cas02",237,54,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",0; - if (@GDnum == 11) guardian "payg_cas02",228,72,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",1; - if (@GDnum == 12) guardian "payg_cas02",210,41,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",2; - if (@GDnum == 13) guardian "payg_cas02",57,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",3; - if (@GDnum == 14) guardian "payg_cas02",42,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",4; - if (@GDnum == 15) guardian "payg_cas02",287,257,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",5; - if (@GDnum == 16) guardian "payg_cas02",264,272,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",6; - if (@GDnum == 17) guardian "payg_cas02",27,20,"Guardian Knight",1286,"Guardian_Py02::OnGuardianDied",7; - close; -} - - -// Castle 3 ================================================================================== -payg_cas03,10,277,0 script Gheriot#pay3 55,{ - if(callfunc("F_GldManager","Steward Gheriot","payg_cas03",163,167,"Py03") == 0) close; - - if (@GDnum == 10) guardian "payg_cas03",245,37,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",0; - if (@GDnum == 11) guardian "payg_cas03",269,51,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",1; - if (@GDnum == 12) guardian "payg_cas03",36,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",2; - if (@GDnum == 13) guardian "payg_cas03",41,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",3; - if (@GDnum == 14) guardian "payg_cas03",39,65,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",4; - if (@GDnum == 15) guardian "payg_cas03",19,276,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",5; - if (@GDnum == 16) guardian "payg_cas03",37,277,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",6; - if (@GDnum == 17) guardian "payg_cas03",268,244,"Guardian Knight",1286,"Guardian_Py03::OnGuardianDied",7; - close; -} - - -// Castle 4 ================================================================================== -payg_cas04,38,284,3 script DJ#pay4 55,{ - if(callfunc("F_GldManager","Steward DJ","payg_cas04",151,47,"Py04") == 0) close; - - if (@GDnum == 10) guardian "payg_cas04",251,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",0; - if (@GDnum == 11) guardian "payg_cas04",232,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",1; - if (@GDnum == 12) guardian "payg_cas04",231,175,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",2; - if (@GDnum == 13) guardian "payg_cas04",32,287,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",3; - if (@GDnum == 14) guardian "payg_cas04",32,232,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",4; - if (@GDnum == 15) guardian "payg_cas04",35,45,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",5; - if (@GDnum == 16) guardian "payg_cas04",36,17,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",6; - if (@GDnum == 17) guardian "payg_cas04",270,41,"Guardian Knight",1286,"Guardian_Py04::OnGuardianDied",7; - close; -} - - -// Castle 5 ================================================================================== -payg_cas05,277,249,3 script Nahzarf#pay5 55,{ - if(callfunc("F_GldManager","Steward Nahzarf","payg_cas05",153,137,"Py05") == 0) close; - - if (@GDnum == 10) guardian "payg_cas05",19,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",0; - if (@GDnum == 11) guardian "payg_cas05",33,260,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",1; - if (@GDnum == 12) guardian "payg_cas05",266,234,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",2; - if (@GDnum == 13) guardian "payg_cas05",266,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",3; - if (@GDnum == 14) guardian "payg_cas05",263,37,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",4; - if (@GDnum == 15) guardian "payg_cas05",263,21,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",5; - if (@GDnum == 16) guardian "payg_cas05",250,22,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",6; - if (@GDnum == 17) guardian "payg_cas05",36,36,"Guardian Knight",1286,"Guardian_Py05::OnGuardianDied",7; - close; -} diff --git a/npc/guild/payg/payg_treas.txt b/npc/guild/payg/payg_treas.txt deleted file mode 100644 index d0e174215..000000000 --- a/npc/guild/payg/payg_treas.txt +++ /dev/null @@ -1,162 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Treasure Rooms for Payon 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 ---------------------------------------------------------- -payg_cas01,1,1,0 script Treasure_Py01 -1,{ -OnRecvCastlePy01: - end; -OnInit: - if($boxNumPy01 == 0) end; - set $@bxPy01, $boxNumPy01; - callfunc "F_GldTreas","payg_cas01","Py01",$boxNumPy01,$@bxPy01,$@boxIdPy01,1344,286,4,295,13,1; - end; - -OnDied: - set $boxNumPy01, $boxNumPy01 -1; - end; -} - -// Treasure Room Switch --------------------------------------------------- -payg_cas01,295,8,0 script Switch#TresPy01 111,{ - callfunc "F_GldTreasSw", "payg_cas01",120,59; - end; -} - -// Treasure Room Protection ------------------------------------------------ -payg_cas01,291,8,0 script ban_warp#6 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "payg_cas01", "payon",100,100; - end; -} - -//<================================ Castle 2 ================================>\\ -// Treasure Spawn ---------------------------------------------------------- -payg_cas02,1,1,0 script Treasure_Py02 -1,{ -OnRecvCastlePy02: - end; -OnInit: - if($boxNumPy02 == 0) end; - set $@bxPy02, $boxNumPy02; - callfunc "F_GldTreas","payg_cas02","Py02",$boxNumPy02,$@bxPy02,$@boxIdPy02,1346,140,140,148,149,1; - end; - -OnDied: - set $boxNumPy02, $boxNumPy02 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -payg_cas02,149,148,0 script Switch#TresPy02 111,{ - callfunc "F_GldTreasSw", "payg_cas02",22,261; - end; -} - -// Treasure Room Protection ------------------------------------------------ -payg_cas02,145,144,0 script ban_warp#7 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "payg_cas02", "payon",100,100; - end; -} - -//<================================ Castle 3 ================================>\\ -// Treasure Spawn ---------------------------------------------------------- -payg_cas03,158,168,0 script Treasure_Py03 -1,{ -OnRecvCastlePy03: - end; -OnInit: - if($boxNumPy03 == 0) end; - set $@bxPy03, $boxNumPy03; - callfunc "F_GldTreas","payg_cas03","Py03",$boxNumPy03,$@bxPy03,$@boxIdPy03,1348,154,164,162,173,1; - end; - -OnDied: - set $boxNumPy03, $boxNumPy03 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -payg_cas03,163,167,0 script Switch#TresPy03 111,{ - callfunc "F_GldTreasSw", "payg_cas03",11,278; - end; -} - -// Treasure Room Protection ------------------------------------------------ -payg_cas03,159,168,0 script ban_warp#8 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "payg_cas03", "payon",100,100; - end; -} - -//<================================ Castle 4 ================================>\\ -// Treasure Spawn ---------------------------------------------------------- -payg_cas04,146,48,0 script Treasure_Py04 -1,{ -OnRecvCastlePy04: - end; -OnInit: - if($boxNumPy04 == 0) end; - set $@bxPy04, $boxNumPy04; - callfunc "F_GldTreas","payg_cas04","Py04",$boxNumPy04,$@bxPy04,$@boxIdPy04,1350,142,44,151,51,1; - end; - -OnDied: - set $boxNumPy04, $boxNumPy04 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -payg_cas04,151,47,0 script Switch#TresPy04 111,{ - callfunc "F_GldTreasSw", "payg_cas04",38,285; - end; -} - -// Treasure Room Protection ------------------------------------------------ -payg_cas04,147,48,0 script ban_warp#9 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "payg_cas04", "payon",100,100; - end; -} - -//<================================ Castle 5 ================================>\\ -// Treasure Spawn ---------------------------------------------------------- -payg_cas05,156,131,0 script Treasure_Py05 -1,{ -OnRecvCastlePy05: - end; -OnInit: - if($boxNumPy05 == 0) end; - set $@bxPy05, $boxNumPy05; - callfunc "F_GldTreas","payg_cas05","Py05",$boxNumPy05,$@bxPy05,$@boxIdPy05,1352,152,128,160,135,1; - end; - -OnDied: - set $boxNumPy05, $boxNumPy05 -1; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -payg_cas05,161,136,0 script Switch#TresPy05 111,{ - callfunc "F_GldTreasSw", "payg_cas05",277,250; - end; -} - -// Treasure Room Protection ------------------------------------------------ -payg_cas05,157,132,0 script ban_warp#10 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "payg_cas05", "payon",100,100; - end; -} |