summaryrefslogtreecommitdiff
path: root/npc/guild/old/guardian/prtg_cas03_guardian.txt
diff options
context:
space:
mode:
author(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-04 23:25:09 +0000
committer(no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-04 23:25:09 +0000
commit195dffc20af1fb32c7e4119988911b72955aeabc (patch)
treeb60d2a5e72d64dc5fc21eb9ce0962631e774a4c9 /npc/guild/old/guardian/prtg_cas03_guardian.txt
downloadhercules-195dffc20af1fb32c7e4119988911b72955aeabc.tar.gz
hercules-195dffc20af1fb32c7e4119988911b72955aeabc.tar.bz2
hercules-195dffc20af1fb32c7e4119988911b72955aeabc.tar.xz
hercules-195dffc20af1fb32c7e4119988911b72955aeabc.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@2 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/old/guardian/prtg_cas03_guardian.txt')
-rw-r--r--npc/guild/old/guardian/prtg_cas03_guardian.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/npc/guild/old/guardian/prtg_cas03_guardian.txt b/npc/guild/old/guardian/prtg_cas03_guardian.txt
new file mode 100644
index 000000000..1f5becb9e
--- /dev/null
+++ b/npc/guild/old/guardian/prtg_cas03_guardian.txt
@@ -0,0 +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;
+}
+//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------