From 195dffc20af1fb32c7e4119988911b72955aeabc Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Thu, 4 Nov 2004 23:25:09 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/guild/old/guardian/gefg_cas04_guardian.txt | 67 ++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 npc/guild/old/guardian/gefg_cas04_guardian.txt (limited to 'npc/guild/old/guardian/gefg_cas04_guardian.txt') diff --git a/npc/guild/old/guardian/gefg_cas04_guardian.txt b/npc/guild/old/guardian/gefg_cas04_guardian.txt new file mode 100644 index 000000000..fef453ee3 --- /dev/null +++ b/npc/guild/old/guardian/gefg_cas04_guardian.txt @@ -0,0 +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; + +} +//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -- cgit v1.2.3-60-g2f50