//===== 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.2
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//=
//===== Additional Comments: =================================
//= v1.2 Optimized with functions.[kobra_k88]
//============================================================
// Castle 1 ==================================================================================
gefg_cas01,40,48,5 script Gnaucher 55,{
if(callfunc("F_GldManager","Gnaucher","gefg_cas01",155,112,"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.";
close;
}
// Castle 2 ==================================================================================
gefg_cas02,12,66,5 script Esmark 55,{
if(callfunc("F_GldManager","Esmark","gefg_cas02",141,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.";
close;
}
// Castle 3 ==================================================================================
gefg_cas03,106,23,5 script Jyang 55,{
if(callfunc("F_GldManager","Jyang","gefg_cas03",270,290,"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.";
close;
}
// Castle 4 ==================================================================================
gefg_cas04,73,46,5 script Kelbany 55,{
if(callfunc("F_GldManager","Kelbany","gefg_cas04",116,118,"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.";
close;
}
// Castle 5 ==================================================================================
gefg_cas05,70,52,5 script Beeor 55,{
if(callfunc("F_GldManager","Beeor","gefg_cas05",144,110,"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.";
close;
}