diff options
Diffstat (limited to 'npc/guild/gefg')
-rw-r--r-- | npc/guild/gefg/gefg_ev_agit.txt | 13 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_guardians.txt | 100 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_managers.txt | 114 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_treas.txt | 11 |
4 files changed, 114 insertions, 124 deletions
diff --git a/npc/guild/gefg/gefg_ev_agit.txt b/npc/guild/gefg/gefg_ev_agit.txt index 2a33f298b..abeffa0ae 100644 --- a/npc/guild/gefg/gefg_ev_agit.txt +++ b/npc/guild/gefg/gefg_ev_agit.txt @@ -4,7 +4,7 @@ //= jAthena (1.0) //= 1.1 by Akaru and ho|yAnge| //===== Current Version: ===================================== -//= 1.3 +//= 1.4 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -12,6 +12,7 @@ //===== 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] //============================================================ @@ -35,7 +36,7 @@ OnGuildBreak: end; OnAgitEliminate: MapRespawnGuildID "gefg_cas01",GetCastleData("gefg_cas01",1),6; - Monster "gefg_cas01",198,182,"EMPERIUM",1288,1,"Agit_G01::OnAgitBreak"; + Monster "gefg_cas01",198,182,"Emperium",1288,1,"Agit_G01::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","gefg_cas01","G01"; @@ -62,7 +63,7 @@ OnGuildBreak: end; OnAgitEliminate: MapRespawnGuildID "gefg_cas02",GetCastleData("gefg_cas02",1),6; - Monster "gefg_cas02",176,178,"EMPERIUM",1288,1,"Agit_G02::OnAgitBreak"; + Monster "gefg_cas02",176,178,"Emperium",1288,1,"Agit_G02::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","gefg_cas02","G02"; @@ -89,7 +90,7 @@ OnGuildBreak: end; OnAgitEliminate: MapRespawnGuildID "gefg_cas03",GetCastleData("gefg_cas03",1),6; - Monster "gefg_cas03",245,167,"EMPERIUM",1288,1,"Agit_G03::OnAgitBreak"; + Monster "gefg_cas03",245,167,"Emperium",1288,1,"Agit_G03::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","gefg_cas03","G03"; @@ -116,7 +117,7 @@ OnGuildBreak: end; OnAgitEliminate: MapRespawnGuildID "gefg_cas04",GetCastleData("gefg_cas04",1),6; - Monster "gefg_cas04",174,178,"EMPERIUM",1288,1,"Agit_G04::OnAgitBreak"; + Monster "gefg_cas04",174,178,"Emperium",1288,1,"Agit_G04::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","gefg_cas04","G04"; @@ -143,7 +144,7 @@ OnGuildBreak: end; OnAgitEliminate: MapRespawnGuildID "gefg_cas05",GetCastleData("gefg_cas05",1),6; - Monster "gefg_cas05",194,184,"EMPERIUM",1288,1,"Agit_G05::OnAgitBreak"; + Monster "gefg_cas05",194,184,"Emperium",1288,1,"Agit_G05::OnAgitBreak"; end; OnAgitEnd: callfunc "F_AgitEnd","gefg_cas05","G05"; diff --git a/npc/guild/gefg/gefg_guardians.txt b/npc/guild/gefg/gefg_guardians.txt index 7946e0027..a3221a8ca 100644 --- a/npc/guild/gefg/gefg_guardians.txt +++ b/npc/guild/gefg/gefg_guardians.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= holyAngelX (1.0) //===== Current Version: ===================================== -//= 1.2a +//= 1.3 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -14,95 +14,101 @@ //= 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: - if (GetCastleData("gefg_cas01",10) == 1) guardian "gefg_cas01",30,178,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",0; - if (GetCastleData("gefg_cas01",11) == 1) guardian "gefg_cas01",64,180,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",1; - if (GetCastleData("gefg_cas01",12) == 1) guardian "gefg_cas01",61,25,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",2; - if (GetCastleData("gefg_cas01",13) == 1) guardian "gefg_cas01",61,44,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",3; - if (GetCastleData("gefg_cas01",14) == 1) guardian "gefg_cas01",189,43,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",4; - if (GetCastleData("gefg_cas01",15) == 1) guardian "gefg_cas01",51,192,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",5; - if (GetCastleData("gefg_cas01",16) == 1) guardian "gefg_cas01",49,67,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",6; - if (GetCastleData("gefg_cas01",17) == 1) guardian "gefg_cas01",181,14,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",7; + 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 - MapAnnounce "gefg_cas01","A Guardian Has Fallen",17; end; } + //------------------------------------------------------------------------------ gefg_cas02,176,178,0 script Guardian_G02 -1,{ OnAgitInit: - if (GetCastleData("gefg_cas02",10) == 1) guardian "gefg_cas02",22,135,"Soldier Guardian",1287,"Guardian_G02::OnGuardianDied",0; - if (GetCastleData("gefg_cas02",11) == 1) guardian "gefg_cas02",33,40,"Soldier Guardian",1287,"Guardian_G02::OnGuardianDied",1; - if (GetCastleData("gefg_cas02",12) == 1) guardian "gefg_cas02",158,11,"Soldier Guardian",1287,"Guardian_G02::OnGuardianDied",2; - if (GetCastleData("gefg_cas02",13) == 1) guardian "gefg_cas02",64,140,"Archer Guardian",1285,"Guardian_G02::OnGuardianDied",3; - if (GetCastleData("gefg_cas02",14) == 1) guardian "gefg_cas02",36,140,"Archer Guardian",1285,"Guardian_G02::OnGuardianDied",4; - if (GetCastleData("gefg_cas02",15) == 1) guardian "gefg_cas02",166,45,"Knight Guardian",1286,"Guardian_G02::OnGuardianDied",5; - if (GetCastleData("gefg_cas02",16) == 1) guardian "gefg_cas02",10,39,"Knight Guardian",1286,"Guardian_G02::OnGuardianDied",6; - if (GetCastleData("gefg_cas02",17) == 1) guardian "gefg_cas02",166,35,"Knight Guardian",1286,"Guardian_G02::OnGuardianDied",7; + 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 - MapAnnounce "gefg_cas02","A Guardian Has Fallen",17; end; } + //------------------------------------------------------------------------------ gefg_cas03,245,167,0 script Guardian_G03 -1,{ OnAgitInit: - if (GetCastleData("gefg_cas03",10) == 1) guardian "gefg_cas03",101,53,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",0; - if (GetCastleData("gefg_cas03",11) == 1) guardian "gefg_cas03",158,40,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",1; - if (GetCastleData("gefg_cas03",12) == 1) guardian "gefg_cas03",158,67,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",2; - if (GetCastleData("gefg_cas03",13) == 1) guardian "gefg_cas03",229,53,"Archer Guardian",1285,"Guardian_G03::OnGuardianDied",3; - if (GetCastleData("gefg_cas03",14) == 1) guardian "gefg_cas03",248,53,"Archer Guardian",1285,"Guardian_G03::OnGuardianDied",4; - if (GetCastleData("gefg_cas03",15) == 1) guardian "gefg_cas03",122,53,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",5; - if (GetCastleData("gefg_cas03",16) == 1) guardian "gefg_cas03",243,35,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",6; - if (GetCastleData("gefg_cas03",17) == 1) guardian "gefg_cas03",234,33,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",7; + 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 - MapAnnounce "gefg_cas03","A Guardian Has Fallen",17; end; } + //------------------------------------------------------------------------------ gefg_cas04,174,178,0 script Guardian_G04 -1,{ OnAgitInit: - if (GetCastleData("gefg_cas04",10) == 1) guardian "gefg_cas04",49,203,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",0; - if (GetCastleData("gefg_cas04",11) == 1) guardian "gefg_cas04",148,50,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",1; - if (GetCastleData("gefg_cas04",12) == 1) guardian "gefg_cas04",57,20,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",2; - if (GetCastleData("gefg_cas04",13) == 1) guardian "gefg_cas04",34,218,"Archer Guardian",1285,"Guardian_G04::OnGuardianDied",3; - if (GetCastleData("gefg_cas04",14) == 1) guardian "gefg_cas04",167,42,"Archer Guardian",1285,"Guardian_G04::OnGuardianDied",4; - if (GetCastleData("gefg_cas04",15) == 1) guardian "gefg_cas04",18,52,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",5; - if (GetCastleData("gefg_cas04",16) == 1) guardian "gefg_cas04",50,48,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",6; - if (GetCastleData("gefg_cas04",17) == 1) guardian "gefg_cas04",160,66,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",7; + 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 - MapAnnounce "gefg_cas04","A Guardian Has Fallen",17; end; } + //------------------------------------------------------------------------------ gefg_cas05,194,184,0 script Guardian_G05 -1,{ OnAgitInit: - if (GetCastleData("gefg_cas05",10) == 1) guardian "gefg_cas05",54,149,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",0; - if (GetCastleData("gefg_cas05",11) == 1) guardian "gefg_cas05",80,31,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",1; - if (GetCastleData("gefg_cas05",12) == 1) guardian "gefg_cas05",52,32,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",2; - if (GetCastleData("gefg_cas05",13) == 1) guardian "gefg_cas05",77,149,"Archer Guardian",1285,"Guardian_G05::OnGuardianDied",3; - if (GetCastleData("gefg_cas05",14) == 1) guardian "gefg_cas05",65,18,"Archer Guardian",1285,"Guardian_G05::OnGuardianDied",4; - if (GetCastleData("gefg_cas05",15) == 1) guardian "gefg_cas05",66,54,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",5; - if (GetCastleData("gefg_cas05",16) == 1) guardian "gefg_cas05",187,43,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",6; - if (GetCastleData("gefg_cas05",17) == 1) guardian "gefg_cas05",167,43,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",7; + 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 - MapAnnounce "gefg_cas05","A Guardian Has Fallen",17; end; } diff --git a/npc/guild/gefg/gefg_managers.txt b/npc/guild/gefg/gefg_managers.txt index eba3b231a..7b231cd21 100644 --- a/npc/guild/gefg/gefg_managers.txt +++ b/npc/guild/gefg/gefg_managers.txt @@ -4,101 +4,93 @@ //= jAthena - kalen (1.0) //= 1.1 by Akaru, ho|yAnge|X, and Valaris //===== Current Version: ===================================== -//= 1.2 +//= 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 Gnaucher 55,{ - if(callfunc("F_GldManager","Gnaucher","gefg_cas01",155,112,"G01") == 0) close; +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",30,178,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",0; - if(@GDnum==11) guardian "gefg_cas01",64,180,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",1; - if(@GDnum==12) guardian "gefg_cas01",61,25,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",2; - if(@GDnum==13) guardian "gefg_cas01",61,44,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",3; - if(@GDnum==14) guardian "gefg_cas01",189,43,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",4; - if(@GDnum==15) guardian "gefg_cas01",51,192,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",5; - if(@GDnum==16) guardian "gefg_cas01",49,67,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",6; - if(@GDnum==17) guardian "gefg_cas01",181,14,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",7; - mes "[ Gnaucher ]"; - mes "Guardian has been installed, guardian will protect our guild base against enemies."; + 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 Esmark 55,{ - if(callfunc("F_GldManager","Esmark","gefg_cas02",141,115,"G02") == 0) close; +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",22,135,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",0; - if(@GDnum==11) guardian "gefg_cas02",33,40,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",1; - if(@GDnum==12) guardian "gefg_cas02",158,11,"Soldier Guardian",1287,"Guardian_G01::OnGuardianDied",2; - if(@GDnum==13) guardian "gefg_cas02",64,140,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",3; - if(@GDnum==14) guardian "gefg_cas02",36,140,"Archer Guardian",1285,"Guardian_G01::OnGuardianDied",4; - if(@GDnum==15) guardian "gefg_cas02",166,45,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",5; - if(@GDnum==16) guardian "gefg_cas02",10,39,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",6; - if(@GDnum==17) guardian "gefg_cas02",166,35,"Knight Guardian",1286,"Guardian_G01::OnGuardianDied",7; - mes "[ Esmark ]"; - mes "Guardian has been installed, guardian will protect our guild base against enemies."; + 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 Jyang 55,{ - if(callfunc("F_GldManager","Jyang","gefg_cas03",270,290,"G03") == 0) close; +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",101,53,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",0; - if(@GDnum==11) guardian "gefg_cas03",158,40,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",1; - if(@GDnum==12) guardian "gefg_cas03",158,67,"Soldier Guardian",1287,"Guardian_G03::OnGuardianDied",2; - if(@GDnum==13) guardian "gefg_cas03",229,53,"Archer Guardian",1285,"Guardian_G03::OnGuardianDied",3; - if(@GDnum==14) guardian "gefg_cas03",248,53,"Archer Guardian",1285,"Guardian_G03::OnGuardianDied",4; - if(@GDnum==15) guardian "gefg_cas03",122,53,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",5; - if(@GDnum==16) guardian "gefg_cas03",243,35,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",6; - if(@GDnum==17) guardian "gefg_cas03",234,33,"Knight Guardian",1286,"Guardian_G03::OnGuardianDied",7; - mes "[ Jyang ]"; - mes "Guardian has been installed, guardian will protect our guild base against enemies."; + 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,5 script Kelbany 55,{ - if(callfunc("F_GldManager","Kelbany","gefg_cas04",116,118,"G04") == 0) close; +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",49,203,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",0; - if(@GDnum==11) guardian "gefg_cas04",148,50,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",1; - if(@GDnum==12) guardian "gefg_cas04",57,20,"Soldier Guardian",1287,"Guardian_G04::OnGuardianDied",2; - if(@GDnum==13) guardian "gefg_cas04",34,218,"Archer Guardian",1285,"Guardian_G04::OnGuardianDied",3; - if(@GDnum==14) guardian "gefg_cas04",167,42,"Archer Guardian",1285,"Guardian_G04::OnGuardianDied",4; - if(@GDnum==15) guardian "gefg_cas04",18,52,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",5; - if(@GDnum==16) guardian "gefg_cas04",50,48,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",6; - if(@GDnum==17) guardian "gefg_cas04",160,66,"Knight Guardian",1286,"Guardian_G04::OnGuardianDied",7; - mes "[ Kelbany ]"; - mes "Guardian has been installed, guardian will protect our guild base against enemies."; + 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,5 script Beeor 55,{ - if(callfunc("F_GldManager","Beeor","gefg_cas05",144,110,"G05") == 0) close; +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",54,149,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",0; - if(@GDnum==11) guardian "gefg_cas05",80,31,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",1; - if(@GDnum==12) guardian "gefg_cas05",52,32,"Soldier Guardian",1287,"Guardian_G05::OnGuardianDied",2; - if(@GDnum==13) guardian "gefg_cas05",77,149,"Archer Guardian",1285,"Guardian_G05::OnGuardianDied",3; - if(@GDnum==14) guardian "gefg_cas05",65,18,"Archer Guardian",1285,"Guardian_G05::OnGuardianDied",4; - if(@GDnum==15) guardian "gefg_cas05",66,54,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",5; - if(@GDnum==16) guardian "gefg_cas05",187,43,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",6; - if(@GDnum==17) guardian "gefg_cas05",167,43,"Knight Guardian",1286,"Guardian_G05::OnGuardianDied",7; - mes "[ Beeor ]"; - mes "Guardian has been installed, guardian will protect our guild base against enemies."; + 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 index 0e07a2669..833c7406c 100644 --- a/npc/guild/gefg/gefg_treas.txt +++ b/npc/guild/gefg/gefg_treas.txt @@ -11,6 +11,7 @@ //= //===== Additional Comments: ================================= //= v1.2 Optimized with functions.[kobra_k88] +//= 1.3 Removed announces when you open chests. [L0ne_W0lf] //============================================================ @@ -28,9 +29,7 @@ OnInit: end; OnDied: - mapannounce "gefg_cas01","Treasure Chest Broken Open",17; set $boxNumG01, $boxNumG01 -1; - if($boxNumG01 == 0) mapannounce "gefg_cas01", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; end; } @@ -61,9 +60,7 @@ OnInit: end; OnDied: - mapannounce "gefg_cas02","Treasure Chest Broken Open",17; set $boxNumG02, $boxNumG02 -1; - if($boxNumG02 == 0) mapannounce "gefg_cas02", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; end; } @@ -93,9 +90,7 @@ OnInit: end; OnDied: - mapannounce "gefg_cas03","Treasure Chest Broken Open",17; set $boxNumG03, $boxNumG03 -1; - if($boxNumG03 == 0) mapannounce "gefg_cas03", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; end; } @@ -126,9 +121,7 @@ OnInit: end; OnDied: - mapannounce "gefg_cas04","Treasure Chest Broken Open",17; set $boxNumG04, $boxNumG04 -1; - if($boxNumG04 == 0) mapannounce "gefg_cas04", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; end; } @@ -159,9 +152,7 @@ OnInit: end; OnDied: - mapannounce "gefg_cas05","Treasure Chest Broken Open",17; set $boxNumG05, $boxNumG05 -1; - if($boxNumG05 == 0) mapannounce "gefg_cas05", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; end; } |