diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 16:18:26 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 16:18:26 +0000 |
commit | 581475bc6416790765c498aa3d611f6868ffb64a (patch) | |
tree | 347ebf88eaa76e50488f23989d67cad834f3c9b1 /npc/guild/old/guardian | |
parent | 600362764ce348c5c9de96eababff2e08bb90d4a (diff) | |
download | hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.gz hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.bz2 hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.xz hercules-581475bc6416790765c498aa3d611f6868ffb64a.zip |
Fixed some file types
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/old/guardian')
20 files changed, 1320 insertions, 1320 deletions
diff --git a/npc/guild/old/guardian/aldeg_cas01_guardian.txt b/npc/guild/old/guardian/aldeg_cas01_guardian.txt index 9a636a2e1..ec7e271d4 100644 --- a/npc/guild/old/guardian/aldeg_cas01_guardian.txt +++ b/npc/guild/old/guardian/aldeg_cas01_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - aldeg_cas01 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in aldeg_cas01
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-aldeg_cas01.gat,216,24,0 script Guardian_A01 -1,{
-OnAgitInit:
- if (GetCastleData("aldeg_cas01.gat",10) <= 0) goto Guardian2;
- guardian "aldeg_cas01.gat",18,219,"Soldier Guardian",1287,1,"Guardian_A01::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("aldeg_cas01.gat",11) <= 0) goto Guardian3;
- guardian "aldeg_cas01.gat",117,42,"Soldier Guardian",1287,1,"Guardian_A01::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("aldeg_cas01.gat",12) <= 0) goto Guardian4;
- guardian "aldeg_cas01.gat",207,153,"Soldier Guardian",1287,1,"Guardian_A01::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("aldeg_cas01.gat",13) <= 0) goto Guardian5;
- guardian "aldeg_cas01.gat",68,70,"Archer Guardian",1285,1,"Guardian_A01::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("aldeg_cas01.gat",14) <= 0) goto Guardian6;
- guardian "aldeg_cas01.gat",187,140,"Archer Guardian",1285,1,"Guardian_A01::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("aldeg_cas01.gat",15) <= 0) goto Guardian7;
- guardian "aldeg_cas01.gat",62,204,"Knight Guardian",1286,1,"Guardian_A01::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("aldeg_cas01.gat",16) <= 0) goto Guardian8;
- guardian "aldeg_cas01.gat",113,100,"Knight Guardian",1286,1,"Guardian_A01::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("aldeg_cas01.gat",17) <= 0) goto NoSpawn;
- guardian "aldeg_cas01.gat",211,174,"Knight Guardian",1286,1,"Guardian_A01::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "aldeg_cas01.gat","Guardian_A01::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "aldeg_cas01.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - aldeg_cas01 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in aldeg_cas01 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +aldeg_cas01.gat,216,24,0 script Guardian_A01 -1,{ +OnAgitInit: + if (GetCastleData("aldeg_cas01.gat",10) <= 0) goto Guardian2; + guardian "aldeg_cas01.gat",18,219,"Soldier Guardian",1287,1,"Guardian_A01::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("aldeg_cas01.gat",11) <= 0) goto Guardian3; + guardian "aldeg_cas01.gat",117,42,"Soldier Guardian",1287,1,"Guardian_A01::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("aldeg_cas01.gat",12) <= 0) goto Guardian4; + guardian "aldeg_cas01.gat",207,153,"Soldier Guardian",1287,1,"Guardian_A01::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("aldeg_cas01.gat",13) <= 0) goto Guardian5; + guardian "aldeg_cas01.gat",68,70,"Archer Guardian",1285,1,"Guardian_A01::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("aldeg_cas01.gat",14) <= 0) goto Guardian6; + guardian "aldeg_cas01.gat",187,140,"Archer Guardian",1285,1,"Guardian_A01::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("aldeg_cas01.gat",15) <= 0) goto Guardian7; + guardian "aldeg_cas01.gat",62,204,"Knight Guardian",1286,1,"Guardian_A01::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("aldeg_cas01.gat",16) <= 0) goto Guardian8; + guardian "aldeg_cas01.gat",113,100,"Knight Guardian",1286,1,"Guardian_A01::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("aldeg_cas01.gat",17) <= 0) goto NoSpawn; + guardian "aldeg_cas01.gat",211,174,"Knight Guardian",1286,1,"Guardian_A01::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "aldeg_cas01.gat","Guardian_A01::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "aldeg_cas01.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/aldeg_cas02_guardian.txt b/npc/guild/old/guardian/aldeg_cas02_guardian.txt index 64671a472..149d6207d 100644 --- a/npc/guild/old/guardian/aldeg_cas02_guardian.txt +++ b/npc/guild/old/guardian/aldeg_cas02_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - aldeg_cas02 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in aldeg_cas02
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-aldeg_cas02.gat,214,24,0 script Guardian_A02 -1,{
-OnAgitInit:
- if (GetCastleData("aldeg_cas02.gat",10) <= 0) goto Guardian2;
- guardian "aldeg_cas02.gat",22,186,"Soldier Guardian",1287,1,"Guardian_A02::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("aldeg_cas02.gat",11) <= 0) goto Guardian3;
- guardian "aldeg_cas02.gat",88,31,"Soldier Guardian",1287,1,"Guardian_A02::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("aldeg_cas02.gat",12) <= 0) goto Guardian4;
- guardian "aldeg_cas02.gat",207,176,"Soldier Guardian",1287,1,"Guardian_A02::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("aldeg_cas02.gat",13) <= 0) goto Guardian5;
- guardian "aldeg_cas02.gat",50,201,"Archer Guardian",1285,1,"Guardian_A02::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("aldeg_cas02.gat",14) <= 0) goto Guardian6;
- guardian "aldeg_cas02.gat",197,146,"Archer Guardian",1285,1,"Guardian_A02::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("aldeg_cas02.gat",15) <= 0) goto Guardian7;
- guardian "aldeg_cas02.gat",71,193,"Knight Guardian",1286,1,"Guardian_A02::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("aldeg_cas02.gat",16) <= 0) goto Guardian8;
- guardian "aldeg_cas02.gat",88,31,"Knight Guardian",1286,1,"Guardian_A02::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("aldeg_cas02.gat",17) <= 0) goto NoSpawn;
- guardian "aldeg_cas02.gat",219,148,"Knight Guardian",1286,1,"Guardian_A02::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "aldeg_cas02.gat","Guardian_A02::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "aldeg_cas02.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - aldeg_cas02 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in aldeg_cas02 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +aldeg_cas02.gat,214,24,0 script Guardian_A02 -1,{ +OnAgitInit: + if (GetCastleData("aldeg_cas02.gat",10) <= 0) goto Guardian2; + guardian "aldeg_cas02.gat",22,186,"Soldier Guardian",1287,1,"Guardian_A02::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("aldeg_cas02.gat",11) <= 0) goto Guardian3; + guardian "aldeg_cas02.gat",88,31,"Soldier Guardian",1287,1,"Guardian_A02::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("aldeg_cas02.gat",12) <= 0) goto Guardian4; + guardian "aldeg_cas02.gat",207,176,"Soldier Guardian",1287,1,"Guardian_A02::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("aldeg_cas02.gat",13) <= 0) goto Guardian5; + guardian "aldeg_cas02.gat",50,201,"Archer Guardian",1285,1,"Guardian_A02::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("aldeg_cas02.gat",14) <= 0) goto Guardian6; + guardian "aldeg_cas02.gat",197,146,"Archer Guardian",1285,1,"Guardian_A02::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("aldeg_cas02.gat",15) <= 0) goto Guardian7; + guardian "aldeg_cas02.gat",71,193,"Knight Guardian",1286,1,"Guardian_A02::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("aldeg_cas02.gat",16) <= 0) goto Guardian8; + guardian "aldeg_cas02.gat",88,31,"Knight Guardian",1286,1,"Guardian_A02::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("aldeg_cas02.gat",17) <= 0) goto NoSpawn; + guardian "aldeg_cas02.gat",219,148,"Knight Guardian",1286,1,"Guardian_A02::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "aldeg_cas02.gat","Guardian_A02::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "aldeg_cas02.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/aldeg_cas03_guardian.txt b/npc/guild/old/guardian/aldeg_cas03_guardian.txt index 30fd74dd7..eca9faa5e 100644 --- a/npc/guild/old/guardian/aldeg_cas03_guardian.txt +++ b/npc/guild/old/guardian/aldeg_cas03_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - aldeg_cas03 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in aldeg_cas03
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-aldeg_cas03.gat,206,32,0 script Guardian_A03 -1,{
-OnAgitInit:
- if (GetCastleData("aldeg_cas03.gat",10) <= 0) goto Guardian2;
- guardian "aldeg_cas03.gat",57,216,"Soldier Guardian",1287,1,"Guardian_A03::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("aldeg_cas03.gat",11) <= 0) goto Guardian3;
- guardian "aldeg_cas03.gat",80,108,"Soldier Guardian",1287,1,"Guardian_A03::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("aldeg_cas03.gat",12) <= 0) goto Guardian4;
- guardian "aldeg_cas03.gat",199,183,"Soldier Guardian",1287,1,"Guardian_A03::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("aldeg_cas03.gat",13) <= 0) goto Guardian5;
- guardian "aldeg_cas03.gat",98,267,"Archer Guardian",1285,1,"Guardian_A03::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("aldeg_cas03.gat",14) <= 0) goto Guardian6;
- guardian "aldeg_cas03.gat",91,88,"Archer Guardian",1285,1,"Guardian_A03::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("aldeg_cas03.gat",15) <= 0) goto Guardian7;
- guardian "aldeg_cas03.gat",78,121,"Knight Guardian",1286,1,"Guardian_A03::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("aldeg_cas03.gat",16) <= 0) goto Guardian8;
- guardian "aldeg_cas03.gat",200,164,"Knight Guardian",1286,1,"Guardian_A03::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("aldeg_cas03.gat",17) <= 0) goto NoSpawn;
- guardian "aldeg_cas03.gat",200,164,"Knight Guardian",1286,1,"Guardian_A03::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "aldeg_cas03.gat","Guardian_A03::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "aldeg_cas03.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - aldeg_cas03 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in aldeg_cas03 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +aldeg_cas03.gat,206,32,0 script Guardian_A03 -1,{ +OnAgitInit: + if (GetCastleData("aldeg_cas03.gat",10) <= 0) goto Guardian2; + guardian "aldeg_cas03.gat",57,216,"Soldier Guardian",1287,1,"Guardian_A03::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("aldeg_cas03.gat",11) <= 0) goto Guardian3; + guardian "aldeg_cas03.gat",80,108,"Soldier Guardian",1287,1,"Guardian_A03::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("aldeg_cas03.gat",12) <= 0) goto Guardian4; + guardian "aldeg_cas03.gat",199,183,"Soldier Guardian",1287,1,"Guardian_A03::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("aldeg_cas03.gat",13) <= 0) goto Guardian5; + guardian "aldeg_cas03.gat",98,267,"Archer Guardian",1285,1,"Guardian_A03::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("aldeg_cas03.gat",14) <= 0) goto Guardian6; + guardian "aldeg_cas03.gat",91,88,"Archer Guardian",1285,1,"Guardian_A03::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("aldeg_cas03.gat",15) <= 0) goto Guardian7; + guardian "aldeg_cas03.gat",78,121,"Knight Guardian",1286,1,"Guardian_A03::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("aldeg_cas03.gat",16) <= 0) goto Guardian8; + guardian "aldeg_cas03.gat",200,164,"Knight Guardian",1286,1,"Guardian_A03::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("aldeg_cas03.gat",17) <= 0) goto NoSpawn; + guardian "aldeg_cas03.gat",200,164,"Knight Guardian",1286,1,"Guardian_A03::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "aldeg_cas03.gat","Guardian_A03::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "aldeg_cas03.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/aldeg_cas04_guardian.txt b/npc/guild/old/guardian/aldeg_cas04_guardian.txt index 26b6ccd79..f34678ef9 100644 --- a/npc/guild/old/guardian/aldeg_cas04_guardian.txt +++ b/npc/guild/old/guardian/aldeg_cas04_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - aldeg_cas04 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in aldeg_cas04
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-aldeg_cas04.gat,36,218,0 script Guardian_A04 -1,{
-OnAgitInit:
- if (GetCastleData("aldeg_cas04.gat",10) <= 0) goto Guardian2;
- guardian "aldeg_cas04.gat",181,33,"Soldier Guardian",1287,1,"Guardian_A04::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("aldeg_cas04.gat",11) <= 0) goto Guardian3;
- guardian "aldeg_cas04.gat",50,68,"Soldier Guardian",1287,1,"Guardian_A04::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("aldeg_cas04.gat",12) <= 0) goto Guardian4;
- guardian "aldeg_cas04.gat",50,119,"Soldier Guardian",1287,1,"Guardian_A04::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("aldeg_cas04.gat",13) <= 0) goto Guardian5;
- guardian "aldeg_cas04.gat",169,49,"Archer Guardian",1285,1,"Guardian_A04::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("aldeg_cas04.gat",14) <= 0) goto Guardian6;
- guardian "aldeg_cas04.gat",133,196,"Archer Guardian",1285,1,"Guardian_A04::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("aldeg_cas04.gat",15) <= 0) goto Guardian7;
- guardian "aldeg_cas04.gat",177,87,"Knight Guardian",1286,1,"Guardian_A04::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("aldeg_cas04.gat",16) <= 0) goto Guardian8;
- guardian "aldeg_cas04.gat",50,119,"Knight Guardian",1286,1,"Guardian_A04::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("aldeg_cas04.gat",17) <= 0) goto NoSpawn;
- guardian "aldeg_cas04.gat",133,196,"Knight Guardian",1286,1,"Guardian_A04::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "aldeg_cas04.gat","Guardian_A04::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "aldeg_cas04.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - aldeg_cas04 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in aldeg_cas04 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +aldeg_cas04.gat,36,218,0 script Guardian_A04 -1,{ +OnAgitInit: + if (GetCastleData("aldeg_cas04.gat",10) <= 0) goto Guardian2; + guardian "aldeg_cas04.gat",181,33,"Soldier Guardian",1287,1,"Guardian_A04::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("aldeg_cas04.gat",11) <= 0) goto Guardian3; + guardian "aldeg_cas04.gat",50,68,"Soldier Guardian",1287,1,"Guardian_A04::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("aldeg_cas04.gat",12) <= 0) goto Guardian4; + guardian "aldeg_cas04.gat",50,119,"Soldier Guardian",1287,1,"Guardian_A04::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("aldeg_cas04.gat",13) <= 0) goto Guardian5; + guardian "aldeg_cas04.gat",169,49,"Archer Guardian",1285,1,"Guardian_A04::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("aldeg_cas04.gat",14) <= 0) goto Guardian6; + guardian "aldeg_cas04.gat",133,196,"Archer Guardian",1285,1,"Guardian_A04::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("aldeg_cas04.gat",15) <= 0) goto Guardian7; + guardian "aldeg_cas04.gat",177,87,"Knight Guardian",1286,1,"Guardian_A04::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("aldeg_cas04.gat",16) <= 0) goto Guardian8; + guardian "aldeg_cas04.gat",50,119,"Knight Guardian",1286,1,"Guardian_A04::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("aldeg_cas04.gat",17) <= 0) goto NoSpawn; + guardian "aldeg_cas04.gat",133,196,"Knight Guardian",1286,1,"Guardian_A04::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "aldeg_cas04.gat","Guardian_A04::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "aldeg_cas04.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/aldeg_cas05_guardian.txt b/npc/guild/old/guardian/aldeg_cas05_guardian.txt index 9e8a400ec..53a62f565 100644 --- a/npc/guild/old/guardian/aldeg_cas05_guardian.txt +++ b/npc/guild/old/guardian/aldeg_cas05_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - aldeg_cas05 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in aldeg_cas05
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-aldeg_cas05.gat,28,102,0 script Guardian_A05 -1,{
-OnAgitInit:
- if (GetCastleData("aldeg_cas05.gat",10) <= 0) goto Guardian2;
- guardian "aldeg_cas05.gat",157,192,"Soldier Guardian",1287,1,"Guardian_A05::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("aldeg_cas05.gat",11) <= 0) goto Guardian3;
- guardian "aldeg_cas05.gat",194,46,"Soldier Guardian",1287,1,"Guardian_A05::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("aldeg_cas05.gat",12) <= 0) goto Guardian4;
- guardian "aldeg_cas05.gat",146,214,"Soldier Guardian",1287,1,"Guardian_A05::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("aldeg_cas05.gat",13) <= 0) goto Guardian5;
- guardian "aldeg_cas05.gat",223,95,"Archer Guardian",1285,1,"Guardian_A05::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("aldeg_cas05.gat",14) <= 0) goto Guardian6;
- guardian "aldeg_cas05.gat",131,223,"Archer Guardian",1285,1,"Guardian_A05::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("aldeg_cas05.gat",15) <= 0) goto Guardian7;
- guardian "aldeg_cas05.gat",191,68,"Knight Guardian",1286,1,"Guardian_A05::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("aldeg_cas05.gat",16) <= 0) goto Guardian8;
- guardian "aldeg_cas05.gat",160,194,"Knight Guardian",1286,1,"Guardian_A05::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("aldeg_cas05.gat",17) <= 0) goto NoSpawn;
- guardian "aldeg_cas05.gat",49,225,"Knight Guardian",1286,1,"Guardian_A05::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "aldeg_cas05.gat","Guardian_A05::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "aldeg_cas05.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - aldeg_cas05 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in aldeg_cas05 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +aldeg_cas05.gat,28,102,0 script Guardian_A05 -1,{ +OnAgitInit: + if (GetCastleData("aldeg_cas05.gat",10) <= 0) goto Guardian2; + guardian "aldeg_cas05.gat",157,192,"Soldier Guardian",1287,1,"Guardian_A05::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("aldeg_cas05.gat",11) <= 0) goto Guardian3; + guardian "aldeg_cas05.gat",194,46,"Soldier Guardian",1287,1,"Guardian_A05::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("aldeg_cas05.gat",12) <= 0) goto Guardian4; + guardian "aldeg_cas05.gat",146,214,"Soldier Guardian",1287,1,"Guardian_A05::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("aldeg_cas05.gat",13) <= 0) goto Guardian5; + guardian "aldeg_cas05.gat",223,95,"Archer Guardian",1285,1,"Guardian_A05::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("aldeg_cas05.gat",14) <= 0) goto Guardian6; + guardian "aldeg_cas05.gat",131,223,"Archer Guardian",1285,1,"Guardian_A05::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("aldeg_cas05.gat",15) <= 0) goto Guardian7; + guardian "aldeg_cas05.gat",191,68,"Knight Guardian",1286,1,"Guardian_A05::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("aldeg_cas05.gat",16) <= 0) goto Guardian8; + guardian "aldeg_cas05.gat",160,194,"Knight Guardian",1286,1,"Guardian_A05::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("aldeg_cas05.gat",17) <= 0) goto NoSpawn; + guardian "aldeg_cas05.gat",49,225,"Knight Guardian",1286,1,"Guardian_A05::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "aldeg_cas05.gat","Guardian_A05::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "aldeg_cas05.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/gefg_cas01_guardian.txt b/npc/guild/old/guardian/gefg_cas01_guardian.txt index 06996e4d5..269b73001 100644 --- a/npc/guild/old/guardian/gefg_cas01_guardian.txt +++ b/npc/guild/old/guardian/gefg_cas01_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - gefg_cas01 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in gefg_cas01
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-gefg_cas01.gat,198,182,0 script Guardian_B01 -1,{
-OnAgitInit:
- if (GetCastleData("gefg_cas01.gat",10) <= 0) goto Guardian2;
- guardian "gefg_cas01.gat",30,178,"Soldier Guardian",1287,1,"Guardian_B01::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("gefg_cas01.gat",11) <= 0) goto Guardian3;
- guardian "gefg_cas01.gat",64,180,"Soldier Guardian",1287,1,"Guardian_B01::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("gefg_cas01.gat",12) <= 0) goto Guardian4;
- guardian "gefg_cas01.gat",61,25,"Soldier Guardian",1287,1,"Guardian_B01::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("gefg_cas01.gat",13) <= 0) goto Guardian5;
- guardian "gefg_cas01.gat",61,44,"Archer Guardian",1285,1,"Guardian_B01::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("gefg_cas01.gat",14) <= 0) goto Guardian6;
- guardian "gefg_cas01.gat",189,43,"Archer Guardian",1285,1,"Guardian_B01::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("gefg_cas01.gat",15) <= 0) goto Guardian7;
- guardian "gefg_cas01.gat",51,192,"Knight Guardian",1286,1,"Guardian_B01::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("gefg_cas01.gat",16) <= 0) goto Guardian8;
- guardian "gefg_cas01.gat",49,67,"Knight Guardian",1286,1,"Guardian_B01::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("gefg_cas01.gat",17) <= 0) goto NoSpawn;
- guardian "gefg_cas01.gat",181,14,"Knight Guardian",1286,1,"Guardian_B01::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "gefg_cas01.gat","Guardian_B01::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "gefg_cas01.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - gefg_cas01 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in gefg_cas01 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +gefg_cas01.gat,198,182,0 script Guardian_B01 -1,{ +OnAgitInit: + if (GetCastleData("gefg_cas01.gat",10) <= 0) goto Guardian2; + guardian "gefg_cas01.gat",30,178,"Soldier Guardian",1287,1,"Guardian_B01::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("gefg_cas01.gat",11) <= 0) goto Guardian3; + guardian "gefg_cas01.gat",64,180,"Soldier Guardian",1287,1,"Guardian_B01::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("gefg_cas01.gat",12) <= 0) goto Guardian4; + guardian "gefg_cas01.gat",61,25,"Soldier Guardian",1287,1,"Guardian_B01::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("gefg_cas01.gat",13) <= 0) goto Guardian5; + guardian "gefg_cas01.gat",61,44,"Archer Guardian",1285,1,"Guardian_B01::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("gefg_cas01.gat",14) <= 0) goto Guardian6; + guardian "gefg_cas01.gat",189,43,"Archer Guardian",1285,1,"Guardian_B01::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("gefg_cas01.gat",15) <= 0) goto Guardian7; + guardian "gefg_cas01.gat",51,192,"Knight Guardian",1286,1,"Guardian_B01::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("gefg_cas01.gat",16) <= 0) goto Guardian8; + guardian "gefg_cas01.gat",49,67,"Knight Guardian",1286,1,"Guardian_B01::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("gefg_cas01.gat",17) <= 0) goto NoSpawn; + guardian "gefg_cas01.gat",181,14,"Knight Guardian",1286,1,"Guardian_B01::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "gefg_cas01.gat","Guardian_B01::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "gefg_cas01.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/gefg_cas02_guardian.txt b/npc/guild/old/guardian/gefg_cas02_guardian.txt index 4d50c0ce2..98d7770b7 100644 --- a/npc/guild/old/guardian/gefg_cas02_guardian.txt +++ b/npc/guild/old/guardian/gefg_cas02_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - gefg_cas02 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in gefg_cas02
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-gefg_cas02.gat,176,178,0 script Guardian_B02 -1,{
-OnAgitInit:
- if (GetCastleData("gefg_cas02.gat",10) <= 0) goto Guardian2;
- guardian "gefg_cas02.gat",22,135,"Soldier Guardian",1287,1,"Guardian_B02::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("gefg_cas02.gat",11) <= 0) goto Guardian3;
- guardian "gefg_cas02.gat",33,40,"Soldier Guardian",1287,1,"Guardian_B02::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("gefg_cas02.gat",12) <= 0) goto Guardian4;
- guardian "gefg_cas02.gat",158,11,"Soldier Guardian",1287,1,"Guardian_B02::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("gefg_cas02.gat",13) <= 0) goto Guardian5;
- guardian "gefg_cas02.gat",64,140,"Archer Guardian",1285,1,"Guardian_B02::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("gefg_cas02.gat",14) <= 0) goto Guardian6;
- guardian "gefg_cas02.gat",36,140,"Archer Guardian",1285,1,"Guardian_B02::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("gefg_cas02.gat",15) <= 0) goto Guardian7;
- guardian "gefg_cas02.gat",166,45,"Knight Guardian",1286,1,"Guardian_B02::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("gefg_cas02.gat",16) <= 0) goto Guardian8;
- guardian "gefg_cas02.gat",10,39,"Knight Guardian",1286,1,"Guardian_B02::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("gefg_cas02.gat",17) <= 0) goto NoSpawn;
- guardian "gefg_cas02.gat",166,35,"Knight Guardian",1286,1,"Guardian_B02::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "gefg_cas02.gat","Guardian_B02::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "gefg_cas02.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - gefg_cas02 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in gefg_cas02 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +gefg_cas02.gat,176,178,0 script Guardian_B02 -1,{ +OnAgitInit: + if (GetCastleData("gefg_cas02.gat",10) <= 0) goto Guardian2; + guardian "gefg_cas02.gat",22,135,"Soldier Guardian",1287,1,"Guardian_B02::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("gefg_cas02.gat",11) <= 0) goto Guardian3; + guardian "gefg_cas02.gat",33,40,"Soldier Guardian",1287,1,"Guardian_B02::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("gefg_cas02.gat",12) <= 0) goto Guardian4; + guardian "gefg_cas02.gat",158,11,"Soldier Guardian",1287,1,"Guardian_B02::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("gefg_cas02.gat",13) <= 0) goto Guardian5; + guardian "gefg_cas02.gat",64,140,"Archer Guardian",1285,1,"Guardian_B02::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("gefg_cas02.gat",14) <= 0) goto Guardian6; + guardian "gefg_cas02.gat",36,140,"Archer Guardian",1285,1,"Guardian_B02::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("gefg_cas02.gat",15) <= 0) goto Guardian7; + guardian "gefg_cas02.gat",166,45,"Knight Guardian",1286,1,"Guardian_B02::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("gefg_cas02.gat",16) <= 0) goto Guardian8; + guardian "gefg_cas02.gat",10,39,"Knight Guardian",1286,1,"Guardian_B02::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("gefg_cas02.gat",17) <= 0) goto NoSpawn; + guardian "gefg_cas02.gat",166,35,"Knight Guardian",1286,1,"Guardian_B02::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "gefg_cas02.gat","Guardian_B02::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "gefg_cas02.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/gefg_cas03_guardian.txt b/npc/guild/old/guardian/gefg_cas03_guardian.txt index 882118a73..92079febd 100644 --- a/npc/guild/old/guardian/gefg_cas03_guardian.txt +++ b/npc/guild/old/guardian/gefg_cas03_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - gefg_cas03 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in gefg_cas03
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-gefg_cas03.gat,245,167,0 script Guardian_B03 -1,{
-OnAgitInit:
- if (GetCastleData("gefg_cas03.gat",10) <= 0) goto Guardian2;
- guardian "gefg_cas03.gat",101,53,"Soldier Guardian",1287,1,"Guardian_B03::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("gefg_cas03.gat",11) <= 0) goto Guardian3;
- guardian "gefg_cas03.gat",158,40,"Soldier Guardian",1287,1,"Guardian_B03::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("gefg_cas03.gat",12) <= 0) goto Guardian4;
- guardian "gefg_cas03.gat",158,67,"Soldier Guardian",1287,1,"Guardian_B03::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("gefg_cas03.gat",13) <= 0) goto Guardian5;
- guardian "gefg_cas03.gat",229,53,"Archer Guardian",1285,1,"Guardian_B03::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("gefg_cas03.gat",14) <= 0) goto Guardian6;
- guardian "gefg_cas03.gat",248,53,"Archer Guardian",1285,1,"Guardian_B03::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("gefg_cas03.gat",15) <= 0) goto Guardian7;
- guardian "gefg_cas03.gat",122,53,"Knight Guardian",1286,1,"Guardian_B03::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("gefg_cas03.gat",16) <= 0) goto Guardian8;
- guardian "gefg_cas03.gat",243,35,"Knight Guardian",1286,1,"Guardian_B03::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("gefg_cas03.gat",17) <= 0) goto NoSpawn;
- guardian "gefg_cas03.gat",234,33,"Knight Guardian",1286,1,"Guardian_B03::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "gefg_cas03.gat","Guardian_B03::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "gefg_cas03.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - gefg_cas03 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in gefg_cas03 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +gefg_cas03.gat,245,167,0 script Guardian_B03 -1,{ +OnAgitInit: + if (GetCastleData("gefg_cas03.gat",10) <= 0) goto Guardian2; + guardian "gefg_cas03.gat",101,53,"Soldier Guardian",1287,1,"Guardian_B03::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("gefg_cas03.gat",11) <= 0) goto Guardian3; + guardian "gefg_cas03.gat",158,40,"Soldier Guardian",1287,1,"Guardian_B03::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("gefg_cas03.gat",12) <= 0) goto Guardian4; + guardian "gefg_cas03.gat",158,67,"Soldier Guardian",1287,1,"Guardian_B03::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("gefg_cas03.gat",13) <= 0) goto Guardian5; + guardian "gefg_cas03.gat",229,53,"Archer Guardian",1285,1,"Guardian_B03::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("gefg_cas03.gat",14) <= 0) goto Guardian6; + guardian "gefg_cas03.gat",248,53,"Archer Guardian",1285,1,"Guardian_B03::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("gefg_cas03.gat",15) <= 0) goto Guardian7; + guardian "gefg_cas03.gat",122,53,"Knight Guardian",1286,1,"Guardian_B03::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("gefg_cas03.gat",16) <= 0) goto Guardian8; + guardian "gefg_cas03.gat",243,35,"Knight Guardian",1286,1,"Guardian_B03::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("gefg_cas03.gat",17) <= 0) goto NoSpawn; + guardian "gefg_cas03.gat",234,33,"Knight Guardian",1286,1,"Guardian_B03::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "gefg_cas03.gat","Guardian_B03::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "gefg_cas03.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/gefg_cas04_guardian.txt b/npc/guild/old/guardian/gefg_cas04_guardian.txt index fef453ee3..b61d54d69 100644 --- a/npc/guild/old/guardian/gefg_cas04_guardian.txt +++ b/npc/guild/old/guardian/gefg_cas04_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - gefg_cas04 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in gefg_cas04
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-gefg_cas04.gat,174,178,0 script Guardian_B04 -1,{
-OnAgitInit:
- if (GetCastleData("gefg_cas04.gat",10) <= 0) goto Guardian2;
- guardian "gefg_cas04.gat",49,203,"Soldier Guardian",1287,1,"Guardian_B04::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("gefg_cas04.gat",11) <= 0) goto Guardian3;
- guardian "gefg_cas04.gat",148,50,"Soldier Guardian",1287,1,"Guardian_B04::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("gefg_cas04.gat",12) <= 0) goto Guardian4;
- guardian "gefg_cas04.gat",57,20,"Soldier Guardian",1287,1,"Guardian_B04::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("gefg_cas04.gat",13) <= 0) goto Guardian5;
- guardian "gefg_cas04.gat",34,218,"Archer Guardian",1285,1,"Guardian_B04::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("gefg_cas04.gat",14) <= 0) goto Guardian6;
- guardian "gefg_cas04.gat",167,42,"Archer Guardian",1285,1,"Guardian_B04::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("gefg_cas04.gat",15) <= 0) goto Guardian7;
- guardian "gefg_cas04.gat",18,52,"Knight Guardian",1286,1,"Guardian_B04::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("gefg_cas04.gat",16) <= 0) goto Guardian8;
- guardian "gefg_cas04.gat",50,48,"Knight Guardian",1286,1,"Guardian_B04::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("gefg_cas04.gat",17) <= 0) goto NoSpawn;
- guardian "gefg_cas04.gat",160,66,"Knight Guardian",1286,1,"Guardian_B04::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "gefg_cas04.gat","Guardian_B04::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "gefg_cas04.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - gefg_cas04 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in gefg_cas04 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +gefg_cas04.gat,174,178,0 script Guardian_B04 -1,{ +OnAgitInit: + if (GetCastleData("gefg_cas04.gat",10) <= 0) goto Guardian2; + guardian "gefg_cas04.gat",49,203,"Soldier Guardian",1287,1,"Guardian_B04::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("gefg_cas04.gat",11) <= 0) goto Guardian3; + guardian "gefg_cas04.gat",148,50,"Soldier Guardian",1287,1,"Guardian_B04::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("gefg_cas04.gat",12) <= 0) goto Guardian4; + guardian "gefg_cas04.gat",57,20,"Soldier Guardian",1287,1,"Guardian_B04::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("gefg_cas04.gat",13) <= 0) goto Guardian5; + guardian "gefg_cas04.gat",34,218,"Archer Guardian",1285,1,"Guardian_B04::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("gefg_cas04.gat",14) <= 0) goto Guardian6; + guardian "gefg_cas04.gat",167,42,"Archer Guardian",1285,1,"Guardian_B04::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("gefg_cas04.gat",15) <= 0) goto Guardian7; + guardian "gefg_cas04.gat",18,52,"Knight Guardian",1286,1,"Guardian_B04::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("gefg_cas04.gat",16) <= 0) goto Guardian8; + guardian "gefg_cas04.gat",50,48,"Knight Guardian",1286,1,"Guardian_B04::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("gefg_cas04.gat",17) <= 0) goto NoSpawn; + guardian "gefg_cas04.gat",160,66,"Knight Guardian",1286,1,"Guardian_B04::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "gefg_cas04.gat","Guardian_B04::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "gefg_cas04.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/gefg_cas05_guardian.txt b/npc/guild/old/guardian/gefg_cas05_guardian.txt index c3254cab5..c7949af86 100644 --- a/npc/guild/old/guardian/gefg_cas05_guardian.txt +++ b/npc/guild/old/guardian/gefg_cas05_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - gefg_cas05 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in gefg_cas05
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-gefg_cas05.gat,194,184,0 script Guardian_B05 -1,{
-OnAgitInit:
- if (GetCastleData("gefg_cas05.gat",10) <= 0) goto Guardian2;
- guardian "gefg_cas05.gat",54,149,"Soldier Guardian",1287,1,"Guardian_B05::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("gefg_cas05.gat",11) <= 0) goto Guardian3;
- guardian "gefg_cas05.gat",80,31,"Soldier Guardian",1287,1,"Guardian_B05::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("gefg_cas05.gat",12) <= 0) goto Guardian4;
- guardian "gefg_cas05.gat",52,32,"Soldier Guardian",1287,1,"Guardian_B05::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("gefg_cas05.gat",13) <= 0) goto Guardian5;
- guardian "gefg_cas05.gat",77,149,"Archer Guardian",1285,1,"Guardian_B05::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("gefg_cas05.gat",14) <= 0) goto Guardian6;
- guardian "gefg_cas05.gat",65,18,"Archer Guardian",1285,1,"Guardian_B05::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("gefg_cas05.gat",15) <= 0) goto Guardian7;
- guardian "gefg_cas05.gat",66,54,"Knight Guardian",1286,1,"Guardian_B05::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("gefg_cas05.gat",16) <= 0) goto Guardian8;
- guardian "gefg_cas05.gat",187,43,"Knight Guardian",1286,1,"Guardian_B05::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("gefg_cas05.gat",17) <= 0) goto NoSpawn;
- guardian "gefg_cas05.gat",167,43,"Knight Guardian",1286,1,"Guardian_B05::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "gefg_cas05.gat","Guardian_B05::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "gefg_cas05.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - gefg_cas05 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in gefg_cas05 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +gefg_cas05.gat,194,184,0 script Guardian_B05 -1,{ +OnAgitInit: + if (GetCastleData("gefg_cas05.gat",10) <= 0) goto Guardian2; + guardian "gefg_cas05.gat",54,149,"Soldier Guardian",1287,1,"Guardian_B05::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("gefg_cas05.gat",11) <= 0) goto Guardian3; + guardian "gefg_cas05.gat",80,31,"Soldier Guardian",1287,1,"Guardian_B05::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("gefg_cas05.gat",12) <= 0) goto Guardian4; + guardian "gefg_cas05.gat",52,32,"Soldier Guardian",1287,1,"Guardian_B05::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("gefg_cas05.gat",13) <= 0) goto Guardian5; + guardian "gefg_cas05.gat",77,149,"Archer Guardian",1285,1,"Guardian_B05::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("gefg_cas05.gat",14) <= 0) goto Guardian6; + guardian "gefg_cas05.gat",65,18,"Archer Guardian",1285,1,"Guardian_B05::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("gefg_cas05.gat",15) <= 0) goto Guardian7; + guardian "gefg_cas05.gat",66,54,"Knight Guardian",1286,1,"Guardian_B05::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("gefg_cas05.gat",16) <= 0) goto Guardian8; + guardian "gefg_cas05.gat",187,43,"Knight Guardian",1286,1,"Guardian_B05::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("gefg_cas05.gat",17) <= 0) goto NoSpawn; + guardian "gefg_cas05.gat",167,43,"Knight Guardian",1286,1,"Guardian_B05::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "gefg_cas05.gat","Guardian_B05::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "gefg_cas05.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/payg_cas01_guardian.txt b/npc/guild/old/guardian/payg_cas01_guardian.txt index 8431608d9..7da9fd847 100644 --- a/npc/guild/old/guardian/payg_cas01_guardian.txt +++ b/npc/guild/old/guardian/payg_cas01_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - payg_cas01 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in payg_cas01
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-payg_cas01.gat,139,139,0 script Guardian_C01 -1,{
-OnAgitInit:
- if (GetCastleData("payg_cas01.gat",10) <= 0) goto Guardian2;
- guardian "payg_cas01.gat",210,120,"Soldier Guardian",1287,1,"Guardian_C01::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("payg_cas01.gat",11) <= 0) goto Guardian3;
- guardian "payg_cas01.gat",69,26,"Soldier Guardian",1287,1,"Guardian_C01::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("payg_cas01.gat",12) <= 0) goto Guardian4;
- guardian "payg_cas01.gat",23,141,"Soldier Guardian",1287,1,"Guardian_C01::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("payg_cas01.gat",13) <= 0) goto Guardian5;
- guardian "payg_cas01.gat",224,87,"Archer Guardian",1285,1,"Guardian_C01::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("payg_cas01.gat",14) <= 0) goto Guardian6;
- guardian "payg_cas01.gat",81,45,"Archer Guardian",1285,1,"Guardian_C01::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("payg_cas01.gat",15) <= 0) goto Guardian7;
- guardian "payg_cas01.gat",214,53,"Knight Guardian",1286,1,"Guardian_C01::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("payg_cas01.gat",16) <= 0) goto Guardian8;
- guardian "payg_cas01.gat",69,26,"Knight Guardian",1286,1,"Guardian_C01::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("payg_cas01.gat",17) <= 0) goto NoSpawn;
- guardian "payg_cas01.gat",23,141,"Knight Guardian",1286,1,"Guardian_C01::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "payg_cas01.gat","Guardian_C01::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "payg_cas01.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - payg_cas01 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in payg_cas01 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +payg_cas01.gat,139,139,0 script Guardian_C01 -1,{ +OnAgitInit: + if (GetCastleData("payg_cas01.gat",10) <= 0) goto Guardian2; + guardian "payg_cas01.gat",210,120,"Soldier Guardian",1287,1,"Guardian_C01::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("payg_cas01.gat",11) <= 0) goto Guardian3; + guardian "payg_cas01.gat",69,26,"Soldier Guardian",1287,1,"Guardian_C01::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("payg_cas01.gat",12) <= 0) goto Guardian4; + guardian "payg_cas01.gat",23,141,"Soldier Guardian",1287,1,"Guardian_C01::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("payg_cas01.gat",13) <= 0) goto Guardian5; + guardian "payg_cas01.gat",224,87,"Archer Guardian",1285,1,"Guardian_C01::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("payg_cas01.gat",14) <= 0) goto Guardian6; + guardian "payg_cas01.gat",81,45,"Archer Guardian",1285,1,"Guardian_C01::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("payg_cas01.gat",15) <= 0) goto Guardian7; + guardian "payg_cas01.gat",214,53,"Knight Guardian",1286,1,"Guardian_C01::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("payg_cas01.gat",16) <= 0) goto Guardian8; + guardian "payg_cas01.gat",69,26,"Knight Guardian",1286,1,"Guardian_C01::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("payg_cas01.gat",17) <= 0) goto NoSpawn; + guardian "payg_cas01.gat",23,141,"Knight Guardian",1286,1,"Guardian_C01::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "payg_cas01.gat","Guardian_C01::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "payg_cas01.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/payg_cas02_guardian.txt b/npc/guild/old/guardian/payg_cas02_guardian.txt index ff2235c4f..02a9d7a8d 100644 --- a/npc/guild/old/guardian/payg_cas02_guardian.txt +++ b/npc/guild/old/guardian/payg_cas02_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - payg_cas02 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in payg_cas02
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-payg_cas02.gat,39,25,0 script Guardian_C02 -1,{
-OnAgitInit:
- if (GetCastleData("payg_cas02.gat",10) <= 0) goto Guardian2;
- guardian "payg_cas02.gat",208,37,"Soldier Guardian",1287,1,"Guardian_C02::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("payg_cas02.gat",11) <= 0) goto Guardian3;
- guardian "payg_cas02.gat",51,245,"Soldier Guardian",1287,1,"Guardian_C02::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("payg_cas02.gat",12) <= 0) goto Guardian4;
- guardian "payg_cas02.gat",286,245,"Soldier Guardian",1287,1,"Guardian_C02::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("payg_cas02.gat",13) <= 0) goto Guardian5;
- guardian "payg_cas02.gat",217,42,"Archer Guardian",1285,1,"Guardian_C02::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("payg_cas02.gat",14) <= 0) goto Guardian6;
- guardian "payg_cas02.gat",264,266,"Archer Guardian",1285,1,"Guardian_C02::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("payg_cas02.gat",15) <= 0) goto Guardian7;
- guardian "payg_cas02.gat",51,245,"Knight Guardian",1286,1,"Guardian_C02::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("payg_cas02.gat",16) <= 0) goto Guardian8;
- guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,1,"Guardian_C02::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("payg_cas02.gat",17) <= 0) goto NoSpawn;
- guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,1,"Guardian_C02::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "payg_cas02.gat","Guardian_C02::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "payg_cas02.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - payg_cas02 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in payg_cas02 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +payg_cas02.gat,39,25,0 script Guardian_C02 -1,{ +OnAgitInit: + if (GetCastleData("payg_cas02.gat",10) <= 0) goto Guardian2; + guardian "payg_cas02.gat",208,37,"Soldier Guardian",1287,1,"Guardian_C02::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("payg_cas02.gat",11) <= 0) goto Guardian3; + guardian "payg_cas02.gat",51,245,"Soldier Guardian",1287,1,"Guardian_C02::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("payg_cas02.gat",12) <= 0) goto Guardian4; + guardian "payg_cas02.gat",286,245,"Soldier Guardian",1287,1,"Guardian_C02::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("payg_cas02.gat",13) <= 0) goto Guardian5; + guardian "payg_cas02.gat",217,42,"Archer Guardian",1285,1,"Guardian_C02::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("payg_cas02.gat",14) <= 0) goto Guardian6; + guardian "payg_cas02.gat",264,266,"Archer Guardian",1285,1,"Guardian_C02::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("payg_cas02.gat",15) <= 0) goto Guardian7; + guardian "payg_cas02.gat",51,245,"Knight Guardian",1286,1,"Guardian_C02::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("payg_cas02.gat",16) <= 0) goto Guardian8; + guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,1,"Guardian_C02::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("payg_cas02.gat",17) <= 0) goto NoSpawn; + guardian "payg_cas02.gat",279,263,"Knight Guardian",1286,1,"Guardian_C02::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "payg_cas02.gat","Guardian_C02::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "payg_cas02.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/payg_cas03_guardian.txt b/npc/guild/old/guardian/payg_cas03_guardian.txt index 05150bd9e..4d1da422d 100644 --- a/npc/guild/old/guardian/payg_cas03_guardian.txt +++ b/npc/guild/old/guardian/payg_cas03_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - payg_cas03 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in payg_cas03
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-payg_cas03.gat,269,265,0 script Guardian_C03 -1,{
-OnAgitInit:
- if (GetCastleData("payg_cas03.gat",10) <= 0) goto Guardian2;
- guardian "payg_cas03.gat",252,39,"Soldier Guardian",1287,1,"Guardian_C03::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("payg_cas03.gat",11) <= 0) goto Guardian3;
- guardian "payg_cas03.gat",23,283,"Soldier Guardian",1287,1,"Guardian_C03::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("payg_cas03.gat",12) <= 0) goto Guardian4;
- guardian "payg_cas03.gat",34,283,"Soldier Guardian",1287,1,"Guardian_C03::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("payg_cas03.gat",13) <= 0) goto Guardian5;
- guardian "payg_cas03.gat",57,36,"Archer Guardian",1285,1,"Guardian_C03::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("payg_cas03.gat",14) <= 0) goto Guardian6;
- guardian "payg_cas03.gat",20,36,"Archer Guardian",1285,1,"Guardian_C03::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("payg_cas03.gat",15) <= 0) goto Guardian7;
- guardian "payg_cas03.gat",34,283,"Knight Guardian",1286,1,"Guardian_C03::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("payg_cas03.gat",16) <= 0) goto Guardian8;
- guardian "payg_cas03.gat",23,283,"Knight Guardian",1286,1,"Guardian_C03::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("payg_cas03.gat",17) <= 0) goto NoSpawn;
- guardian "payg_cas03.gat",28,253,"Knight Guardian",1286,1,"Guardian_C03::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "payg_cas03.gat","Guardian_C03::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "payg_cas03.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - payg_cas03 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in payg_cas03 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +payg_cas03.gat,269,265,0 script Guardian_C03 -1,{ +OnAgitInit: + if (GetCastleData("payg_cas03.gat",10) <= 0) goto Guardian2; + guardian "payg_cas03.gat",252,39,"Soldier Guardian",1287,1,"Guardian_C03::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("payg_cas03.gat",11) <= 0) goto Guardian3; + guardian "payg_cas03.gat",23,283,"Soldier Guardian",1287,1,"Guardian_C03::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("payg_cas03.gat",12) <= 0) goto Guardian4; + guardian "payg_cas03.gat",34,283,"Soldier Guardian",1287,1,"Guardian_C03::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("payg_cas03.gat",13) <= 0) goto Guardian5; + guardian "payg_cas03.gat",57,36,"Archer Guardian",1285,1,"Guardian_C03::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("payg_cas03.gat",14) <= 0) goto Guardian6; + guardian "payg_cas03.gat",20,36,"Archer Guardian",1285,1,"Guardian_C03::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("payg_cas03.gat",15) <= 0) goto Guardian7; + guardian "payg_cas03.gat",34,283,"Knight Guardian",1286,1,"Guardian_C03::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("payg_cas03.gat",16) <= 0) goto Guardian8; + guardian "payg_cas03.gat",23,283,"Knight Guardian",1286,1,"Guardian_C03::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("payg_cas03.gat",17) <= 0) goto NoSpawn; + guardian "payg_cas03.gat",28,253,"Knight Guardian",1286,1,"Guardian_C03::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "payg_cas03.gat","Guardian_C03::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "payg_cas03.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/payg_cas04_guardian.txt b/npc/guild/old/guardian/payg_cas04_guardian.txt index fa303988e..6d34ac8dc 100644 --- a/npc/guild/old/guardian/payg_cas04_guardian.txt +++ b/npc/guild/old/guardian/payg_cas04_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - payg_cas04 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in payg_cas04
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-payg_cas04.gat,271,29,0 script Guardian_C04 -1,{
-OnAgitInit:
- if (GetCastleData("payg_cas04.gat",10) <= 0) goto Guardian2;
- guardian "payg_cas04.gat",236,172,"Soldier Guardian",1287,1,"Guardian_C04::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("payg_cas04.gat",11) <= 0) goto Guardian3;
- guardian "payg_cas04.gat",14,260,"Soldier Guardian",1287,1,"Guardian_C04::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("payg_cas04.gat",12) <= 0) goto Guardian4;
- guardian "payg_cas04.gat",15,30,"Soldier Guardian",1287,1,"Guardian_C04::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("payg_cas04.gat",13) <= 0) goto Guardian5;
- guardian "payg_cas04.gat",257,166,"Archer Guardian",1285,1,"Guardian_C04::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("payg_cas04.gat",14) <= 0) goto Guardian6;
- guardian "payg_cas04.gat",65,261,"Archer Guardian",1285,1,"Guardian_C04::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("payg_cas04.gat",15) <= 0) goto Guardian7;
- guardian "payg_cas04.gat",65,261,"Knight Guardian",1286,1,"Guardian_C04::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("payg_cas04.gat",16) <= 0) goto Guardian8;
- guardian "payg_cas04.gat",52,29,"Knight Guardian",1286,1,"Guardian_C04::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("payg_cas04.gat",17) <= 0) goto NoSpawn;
- guardian "payg_cas04.gat",15,30,"Knight Guardian",1286,1,"Guardian_C04::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "payg_cas04.gat","Guardian_C04::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "payg_cas04.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - payg_cas04 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in payg_cas04 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +payg_cas04.gat,271,29,0 script Guardian_C04 -1,{ +OnAgitInit: + if (GetCastleData("payg_cas04.gat",10) <= 0) goto Guardian2; + guardian "payg_cas04.gat",236,172,"Soldier Guardian",1287,1,"Guardian_C04::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("payg_cas04.gat",11) <= 0) goto Guardian3; + guardian "payg_cas04.gat",14,260,"Soldier Guardian",1287,1,"Guardian_C04::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("payg_cas04.gat",12) <= 0) goto Guardian4; + guardian "payg_cas04.gat",15,30,"Soldier Guardian",1287,1,"Guardian_C04::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("payg_cas04.gat",13) <= 0) goto Guardian5; + guardian "payg_cas04.gat",257,166,"Archer Guardian",1285,1,"Guardian_C04::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("payg_cas04.gat",14) <= 0) goto Guardian6; + guardian "payg_cas04.gat",65,261,"Archer Guardian",1285,1,"Guardian_C04::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("payg_cas04.gat",15) <= 0) goto Guardian7; + guardian "payg_cas04.gat",65,261,"Knight Guardian",1286,1,"Guardian_C04::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("payg_cas04.gat",16) <= 0) goto Guardian8; + guardian "payg_cas04.gat",52,29,"Knight Guardian",1286,1,"Guardian_C04::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("payg_cas04.gat",17) <= 0) goto NoSpawn; + guardian "payg_cas04.gat",15,30,"Knight Guardian",1286,1,"Guardian_C04::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "payg_cas04.gat","Guardian_C04::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "payg_cas04.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/payg_cas05_guardian.txt b/npc/guild/old/guardian/payg_cas05_guardian.txt index 526de5d4f..b45431ead 100644 --- a/npc/guild/old/guardian/payg_cas05_guardian.txt +++ b/npc/guild/old/guardian/payg_cas05_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - payg_cas05 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in payg_cas05
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-payg_cas05.gat,30,30,0 script Guardian_C05 -1,{
-OnAgitInit:
- if (GetCastleData("payg_cas05.gat",10) <= 0) goto Guardian2;
- guardian "payg_cas05.gat",51,258,"Soldier Guardian",1287,1,"Guardian_C05::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("payg_cas05.gat",11) <= 0) goto Guardian3;
- guardian "payg_cas05.gat",286,235,"Soldier Guardian",1287,1,"Guardian_C05::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("payg_cas05.gat",12) <= 0) goto Guardian4;
- guardian "payg_cas05.gat",282,277,"Soldier Guardian",1287,1,"Guardian_C05::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("payg_cas05.gat",13) <= 0) goto Guardian5;
- guardian "payg_cas05.gat",46,273,"Archer Guardian",1285,1,"Guardian_C05::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("payg_cas05.gat",14) <= 0) goto Guardian6;
- guardian "payg_cas05.gat",289,256,"Archer Guardian",1285,1,"Guardian_C05::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("payg_cas05.gat",15) <= 0) goto Guardian7;
- guardian "payg_cas05.gat",275,42,"Knight Guardian",1286,1,"Guardian_C05::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("payg_cas05.gat",16) <= 0) goto Guardian8;
- guardian "payg_cas05.gat",254,9,"Knight Guardian",1286,1,"Guardian_C05::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("payg_cas05.gat",17) <= 0) goto NoSpawn;
- guardian "payg_cas05.gat",236,256,"Knight Guardian",1286,1,"Guardian_C05::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "payg_cas05.gat","Guardian_C05::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "payg_cas05.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - payg_cas05 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in payg_cas05 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +payg_cas05.gat,30,30,0 script Guardian_C05 -1,{ +OnAgitInit: + if (GetCastleData("payg_cas05.gat",10) <= 0) goto Guardian2; + guardian "payg_cas05.gat",51,258,"Soldier Guardian",1287,1,"Guardian_C05::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("payg_cas05.gat",11) <= 0) goto Guardian3; + guardian "payg_cas05.gat",286,235,"Soldier Guardian",1287,1,"Guardian_C05::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("payg_cas05.gat",12) <= 0) goto Guardian4; + guardian "payg_cas05.gat",282,277,"Soldier Guardian",1287,1,"Guardian_C05::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("payg_cas05.gat",13) <= 0) goto Guardian5; + guardian "payg_cas05.gat",46,273,"Archer Guardian",1285,1,"Guardian_C05::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("payg_cas05.gat",14) <= 0) goto Guardian6; + guardian "payg_cas05.gat",289,256,"Archer Guardian",1285,1,"Guardian_C05::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("payg_cas05.gat",15) <= 0) goto Guardian7; + guardian "payg_cas05.gat",275,42,"Knight Guardian",1286,1,"Guardian_C05::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("payg_cas05.gat",16) <= 0) goto Guardian8; + guardian "payg_cas05.gat",254,9,"Knight Guardian",1286,1,"Guardian_C05::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("payg_cas05.gat",17) <= 0) goto NoSpawn; + guardian "payg_cas05.gat",236,256,"Knight Guardian",1286,1,"Guardian_C05::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "payg_cas05.gat","Guardian_C05::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "payg_cas05.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/prtg_cas01_guardian.txt b/npc/guild/old/guardian/prtg_cas01_guardian.txt index d8ffaf243..9bcacacff 100644 --- a/npc/guild/old/guardian/prtg_cas01_guardian.txt +++ b/npc/guild/old/guardian/prtg_cas01_guardian.txt @@ -1,67 +1,67 @@ -//===== eAthena Script =======================================
-//= War of Emperium - prtg_cas01 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in prtg_cas01
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-prtg_cas01.gat,197,197,0 script Guardian_D01 -1,{
-OnAgitInit:
- if (GetCastleData("prtg_cas01.gat",10) <= 0) goto Guardian2;
- guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,1,"Guardian_D01::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("prtg_cas01.gat",11) <= 0) goto Guardian3;
- guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,1,"Guardian_D01::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("prtg_cas01.gat",12) <= 0) goto Guardian4;
- guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,1,"Guardian_D01::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("prtg_cas01.gat",13) <= 0) goto Guardian5;
- guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,1,"Guardian_D01::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("prtg_cas01.gat",14) <= 0) goto Guardian6;
- guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,1,"Guardian_D01::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("prtg_cas01.gat",15) <= 0) goto Guardian7;
- guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,1,"Guardian_D01::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("prtg_cas01.gat",16) <= 0) goto Guardian8;
- guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,1,"Guardian_D01::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("prtg_cas01.gat",17) <= 0) goto NoSpawn;
- guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,1,"Guardian_D01::OnGuardianDied",7;
- break;
-
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "prtg_cas01.gat","Guardian_D01::GuardianDied";
- break;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas01.gat","A Guardian Has Fallen",17;
- break;
-
-OnAgitEnd:
- break;
-
-NoSpawn:
- break;
-
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - prtg_cas01 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in prtg_cas01 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +prtg_cas01.gat,197,197,0 script Guardian_D01 -1,{ +OnAgitInit: + if (GetCastleData("prtg_cas01.gat",10) <= 0) goto Guardian2; + guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,1,"Guardian_D01::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("prtg_cas01.gat",11) <= 0) goto Guardian3; + guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,1,"Guardian_D01::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("prtg_cas01.gat",12) <= 0) goto Guardian4; + guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,1,"Guardian_D01::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("prtg_cas01.gat",13) <= 0) goto Guardian5; + guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,1,"Guardian_D01::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("prtg_cas01.gat",14) <= 0) goto Guardian6; + guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,1,"Guardian_D01::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("prtg_cas01.gat",15) <= 0) goto Guardian7; + guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,1,"Guardian_D01::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("prtg_cas01.gat",16) <= 0) goto Guardian8; + guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,1,"Guardian_D01::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("prtg_cas01.gat",17) <= 0) goto NoSpawn; + guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,1,"Guardian_D01::OnGuardianDied",7; + break; + +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "prtg_cas01.gat","Guardian_D01::GuardianDied"; + break; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas01.gat","A Guardian Has Fallen",17; + break; + +OnAgitEnd: + break; + +NoSpawn: + break; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/prtg_cas02_guardian.txt b/npc/guild/old/guardian/prtg_cas02_guardian.txt index 3858f1c64..e8e9a35d8 100644 --- a/npc/guild/old/guardian/prtg_cas02_guardian.txt +++ b/npc/guild/old/guardian/prtg_cas02_guardian.txt @@ -1,62 +1,62 @@ -//===== eAthena Script =======================================
-//= War of Emperium - prtg_cas02 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in prtg_cas02
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-prtg_cas02.gat,158,174,0 script Guardian_D02 -1,{
-OnAgitStart:
- if (GetCastleData("prtg_cas02.gat",10) <= 0) goto Guardian2;
- guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,1,"Guardian_D02::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("prtg_cas02.gat",11) <= 0) goto Guardian3;
- guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,1,"Guardian_D02::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("prtg_cas02.gat",12) <= 0) goto Guardian4;
- guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,1,"Guardian_D02::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("prtg_cas02.gat",13) <= 0) goto Guardian5;
- guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,1,"Guardian_D02::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("prtg_cas02.gat",14) <= 0) goto Guardian6;
- guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,1,"Guardian_D02::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("prtg_cas02.gat",15) <= 0) goto Guardian7;
- guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,1,"Guardian_D02::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("prtg_cas02.gat",16) <= 0) goto Guardian8;
- guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,1,"Guardian_D02::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("prtg_cas02.gat",17) <= 0) goto NoSpawn;
- guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,1,"Guardian_D02::OnGuardianDied",7;
- break;
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "prtg_cas02.gat","Guardian_D02::GuardianDied";
- break;
-GuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas02.gat","A Guardian Has Fallen",17;
- break;
-OnAgitEnd:
- break;
-NoSpawn:
- break;
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - prtg_cas02 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in prtg_cas02 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +prtg_cas02.gat,158,174,0 script Guardian_D02 -1,{ +OnAgitStart: + if (GetCastleData("prtg_cas02.gat",10) <= 0) goto Guardian2; + guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,1,"Guardian_D02::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("prtg_cas02.gat",11) <= 0) goto Guardian3; + guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,1,"Guardian_D02::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("prtg_cas02.gat",12) <= 0) goto Guardian4; + guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,1,"Guardian_D02::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("prtg_cas02.gat",13) <= 0) goto Guardian5; + guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,1,"Guardian_D02::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("prtg_cas02.gat",14) <= 0) goto Guardian6; + guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,1,"Guardian_D02::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("prtg_cas02.gat",15) <= 0) goto Guardian7; + guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,1,"Guardian_D02::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("prtg_cas02.gat",16) <= 0) goto Guardian8; + guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,1,"Guardian_D02::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("prtg_cas02.gat",17) <= 0) goto NoSpawn; + guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,1,"Guardian_D02::OnGuardianDied",7; + break; +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "prtg_cas02.gat","Guardian_D02::GuardianDied"; + break; +GuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas02.gat","A Guardian Has Fallen",17; + break; +OnAgitEnd: + break; +NoSpawn: + break; +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/prtg_cas03_guardian.txt b/npc/guild/old/guardian/prtg_cas03_guardian.txt index 1f5becb9e..35ad52fb8 100644 --- a/npc/guild/old/guardian/prtg_cas03_guardian.txt +++ b/npc/guild/old/guardian/prtg_cas03_guardian.txt @@ -1,62 +1,62 @@ -//===== eAthena Script =======================================
-//= War of Emperium - prtg_cas03 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in prtg_cas03
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-prtg_cas03.gat,17,221,0 script Guardian_D03 -1,{
-OnAgitStart:
- if (GetCastleData("prtg_cas03.gat",10) <= 0) goto Guardian2;
- guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,1,"Guardian_D03::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("prtg_cas03.gat",11) <= 0) goto Guardian3;
- guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,1,"Guardian_D03::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("prtg_cas03.gat",12) <= 0) goto Guardian4;
- guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,1,"Guardian_D03::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("prtg_cas03.gat",13) <= 0) goto Guardian5;
- guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,1,"Guardian_D03::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("prtg_cas03.gat",14) <= 0) goto Guardian6;
- guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,1,"Guardian_D03::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("prtg_cas03.gat",15) <= 0) goto Guardian7;
- guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,1,"Guardian_D03::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("prtg_cas03.gat",16) <= 0) goto Guardian8;
- guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,1,"Guardian_D03::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("prtg_cas03.gat",17) <= 0) goto NoSpawn;
- guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,1,"Guardian_D03::OnGuardianDied",7;
- break;
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "prtg_cas03.gat","Guardian_D03::OnGuardianDied";
- break;
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas03.gat","A Guardian Has Fallen",17;
- break;
-OnAgitEnd:
- break;
-NoSpawn:
- break;
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - prtg_cas03 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in prtg_cas03 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +prtg_cas03.gat,17,221,0 script Guardian_D03 -1,{ +OnAgitStart: + if (GetCastleData("prtg_cas03.gat",10) <= 0) goto Guardian2; + guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,1,"Guardian_D03::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("prtg_cas03.gat",11) <= 0) goto Guardian3; + guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,1,"Guardian_D03::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("prtg_cas03.gat",12) <= 0) goto Guardian4; + guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,1,"Guardian_D03::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("prtg_cas03.gat",13) <= 0) goto Guardian5; + guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,1,"Guardian_D03::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("prtg_cas03.gat",14) <= 0) goto Guardian6; + guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,1,"Guardian_D03::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("prtg_cas03.gat",15) <= 0) goto Guardian7; + guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,1,"Guardian_D03::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("prtg_cas03.gat",16) <= 0) goto Guardian8; + guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,1,"Guardian_D03::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("prtg_cas03.gat",17) <= 0) goto NoSpawn; + guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,1,"Guardian_D03::OnGuardianDied",7; + break; +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "prtg_cas03.gat","Guardian_D03::OnGuardianDied"; + break; +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas03.gat","A Guardian Has Fallen",17; + break; +OnAgitEnd: + break; +NoSpawn: + break; +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/prtg_cas04_guardian.txt b/npc/guild/old/guardian/prtg_cas04_guardian.txt index 7a5d86062..ea410b7f8 100644 --- a/npc/guild/old/guardian/prtg_cas04_guardian.txt +++ b/npc/guild/old/guardian/prtg_cas04_guardian.txt @@ -1,62 +1,62 @@ -//===== eAthena Script =======================================
-//= War of Emperium - prtg_cas04 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in prtg_cas04
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-prtg_cas04.gat,292,14,0 script Guardian_D04 -1,{
-OnAgitStart:
- if (GetCastleData("prtg_cas04.gat",10) <= 0) goto Guardian2;
- guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,1,"Guardian_D04::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("prtg_cas04.gat",11) <= 0) goto Guardian3;
- guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,1,"Guardian_D04::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("prtg_cas04.gat",12) <= 0) goto Guardian4;
- guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,1,"Guardian_D04::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("prtg_cas04.gat",13) <= 0) goto Guardian5;
- guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,1,"Guardian_D04::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("prtg_cas04.gat",14) <= 0) goto Guardian6;
- guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,1,"Guardian_D04::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("prtg_cas04.gat",15) <= 0) goto Guardian7;
- guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,1,"Guardian_D04::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("prtg_cas04.gat",16) <= 0) goto Guardian8;
- guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,1,"Guardian_D04::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("prtg_cas04.gat",17) <= 0) goto NoSpawn;
- guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,1,"Guardian_D04::OnGuardianDied",7;
- break;
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "prtg_cas04.gat","Guardian_D04::OnGuardianDied";
- break;
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas04.gat","A Guardian Has Fallen",17;
- break;
-OnAgitEnd:
- break;
-NoSpawn:
- break;
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - prtg_cas04 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in prtg_cas04 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +prtg_cas04.gat,292,14,0 script Guardian_D04 -1,{ +OnAgitStart: + if (GetCastleData("prtg_cas04.gat",10) <= 0) goto Guardian2; + guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,1,"Guardian_D04::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("prtg_cas04.gat",11) <= 0) goto Guardian3; + guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,1,"Guardian_D04::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("prtg_cas04.gat",12) <= 0) goto Guardian4; + guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,1,"Guardian_D04::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("prtg_cas04.gat",13) <= 0) goto Guardian5; + guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,1,"Guardian_D04::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("prtg_cas04.gat",14) <= 0) goto Guardian6; + guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,1,"Guardian_D04::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("prtg_cas04.gat",15) <= 0) goto Guardian7; + guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,1,"Guardian_D04::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("prtg_cas04.gat",16) <= 0) goto Guardian8; + guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,1,"Guardian_D04::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("prtg_cas04.gat",17) <= 0) goto NoSpawn; + guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,1,"Guardian_D04::OnGuardianDied",7; + break; +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "prtg_cas04.gat","Guardian_D04::OnGuardianDied"; + break; +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas04.gat","A Guardian Has Fallen",17; + break; +OnAgitEnd: + break; +NoSpawn: + break; +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/npc/guild/old/guardian/prtg_cas05_guardian.txt b/npc/guild/old/guardian/prtg_cas05_guardian.txt index 392623a11..ff3ff1992 100644 --- a/npc/guild/old/guardian/prtg_cas05_guardian.txt +++ b/npc/guild/old/guardian/prtg_cas05_guardian.txt @@ -1,62 +1,62 @@ -//===== eAthena Script =======================================
-//= War of Emperium - prtg_cas05 guardians script
-//===== By: ==================================================
-//= holyAngelX (1.0)
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Guardians Spawn Script in prtg_cas05
-//===== Additional Comments: =================================
-//= 1.1 by joedukk
-//= 1.2 by Akaru and Valaris
-//============================================================
-
-prtg_cas05.gat,266,266,0 script Guardian_D05 -1,{
-OnAgitStart:
- if (GetCastleData("prtg_cas05.gat",10) <= 0) goto Guardian2;
- guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,1,"Guardian_D05::OnGuardianDied",0;
- goto Guardian2;
-Guardian2:
- if (GetCastleData("prtg_cas05.gat",11) <= 0) goto Guardian3;
- guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,1,"Guardian_D05::OnGuardianDied",1;
- goto Guardian3;
-Guardian3:
- if (GetCastleData("prtg_cas05.gat",12) <= 0) goto Guardian4;
- guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,1,"Guardian_D05::OnGuardianDied",2;
- goto Guardian4;
-Guardian4:
- if (GetCastleData("prtg_cas05.gat",13) <= 0) goto Guardian5;
- guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,1,"Guardian_D05::OnGuardianDied",3;
- goto Guardian5;
-Guardian5:
- if (GetCastleData("prtg_cas05.gat",14) <= 0) goto Guardian6;
- guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,1,"Guardian_D05::OnGuardianDied",4;
- goto Guardian6;
-Guardian6:
- if (GetCastleData("prtg_cas05.gat",15) <= 0) goto Guardian7;
- guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,1,"Guardian_D05::OnGuardianDied",5;
- goto Guardian7;
-Guardian7:
- if (GetCastleData("prtg_cas05.gat",16) <= 0) goto Guardian8;
- guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,1,"Guardian_D05::OnGuardianDied",6;
- goto Guardian8;
-Guardian8:
- if (GetCastleData("prtg_cas05.gat",17) <= 0) goto NoSpawn;
- guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,1,"Guardian_D05::OnGuardianDied",7;
- break;
-OnAgitEliminate:
- //Kill all guardians on castle takeover
- //killmonster "prtg_cas05.gat","Guardian_D05::OnGuardianDied";
- break;
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas05.gat","A Guardian Has Fallen",17;
- break;
-OnAgitEnd:
- break;
-NoSpawn:
- break;
-}
-//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+//===== eAthena Script ======================================= +//= War of Emperium - prtg_cas05 guardians script +//===== By: ================================================== +//= holyAngelX (1.0) +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Guardians Spawn Script in prtg_cas05 +//===== Additional Comments: ================================= +//= 1.1 by joedukk +//= 1.2 by Akaru and Valaris +//============================================================ + +prtg_cas05.gat,266,266,0 script Guardian_D05 -1,{ +OnAgitStart: + if (GetCastleData("prtg_cas05.gat",10) <= 0) goto Guardian2; + guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,1,"Guardian_D05::OnGuardianDied",0; + goto Guardian2; +Guardian2: + if (GetCastleData("prtg_cas05.gat",11) <= 0) goto Guardian3; + guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,1,"Guardian_D05::OnGuardianDied",1; + goto Guardian3; +Guardian3: + if (GetCastleData("prtg_cas05.gat",12) <= 0) goto Guardian4; + guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,1,"Guardian_D05::OnGuardianDied",2; + goto Guardian4; +Guardian4: + if (GetCastleData("prtg_cas05.gat",13) <= 0) goto Guardian5; + guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,1,"Guardian_D05::OnGuardianDied",3; + goto Guardian5; +Guardian5: + if (GetCastleData("prtg_cas05.gat",14) <= 0) goto Guardian6; + guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,1,"Guardian_D05::OnGuardianDied",4; + goto Guardian6; +Guardian6: + if (GetCastleData("prtg_cas05.gat",15) <= 0) goto Guardian7; + guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,1,"Guardian_D05::OnGuardianDied",5; + goto Guardian7; +Guardian7: + if (GetCastleData("prtg_cas05.gat",16) <= 0) goto Guardian8; + guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,1,"Guardian_D05::OnGuardianDied",6; + goto Guardian8; +Guardian8: + if (GetCastleData("prtg_cas05.gat",17) <= 0) goto NoSpawn; + guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,1,"Guardian_D05::OnGuardianDied",7; + break; +OnAgitEliminate: + //Kill all guardians on castle takeover + //killmonster "prtg_cas05.gat","Guardian_D05::OnGuardianDied"; + break; +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas05.gat","A Guardian Has Fallen",17; + break; +OnAgitEnd: + break; +NoSpawn: + break; +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |