diff options
Diffstat (limited to 'npc/guild/gefg')
-rw-r--r-- | npc/guild/gefg/gefg_dunsw.txt | 49 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_ev_agit.txt | 159 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_flags.txt | 231 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_guardians.txt | 114 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_kafras.txt | 67 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_managers.txt | 96 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_treas.txt | 170 |
7 files changed, 0 insertions, 886 deletions
diff --git a/npc/guild/gefg/gefg_dunsw.txt b/npc/guild/gefg/gefg_dunsw.txt deleted file mode 100644 index 4a803a22b..000000000 --- a/npc/guild/gefg/gefg_dunsw.txt +++ /dev/null @@ -1,49 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Dungeon Switch for Geffen 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 ================================================ -gefg_cas01,78,84,0 script Switch#DunG01 111,{ - callfunc "F_GldDunSw","gefg_cas01","04",39,258; - close; -} - - -// Castle 2 ================================================ -gefg_cas02,167,40,0 script Switch#DunG02 111,{ - callfunc "F_GldDunSw","gefg_cas02","04",125,270; - close; -} - - -// Castle 3 ================================================ -gefg_cas03,221,43,0 script Switch#DunG03 111,{ - callfunc "F_GldDunSw","gefg_cas03","04",268,251; - close; -} - - -// Castle 4 ================================================ -gefg_cas04,58,75,0 script Switch#DunG04 111,{ - callfunc "F_GldDunSw","gefg_cas04","04",268,108; - close; -} - - -// Castle 5 ================================================ -gefg_cas05,66,29,0 script Switch#DunG05 111,{ - callfunc "F_GldDunSw","gefg_cas05","04",230,35; - close; -} diff --git a/npc/guild/gefg/gefg_ev_agit.txt b/npc/guild/gefg/gefg_ev_agit.txt deleted file mode 100644 index 40bb4ee53..000000000 --- a/npc/guild/gefg/gefg_ev_agit.txt +++ /dev/null @@ -1,159 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - Geffen 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 Geffen 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 ================================================================ -gefg_cas01,198,182,0 script Agit_G01 -1,{ -OnInterIfInitOnce: - GetCastleData "gefg_cas01",0,"::OnRecvCastleG01"; - end; -OnRecvCastleG01: - RequestGuildInfo GetCastleData("gefg_cas01",1); - end; -OnAgitStart: - callfunc "F_AgitStart","gefg_cas01","G01",198,182; - end; -OnAgitBreak: - callfunc "F_AgitBreak","gefg_cas01","G01"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","gefg_cas01","G01"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "gefg_cas01",GetCastleData("gefg_cas01",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "gefg_cas01",198,182,"Emperium",1288,1,"Agit_G01::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","gefg_cas01","G01"; - end; -} - -// Castle 2 ================================================================ -gefg_cas02,176,178,0 script Agit_G02 -1,{ -OnInterIfInitOnce: - GetCastleData "gefg_cas02",0,"::OnRecvCastleG02"; - end; -OnRecvCastleG02: - RequestGuildInfo GetCastleData("gefg_cas02",1); - end; -OnAgitStart: - callfunc "F_AgitStart","gefg_cas02","G02",176,178; - end; -OnAgitBreak: - callfunc "F_AgitBreak","gefg_cas02","G02"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","gefg_cas02","G02"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "gefg_cas02",GetCastleData("gefg_cas02",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "gefg_cas02",176,178,"Emperium",1288,1,"Agit_G02::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","gefg_cas02","G02"; - end; -} - -// Castle 3 ================================================================ -gefg_cas03,245,167,0 script Agit_G03 -1,{ -OnInterIfInitOnce: - GetCastleData "gefg_cas03",0,"::OnRecvCastleG03"; - end; -OnRecvCastleG03: - RequestGuildInfo GetCastleData("gefg_cas03",1); - end; -OnAgitStart: - callfunc "F_AgitStart","gefg_cas03","G03",245,167; - end; -OnAgitBreak: - callfunc "F_AgitBreak","gefg_cas03","G03"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","gefg_cas03","G03"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "gefg_cas03",GetCastleData("gefg_cas03",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "gefg_cas03",245,167,"Emperium",1288,1,"Agit_G03::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","gefg_cas03","G03"; - end; -} - -// Castle 4 ================================================================ -gefg_cas04,174,178,0 script Agit_G04 -1,{ -OnInterIfInitOnce: - GetCastleData "gefg_cas04",0,"::OnRecvCastleG04"; - end; -OnRecvCastleG04: - RequestGuildInfo GetCastleData("gefg_cas04",1); - end; -OnAgitStart: - callfunc "F_AgitStart","gefg_cas04","G04",174,178; - end; -OnAgitBreak: - callfunc "F_AgitBreak","gefg_cas04","G04"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","gefg_cas04","G04"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "gefg_cas04",GetCastleData("gefg_cas04",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "gefg_cas04",174,178,"Emperium",1288,1,"Agit_G04::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","gefg_cas04","G04"; - end; -} - -// Castle 5 ================================================================ -gefg_cas05,194,184,0 script Agit_G05 -1,{ -OnInterIfInitOnce: - GetCastleData "gefg_cas05",0,"::OnRecvCastleG05"; - end; -OnRecvCastleG05: - RequestGuildInfo GetCastleData("gefg_cas05",1); - end; -OnAgitStart: - callfunc "F_AgitStart","gefg_cas05","G05",194,184; - end; -OnAgitBreak: - callfunc "F_AgitBreak","gefg_cas05","G05"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","gefg_cas05","G05"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "gefg_cas05",GetCastleData("gefg_cas05",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "gefg_cas05",194,184,"Emperium",1288,1,"Agit_G05::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","gefg_cas05","G05"; - end; -} diff --git a/npc/guild/gefg/gefg_flags.txt b/npc/guild/gefg/gefg_flags.txt deleted file mode 100644 index afb339c16..000000000 --- a/npc/guild/gefg/gefg_flags.txt +++ /dev/null @@ -1,231 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Geffen 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. Display 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 -//================================================================================// -geffen,109,123,2 script Repherion#g1-1::Repherion 722,{ - callfunc "F_Flags","Geffen","gefg_cas01",83,47,0,0; - close; - -OnRecvCastleG01: - FlagEmblem GetCastleData("gefg_cas01",1); - end; -} - -gef_fild13,148,51,5 script Repherion#g1-2::Repherion2 722,{ - callfunc "F_Flags","Geffen","gefg_cas01",83,47,1,1; - close; - -OnRecvCastleG01: - FlagEmblem GetCastleData("gefg_cas01",1); - end; -} - -gefg_cas01,28,157,4 script Repherion#g1-3::Repherion3 722,{ - callfunc "F_Flags","Geffen","gefg_cas01",83,47,0,1; - close; - -OnRecvCastleG01: - FlagEmblem GetCastleData("gefg_cas01",1); - end; -} -// In Guild =============================================== -gef_fild13,155,54,5 duplicate(Repherion2) Repherion#g1-4 722 -gef_fild13,212,79,6 duplicate(Repherion2) Repherion#g1-5 722 -gef_fild13,211,71,6 duplicate(Repherion2) Repherion#g1-6 722 -// In Castle ============================================= -gefg_cas01,22,156,5 duplicate(Repherion3) Repherion#g1-7 722 -gefg_cas01,68,185,3 duplicate(Repherion3) Repherion#g1-8 722 -gefg_cas01,17,171,5 duplicate(Repherion3) Repherion#g1-9 722 -gefg_cas01,59,16,4 duplicate(Repherion3) Repherion#g1-10 722 -gefg_cas01,64,16,4 duplicate(Repherion3) Repherion#g1-11 722 - - - -//===================================================================================// -// Castle 2 -//===================================================================================// -geffen,113,130,1 script Eeyolbriggar#g2-1::Eeyolbriggar 722,{ - callfunc "F_Flags","Geffen","gefg_cas02",23,66,0,0; - close; - -OnRecvCastleG02: - FlagEmblem GetCastleData("gefg_cas02",1); - end; -} - -gef_fild13,303,243,4 script Eeyolbriggar#g2-2::Eeyolbriggar2 722,{ - callfunc "F_Flags","Geffen","gefg_cas02",23,66,1,1; - close; - -OnRecvCastleG02: - FlagEmblem GetCastleData("gefg_cas02",1); - end; -} - -gefg_cas02,65,130,5 script Eeyolbriggar#g2-3::Eeyolbriggar3 722,{ - callfunc "F_Flags","Geffen","gefg_cas02",23,66,0,1; - close; - -OnRecvCastleG02: - FlagEmblem GetCastleData("gefg_cas02",1); - end; -} -// In Guild ============================================== -gef_fild13,312,243,4 duplicate(Eeyolbriggar2) Eeyolbriggar#g2-4 722 -gef_fild13,290,243,4 duplicate(Eeyolbriggar2) Eeyolbriggar#g2-5 722 -gef_fild13,324,243,4 duplicate(Eeyolbriggar2) Eeyolbriggar#g2-6 722 -// In Castle ============================================ -gefg_cas02,30,123,5 duplicate(Eeyolbriggar3) Eeyolbriggar#g2-7 722 -gefg_cas02,65,139,6 duplicate(Eeyolbriggar3) Eeyolbriggar#g2-8 722 -gefg_cas02,37,177,6 duplicate(Eeyolbriggar3) Eeyolbriggar#g2-9 722 -gefg_cas02,37,168,6 duplicate(Eeyolbriggar3) Eeyolbriggar#g2-10 722 -gefg_cas02,68,47,2 duplicate(Eeyolbriggar3) Eeyolbriggar#g2-11 722 -gefg_cas02,68,36,2 duplicate(Eeyolbriggar3) Eeyolbriggar#g2-12 722 - - - -//================================================================================// -// Castle 3 -//================================================================================// -geffen,120,132,8 script Yesnelph#g3-1::Yesnelph 722,{ - callfunc "F_Flags","Geffen","gefg_cas03",116,89,0,0; - close; - -OnRecvCastleG03: - FlagEmblem GetCastleData("gefg_cas03",1); - end; -} - -gef_fild13,78,182,4 script Yesnelph#g3-2::Yesnelph2 722,{ - callfunc "F_Flags","Geffen","gefg_cas03",116,89,1,1; - close; - -OnRecvCastleG03: - FlagEmblem GetCastleData("gefg_cas03",1); - end; -} - -gefg_cas03,122,220,6 script Yesnelph#g3-3::Yesnelph3 722,{ - callfunc "F_Flags","Geffen","gefg_cas03",116,89,0,1; - close; - -OnRecvCastleG03: - FlagEmblem GetCastleData("gefg_cas03",1); - end; -} -// In Guild =============================================== -gef_fild13,87,182,4 duplicate(Yesnelph2) Yesnelph#g3-4 722 -gef_fild13,73,295,7 duplicate(Yesnelph2) Yesnelph#g3-5 722 -gef_fild13,113,274,7 duplicate(Yesnelph2) Yesnelph#g3-6 722 -gef_fild13,144,235,6 duplicate(Yesnelph2) Yesnelph#g3-7 722 -gef_fild13,144,244,4 duplicate(Yesnelph2) Yesnelph#g3-8 722 -// In Castle ============================================= -gefg_cas03,122,229,6 duplicate(Yesnelph3) Yesnelph#g3-9 722 -gefg_cas03,91,257,7 duplicate(Yesnelph3) Yesnelph#g3-10 722 -gefg_cas03,52,276,7 duplicate(Yesnelph3) Yesnelph#g3-11 722 -gefg_cas03,56,164,4 duplicate(Yesnelph3) Yesnelph#g3-12 722 -gefg_cas03,65,164,4 duplicate(Yesnelph3) Yesnelph#g3-13 722 -gefg_cas03,37,214,1 duplicate(Yesnelph3) Yesnelph#g3-14 722 -gefg_cas03,34,208,1 duplicate(Yesnelph3) Yesnelph#g3-15 722 - - - -//================================================================================// -// Castle 4 -//================================================================================// -geffen,127,130,7 script Bergel#g4-1::Bergel 722,{ - callfunc "F_Flags","Geffen","gefg_cas04",59,70,0,0; - close; - -OnRecvCastleG04: - FlagEmblem GetCastleData("gefg_cas04",1); - end; -} - -gef_fild13,190,283,3 script Bergel#g4-2::Bergel2 722,{ - callfunc "F_Flags","Geffen","gefg_cas04",59,70,1,1; - close; - -OnRecvCastleG04: - FlagEmblem GetCastleData("gefg_cas04",1); - end; -} - -gefg_cas04,24,157,4 script Bergel#g4-3::Bergel3 722,{ - callfunc "F_Flags","Geffen","gefg_cas04",59,70,0,1; - close; - -OnRecvCastleG04: - FlagEmblem GetCastleData("gefg_cas04",1); - end; -} -// In Guild =============================================== -gef_fild13,199,274,3 duplicate(Bergel2) Bergel#g4-4 722 -// In Castle ============================================= -gefg_cas04,35,158,4 duplicate(Bergel3) Bergel#g4-5 722 -gefg_cas04,44,184,4 duplicate(Bergel3) Bergel#g4-6 722 -gefg_cas04,51,184,4 duplicate(Bergel3) Bergel#g4-7 722 -gefg_cas04,39,212,7 duplicate(Bergel3) Bergel#g4-8 722 -gefg_cas04,29,212,1 duplicate(Bergel3) Bergel#g4-9 722 -gefg_cas04,24,73,1 duplicate(Bergel3) Bergel#g4-10 722 -gefg_cas04,35,73,4 duplicate(Bergel3) Bergel#g4-11 722 - - - -//================================================================================// -// Castle 5 -//================================================================================// -geffen,131,123,6 script Mersetzdeitz#g5-1::Mersetzdeitz 722,{ - callfunc "F_Flags","Geffen","gefg_cas05",61,52,0,0; - close; - -OnRecvCastleG05: - FlagEmblem GetCastleData("gefg_cas05",1); - end; -} - -gef_fild13,302,87,7 script Mersetzdeitz#g5-2::Mersetzdeitz2 722,{ - callfunc "F_Flags","Geffen","gefg_cas05",61,52,1,1; - close; - -OnRecvCastleG05: - FlagEmblem GetCastleData("gefg_cas05",1); - end; -} - -gefg_cas05,77,185,7 script Mersetzdeitz#g5-3::Mersetzdeitz3 722,{ - callfunc "F_Flags","Geffen","gefg_cas05",61,52,0,1; - close; - -OnRecvCastleG05: - FlagEmblem GetCastleData("gefg_cas05",1); - end; -} -// In Guild =============================================== -gef_fild13,313,83,0 duplicate(Mersetzdeitz2) Mersetzdeitz#g5-4 722 -gef_fild13,252,51,2 duplicate(Mersetzdeitz2) Mersetzdeitz#g5-5 722 -gef_fild13,26,147,2 duplicate(Mersetzdeitz2) Mersetzdeitz#g5-6 722 -// In Castle ============================================= -gefg_cas05,92,181,0 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-7 722 -gefg_cas05,83,158,1 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-8 722 -gefg_cas05,62,144,7 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-9 722 -gefg_cas05,62,66,4 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-10 722 -gefg_cas05,69,66,4 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-11 722 diff --git a/npc/guild/gefg/gefg_guardians.txt b/npc/guild/gefg/gefg_guardians.txt deleted file mode 100644 index a3221a8ca..000000000 --- a/npc/guild/gefg/gefg_guardians.txt +++ /dev/null @@ -1,114 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - gefg_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 gefg 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. -//============================================================ - -gefg_cas01,198,182,0 script Guardian_G01 -1,{ -OnAgitInit: - killmonster "gefg_cas01","Guardian_G01::OnGuardianDied"; - if (GetCastleData("gefg_cas01",10) == 1) guardian "gefg_cas01",67,179,"Guardian Soldier",1287,"Guardian_G01::OnGuardianDied",0; - if (GetCastleData("gefg_cas01",11) == 1) guardian "gefg_cas01",184,20,"Guardian Soldier",1287,"Guardian_G01::OnGuardianDied",1; - if (GetCastleData("gefg_cas01",12) == 1) guardian "gefg_cas01",62,41,"Guardian Soldier",1287,"Guardian_G01::OnGuardianDied",2; - if (GetCastleData("gefg_cas01",13) == 1) guardian "gefg_cas01",36,186,"Guardian Archer",1285,"Guardian_G01::OnGuardianDied",3; - if (GetCastleData("gefg_cas01",14) == 1) guardian "gefg_cas01",50,186,"Guardian Archer",1285,"Guardian_G01::OnGuardianDied",4; - if (GetCastleData("gefg_cas01",15) == 1) guardian "gefg_cas01",50,67,"Guardian Knight",1286,"Guardian_G01::OnGuardianDied",5; - if (GetCastleData("gefg_cas01",16) == 1) guardian "gefg_cas01",189,41,"Guardian Knight",1286,"Guardian_G01::OnGuardianDied",6; - if (GetCastleData("gefg_cas01",17) == 1) guardian "gefg_cas01",200,167,"Guardian Knight",1286,"Guardian_G01::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -gefg_cas02,176,178,0 script Guardian_G02 -1,{ -OnAgitInit: - killmonster "gefg_cas02","Guardian_G02::OnGuardianDied"; - if (GetCastleData("gefg_cas02",10) == 1) guardian "gefg_cas02",64,168,"Guardian Soldier",1287,"Guardian_G02::OnGuardianDied",0; - if (GetCastleData("gefg_cas02",11) == 1) guardian "gefg_cas02",56,41,"Guardian Soldier",1287,"Guardian_G02::OnGuardianDied",1; - if (GetCastleData("gefg_cas02",12) == 1) guardian "gefg_cas02",166,25,"Guardian Soldier",1287,"Guardian_G02::OnGuardianDied",2; - if (GetCastleData("gefg_cas02",13) == 1) guardian "gefg_cas02",35,148,"Guardian Archer",1285,"Guardian_G02::OnGuardianDied",3; - if (GetCastleData("gefg_cas02",14) == 1) guardian "gefg_cas02",20,150,"Guardian Archer",1285,"Guardian_G02::OnGuardianDied",4; - if (GetCastleData("gefg_cas02",15) == 1) guardian "gefg_cas02",19,41,"Guardian Knight",1286,"Guardian_G02::OnGuardianDied",5; - if (GetCastleData("gefg_cas02",16) == 1) guardian "gefg_cas02",166,42,"Guardian Knight",1286,"Guardian_G02::OnGuardianDied",6; - if (GetCastleData("gefg_cas02",17) == 1) guardian "gefg_cas02",159,188,"Guardian Knight",1286,"Guardian_G02::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -gefg_cas03,245,167,0 script Guardian_G03 -1,{ -OnAgitInit: - killmonster "gefg_cas03","Guardian_G03::OnGuardianDied"; - if (GetCastleData("gefg_cas03",10) == 1) guardian "gefg_cas03",48,176,"Guardian Archer",1285,"Guardian_G03::OnGuardianDied",0; - if (GetCastleData("gefg_cas03",11) == 1) guardian "gefg_cas03",113,214,"Guardian Archer",1285,"Guardian_G03::OnGuardianDied",1; - if (GetCastleData("gefg_cas03",12) == 1) guardian "gefg_cas03",48,207,"Guardian Soldier",1287,"Guardian_G03::OnGuardianDied",2; - if (GetCastleData("gefg_cas03",13) == 1) guardian "gefg_cas03",157,62,"Guardian Soldier",1287,"Guardian_G03::OnGuardianDied",3; - if (GetCastleData("gefg_cas03",14) == 1) guardian "gefg_cas03",243,41,"Guardian Soldier",1287,"Guardian_G03::OnGuardianDied",4; - if (GetCastleData("gefg_cas03",15) == 1) guardian "gefg_cas03",157,45,"Guardian Knight",1286,"Guardian_G03::OnGuardianDied",5; - if (GetCastleData("gefg_cas03",16) == 1) guardian "gefg_cas03",234,25,"Guardian Knight",1286,"Guardian_G03::OnGuardianDied",6; - if (GetCastleData("gefg_cas03",17) == 1) guardian "gefg_cas03",238,160,"Guardian Knight",1286,"Guardian_G03::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -gefg_cas04,174,178,0 script Guardian_G04 -1,{ -OnAgitInit: - killmonster "gefg_cas04","Guardian_G04::OnGuardianDied"; - if (GetCastleData("gefg_cas04",10) == 1) guardian "gefg_cas04",53,191,"Guardian Archer",1285,"Guardian_G04::OnGuardianDied",0; - if (GetCastleData("gefg_cas04",11) == 1) guardian "gefg_cas04",31,178,"Guardian Archer",1285,"Guardian_G04::OnGuardianDied",1; - if (GetCastleData("gefg_cas04",12) == 1) guardian "gefg_cas04",49,220,"Guardian Soldier",1287,"Guardian_G04::OnGuardianDied",2; - if (GetCastleData("gefg_cas04",13) == 1) guardian "gefg_cas04",29,46,"Guardian Soldier",1287,"Guardian_G04::OnGuardianDied",3; - if (GetCastleData("gefg_cas04",14) == 1) guardian "gefg_cas04",147,65,"Guardian Soldier",1287,"Guardian_G04::OnGuardianDied",4; - if (GetCastleData("gefg_cas04",15) == 1) guardian "gefg_cas04",57,46,"Guardian Knight",1286,"Guardian_G04::OnGuardianDied",5; - if (GetCastleData("gefg_cas04",16) == 1) guardian "gefg_cas04",160,50,"Guardian Knight",1286,"Guardian_G04::OnGuardianDied",6; - if (GetCastleData("gefg_cas04",17) == 1) guardian "gefg_cas04",148,189,"Guardian Knight",1286,"Guardian_G04::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} - -//------------------------------------------------------------------------------ -gefg_cas05,194,184,0 script Guardian_G05 -1,{ -OnAgitInit: - killmonster "gefg_cas05","Guardian_G05::OnGuardianDied"; - if (GetCastleData("gefg_cas05",10) == 1) guardian "gefg_cas05",45,149,"Guardian Archer",1285,"Guardian_G05::OnGuardianDied",0; - if (GetCastleData("gefg_cas05",11) == 1) guardian "gefg_cas05",71,163,"Guardian Archer",1285,"Guardian_G05::OnGuardianDied",1; - if (GetCastleData("gefg_cas05",12) == 1) guardian "gefg_cas05",72,142,"Guardian Soldier",1287,"Guardian_G05::OnGuardianDied",2; - if (GetCastleData("gefg_cas05",13) == 1) guardian "gefg_cas05",66,47,"Guardian Soldier",1287,"Guardian_G05::OnGuardianDied",3; - if (GetCastleData("gefg_cas05",14) == 1) guardian "gefg_cas05",177,50,"Guardian Soldier",1287,"Guardian_G05::OnGuardianDied",4; - if (GetCastleData("gefg_cas05",15) == 1) guardian "gefg_cas05",66,17,"Guardian Knight",1286,"Guardian_G05::OnGuardianDied",5; - if (GetCastleData("gefg_cas05",16) == 1) guardian "gefg_cas05",177,35,"Guardian Knight",1286,"Guardian_G05::OnGuardianDied",6; - if (GetCastleData("gefg_cas05",17) == 1) guardian "gefg_cas05",193,166,"Guardian Knight",1286,"Guardian_G05::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - end; -} diff --git a/npc/guild/gefg/gefg_kafras.txt b/npc/guild/gefg/gefg_kafras.txt deleted file mode 100644 index e747ea0d3..000000000 --- a/npc/guild/gefg/gefg_kafras.txt +++ /dev/null @@ -1,67 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Kafras for Geffen 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 Geffen 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] -//= Corrected the location of Castle 1's kafra. -//============================================================ - - -// Castle 1 =============================================== -gefg_cas01,83,47,0 script Kafra Staff#G01 117,{ - callfunc "F_GKafra", "gefg_cas01", "Geffen"; - end; -OnRecvCastleG01: - if (GetCastleData("gefg_cas01",9) < 1) disablenpc "Kafra Staff#G01"; - end; -} - - -// Castle 2 =============================================== -gefg_cas02,23,66,3 script Kafra Staff#G02 117,{ - callfunc "F_GKafra", "gefg_cas02", "Geffen"; - end; -OnRecvCastleG02: - if (GetCastleData("gefg_cas02",9) < 1) disablenpc "Kafra Staff#G02"; - end; -} - - -// Castle 3 =============================================== -gefg_cas03,116,89,5 script Kafra Staff#G03 117,{ - callfunc "F_GKafra", "gefg_cas03", "Geffen"; - end; -OnRecvCastleG03: - if (GetCastleData("gefg_cas03",9) < 1) disablenpc "Kafra Staff#G03"; - end; -} - - -// Castle 4 =============================================== -gefg_cas04,59,70,3 script Kafra Staff#G04 117,{ - callfunc "F_GKafra", "gefg_cas04", "Geffen"; - end; -OnRecvCastleG04: - if (GetCastleData("gefg_cas04",9) < 1) disablenpc "Kafra Staff#G04"; - end; -} - - -// Castle 5 =============================================== -gefg_cas05,61,52,5 script Kafra Staff#G05 117,{ - callfunc "F_GKafra", "gefg_cas05", "Geffen"; - end; -OnRecvCastleG05: - if (GetCastleData("gefg_cas05",9) < 1) disablenpc "Kafra Staff#G05"; - end; -} diff --git a/npc/guild/gefg/gefg_managers.txt b/npc/guild/gefg/gefg_managers.txt deleted file mode 100644 index 7b231cd21..000000000 --- a/npc/guild/gefg/gefg_managers.txt +++ /dev/null @@ -1,96 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Managers for Geffen 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 ================================================================================== -gefg_cas01,40,48,5 script Gnahcher#gef1 55,{ - if(callfunc("F_GldManager","Steward Gnahcher","gefg_cas01",152,117,"G01") == 0) close; - - if (@GDnum == 10) guardian "gefg_cas01",67,179,"Guardian Soldier",1287,"Guardian_G01::OnGuardianDied",0; - if (@GDnum == 11) guardian "gefg_cas01",184,20,"Guardian Soldier",1287,"Guardian_G01::OnGuardianDied",1; - if (@GDnum == 12) guardian "gefg_cas01",62,41,"Guardian Soldier",1287,"Guardian_G01::OnGuardianDied",2; - if (@GDnum == 13) guardian "gefg_cas01",36,186,"Guardian Archer",1285,"Guardian_G01::OnGuardianDied",3; - if (@GDnum == 14) guardian "gefg_cas01",50,186,"Guardian Archer",1285,"Guardian_G01::OnGuardianDied",4; - if (@GDnum == 15) guardian "gefg_cas01",50,67,"Guardian Knight",1286,"Guardian_G01::OnGuardianDied",5; - if (@GDnum == 16) guardian "gefg_cas01",189,41,"Guardian Knight",1286,"Guardian_G01::OnGuardianDied",6; - if (@GDnum == 17) guardian "gefg_cas01",200,167,"Guardian Knight",1286,"Guardian_G01::OnGuardianDied",7; - close; -} - - -// Castle 2 ================================================================================== -gefg_cas02,12,66,5 script Esmarehk#gef2 55,{ - if(callfunc("F_GldManager","Steward Esmarehk","gefg_cas02",145,115,"G02") == 0) close; - - if (@GDnum == 10) guardian "gefg_cas02",64,168,"Guardian Soldier",1287,"Guardian_G02::OnGuardianDied",0; - if (@GDnum == 11) guardian "gefg_cas02",56,41,"Guardian Soldier",1287,"Guardian_G02::OnGuardianDied",1; - if (@GDnum == 12) guardian "gefg_cas02",166,25,"Guardian Soldier",1287,"Guardian_G02::OnGuardianDied",2; - if (@GDnum == 13) guardian "gefg_cas02",35,148,"Guardian Archer",1285,"Guardian_G02::OnGuardianDied",3; - if (@GDnum == 14) guardian "gefg_cas02",20,150,"Guardian Archer",1285,"Guardian_G02::OnGuardianDied",4; - if (@GDnum == 15) guardian "gefg_cas02",19,41,"Guardian Knight",1286,"Guardian_G02::OnGuardianDied",5; - if (@GDnum == 16) guardian "gefg_cas02",166,42,"Guardian Knight",1286,"Guardian_G02::OnGuardianDied",6; - if (@GDnum == 17) guardian "gefg_cas02",159,188,"Guardian Knight",1286,"Guardian_G02::OnGuardianDied",7; - close; -} - - -// Castle 3 ================================================================================== -gefg_cas03,106,23,5 script Jean#gef3 55,{ - if(callfunc("F_GldManager","Steward Jean","gefg_cas03",275,289,"G03") == 0) close; - - if (@GDnum == 10) guardian "gefg_cas03",48,176,"Guardian Archer",1285,"Guardian_G03::OnGuardianDied",0; - if (@GDnum == 11) guardian "gefg_cas03",113,214,"Guardian Archer",1285,"Guardian_G03::OnGuardianDied",1; - if (@GDnum == 12) guardian "gefg_cas03",48,207,"Guardian Soldier",1287,"Guardian_G03::OnGuardianDied",2; - if (@GDnum == 13) guardian "gefg_cas03",157,62,"Guardian Soldier",1287,"Guardian_G03::OnGuardianDied",3; - if (@GDnum == 14) guardian "gefg_cas03",243,41,"Guardian Soldier",1287,"Guardian_G03::OnGuardianDied",4; - if (@GDnum == 15) guardian "gefg_cas03",157,45,"Guardian Knight",1286,"Guardian_G03::OnGuardianDied",5; - if (@GDnum == 16) guardian "gefg_cas03",234,25,"Guardian Knight",1286,"Guardian_G03::OnGuardianDied",6; - if (@GDnum == 17) guardian "gefg_cas03",238,160,"Guardian Knight",1286,"Guardian_G03::OnGuardianDied",7; - close; -} - - -// Castle 4 ================================================================================== -gefg_cas04,73,46,3 script Kellvahni#gef4 55,{ - if(callfunc("F_GldManager","Steward Kellvahni","gefg_cas04",116,123,"G04") == 0) close; - - if (@GDnum == 10) guardian "gefg_cas04",53,191,"Guardian Archer",1285,"Guardian_G04::OnGuardianDied",0; - if (@GDnum == 11) guardian "gefg_cas04",31,178,"Guardian Archer",1285,"Guardian_G04::OnGuardianDied",1; - if (@GDnum == 12) guardian "gefg_cas04",49,220,"Guardian Soldier",1287,"Guardian_G04::OnGuardianDied",2; - if (@GDnum == 13) guardian "gefg_cas04",29,46,"Guardian Soldier",1287,"Guardian_G04::OnGuardianDied",3; - if (@GDnum == 14) guardian "gefg_cas04",147,65,"Guardian Soldier",1287,"Guardian_G04::OnGuardianDied",4; - if (@GDnum == 15) guardian "gefg_cas04",57,46,"Guardian Knight",1286,"Guardian_G04::OnGuardianDied",5; - if (@GDnum == 16) guardian "gefg_cas04",160,50,"Guardian Knight",1286,"Guardian_G04::OnGuardianDied",6; - if (@GDnum == 17) guardian "gefg_cas04",148,189,"Guardian Knight",1286,"Guardian_G04::OnGuardianDied",7; - close; -} - - -// Castle 5 ================================================================================== -gefg_cas05,70,52,3 script Byohre#gef5 55,{ - if(callfunc("F_GldManager","Steward Byohre","gefg_cas05",149,106,"G05") == 0) close; - - if (@GDnum == 10) guardian "gefg_cas05",45,149,"Guardian Archer",1285,"Guardian_G05::OnGuardianDied",0; - if (@GDnum == 11) guardian "gefg_cas05",71,163,"Guardian Archer",1285,"Guardian_G05::OnGuardianDied",1; - if (@GDnum == 12) guardian "gefg_cas05",72,142,"Guardian Soldier",1287,"Guardian_G05::OnGuardianDied",2; - if (@GDnum == 13) guardian "gefg_cas05",66,47,"Guardian Soldier",1287,"Guardian_G05::OnGuardianDied",3; - if (@GDnum == 14) guardian "gefg_cas05",177,50,"Guardian Soldier",1287,"Guardian_G05::OnGuardianDied",4; - if (@GDnum == 15) guardian "gefg_cas05",66,17,"Guardian Knight",1286,"Guardian_G05::OnGuardianDied",5; - if (@GDnum == 16) guardian "gefg_cas05",177,35,"Guardian Knight",1286,"Guardian_G05::OnGuardianDied",6; - if (@GDnum == 17) guardian "gefg_cas05",193,166,"Guardian Knight",1286,"Guardian_G05::OnGuardianDied",7; - close; -} diff --git a/npc/guild/gefg/gefg_treas.txt b/npc/guild/gefg/gefg_treas.txt deleted file mode 100644 index 833c7406c..000000000 --- a/npc/guild/gefg/gefg_treas.txt +++ /dev/null @@ -1,170 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Treasure Rooms for Geffen 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 --------------------------------------------------------- -gefg_cas01,1,1,1 script Treasure_G01 -1,{ - -OnRecvCastleG01: - end; -OnInit: - if($boxNumG01 == 0) end; - set $@bxG01, $boxNumG01; - callfunc "F_GldTreas","gefg_cas01","G01",$boxNumG01,$@bxG01,$@boxIdG01,1334,150,108,158,114,1; - end; - -OnDied: - set $boxNumG01, $boxNumG01 -1; - end; -} - -// Room Switch --------------------------------------------------------- -gefg_cas01,152,117,0 script Switch#TresG01 111,{ - callfunc "F_GldTreasSw","gefg_cas01",40,49; - end; -} - -// Treasure Room Protection ------------------------------------------------ -gefg_cas01,154,112,0 script ban_warp#16 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "gefg_cas01", "geffen",120,38; - end; -} - -//<================================ Castle 2 ================================>\\ - -// Treasure Spawn --------------------------------------------------------- -gefg_cas02,1,1,1 script Treasure_G02 -1,{ - -OnRecvCastleG02: - end; -OnInit: - if($boxNumG02 == 0) end; - set $@bxG02, $boxNumG02; - callfunc "F_GldTreas","gefg_cas02","G02",$boxNumG02,$@bxG02,$@boxIdG02,1336,136,112,145,118,1; - end; - -OnDied: - set $boxNumG02, $boxNumG02 -1; - end; -} - -// Room Switch --------------------------------------------------------- -gefg_cas02,145,115,0 script Switch#TresG02 111,{ - callfunc "F_GldTreasSw", "gefg_cas02",12,67; -} - -// Treasure Room Protection ------------------------------------------------ -gefg_cas02,140,116,0 script ban_warp#17 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "gefg_cas02", "geffen",120,38; - end; -} - -//<================================= Castle 3 ===============================>\\ - -// Treasure Spawn --------------------------------------------------------- -gefg_cas03,1,1,1 script Treasure_G03 -1,{ - -OnRecvCastleG03: - end; -OnInit: - if($boxNumG03 == 0) end; - set $@bxG03, $boxNumG03; - callfunc "F_GldTreas","gefg_cas03","G03",$boxNumG03,$@bxG03,$@boxIdG03,1338,266,286,275,293,1; - end; - -OnDied: - set $boxNumG03, $boxNumG03 -1; - end; -} - -// Room Switch --------------------------------------------------------- -gefg_cas03,275,289,0 script Switch#TresG03 111,{ - callfunc "F_GldTreasSw", "gefg_cas03",106,24; - end; -} - -// Treasure Room Protection ------------------------------------------------ -gefg_cas03,271,290,0 script ban_warp#18 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "gefg_cas03", "geffen",120,38; - end; -} - -//<=============================== Castle 4 ================================>\\ - -// Treasure Spawn --------------------------------------------------------- -gefg_cas04,1,1,1 script Treasure_G04 -1,{ - -OnRecvCastleG04: - end; -OnInit: - if($boxNumG04 == 0) end; - set $@bxG04, $boxNumG04; - callfunc "F_GldTreas","gefg_cas04","G04",$boxNumG04,$@bxG04,$@boxIdG04,1340,112,114,119,123,1; - end; - -OnDied: - set $boxNumG04, $boxNumG04 -1; - end; -} - -// Room Switch --------------------------------------------------------- -gefg_cas04,117,123,0 script Switch#TresG04 111,{ - callfunc "F_GldTreasSw", "gefg_cas04",73,47; - end; -} - -// Treasure Room Protection ------------------------------------------------ -gefg_cas04,116,119,0 script ban_warp#19 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "gefg_cas04", "geffen",120,38; - end; -} - -//<================================ Castle 5 ================================>\\ - -// Treasure Spawn --------------------------------------------------------- -gefg_cas05,1,1,1 script Treasure_G05 -1,{ - -OnRecvCastleG05: - end; -OnInit: - if($boxNumG05 == 0) end; - set $@bxG05, $boxNumG05; - callfunc "F_GldTreas","gefg_cas05","G05",$boxNumG05,$@bxG05,$@boxIdG05,1342,140,106,147,113,1; - end; - -OnDied: - set $boxNumG05, $boxNumG05 -1; - end; -} - -// Room Switch --------------------------------------------------------- -gefg_cas05,149,107,0 script Switch#TresG05 111,{ - callfunc "F_GldTreasSw", "gefg_cas05",70,53; - close; -} - -// Treasure Room Protection ------------------------------------------------ -gefg_cas05,144,110,0 script ban_warp#20 -1,6,6,{ -OnTouch: - callfunc "F_TreasProtect", "gefg_cas05", "geffen",120,38; - end; -} |