diff options
Diffstat (limited to 'npc/guild/old/guardian/payg_cas05_guardian.txt')
-rw-r--r-- | npc/guild/old/guardian/payg_cas05_guardian.txt | 134 |
1 files changed, 67 insertions, 67 deletions
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; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |