summaryrefslogtreecommitdiff
path: root/npc/guild/aldeg/aldeg_guardians.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-02 01:15:07 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-02 01:15:07 +0000
commite8c89d85b61e53646b8a243618a27bd4b06cb7f1 (patch)
treed8f7a41c9fd45c58bf4013566cc3425434abedb6 /npc/guild/aldeg/aldeg_guardians.txt
parent95667bfa39da665dc6da8fd4fc354c658774824e (diff)
downloadhercules-e8c89d85b61e53646b8a243618a27bd4b06cb7f1.tar.gz
hercules-e8c89d85b61e53646b8a243618a27bd4b06cb7f1.tar.bz2
hercules-e8c89d85b61e53646b8a243618a27bd4b06cb7f1.tar.xz
hercules-e8c89d85b61e53646b8a243618a27bd4b06cb7f1.zip
* Rather large update to the WoE scripts.
- Eliminated unofficial map-broadcasts (opening treasures/guardian death.) - Fixed several errors in guardian spawning (script-wise.) - Treasure spawning itself is done weird... What exactly is the last paramater for anyway? Near as I can see it's ALWAYS 1. Why is it used? what does it do? Why is it undocumented? Mysteries and more! - Updated dialog and restructured several NPCs. * Created a unique function for novice WoE as the new manager does not support it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11633 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/aldeg/aldeg_guardians.txt')
-rw-r--r--npc/guild/aldeg/aldeg_guardians.txt100
1 files changed, 52 insertions, 48 deletions
diff --git a/npc/guild/aldeg/aldeg_guardians.txt b/npc/guild/aldeg/aldeg_guardians.txt
index 81b030c38..88271c597 100644
--- a/npc/guild/aldeg/aldeg_guardians.txt
+++ b/npc/guild/aldeg/aldeg_guardians.txt
@@ -14,98 +14,102 @@
//= 1.2 by Akaru and Valaris
//= 1.2a Guardians for all aldeg castles are now in this file.
//= Minor optimizations.[kobra_k88]
+//= 1.3 Corrected what guardians will spawn, and where. [L0ne_W0lf]
+//= All guardians will now die when OnAgiInit is run.
+//= Removed announcment for when a guardian dies.
//============================================================
aldeg_cas01,216,24,0 script Guardian_A01 -1,{
OnAgitInit:
- if (GetCastleData("aldeg_cas01",10) == 1) guardian "aldeg_cas01",18,219,"Soldier Guardian",1287,"Guardian_A01::OnGuardianDied",0;
- if (GetCastleData("aldeg_cas01",11) == 1) guardian "aldeg_cas01",117,42,"Soldier Guardian",1287,"Guardian_A01::OnGuardianDied",1;
- if (GetCastleData("aldeg_cas01",12) == 1) guardian "aldeg_cas01",207,153,"Soldier Guardian",1287,"Guardian_A01::OnGuardianDied",2;
- if (GetCastleData("aldeg_cas01",13) == 1) guardian "aldeg_cas01",68,70,"Archer Guardian",1285,"Guardian_A01::OnGuardianDied",3;
- if (GetCastleData("aldeg_cas01",14) == 1) guardian "aldeg_cas01",187,140,"Archer Guardian",1285,"Guardian_A01::OnGuardianDied",4;
- if (GetCastleData("aldeg_cas01",15) == 1) guardian "aldeg_cas01",62,204,"Knight Guardian",1286,"Guardian_A01::OnGuardianDied",5;
- if (GetCastleData("aldeg_cas01",16) == 1) guardian "aldeg_cas01",113,100,"Knight Guardian",1286,"Guardian_A01::OnGuardianDied",6;
- if (GetCastleData("aldeg_cas01",17) == 1) guardian "aldeg_cas01",211,174,"Knight Guardian",1286,"Guardian_A01::OnGuardianDied",7;
+ killmonster "aldeg_cas01","Guardian_A01::OnGuardianDied";
+ if (GetCastleData("aldeg_cas01",10) == 1) guardian "aldeg_cas01",17,218,"Guardian Soldier",1287,"Guardian_A01::OnGuardianDied",0;
+ if (GetCastleData("aldeg_cas01",11) == 1) guardian "aldeg_cas01",39,208,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",1;
+ if (GetCastleData("aldeg_cas01",12) == 1) guardian "aldeg_cas01",38,196,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",2;
+ if (GetCastleData("aldeg_cas01",13) == 1) guardian "aldeg_cas01",45,228,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",3;
+ if (GetCastleData("aldeg_cas01",14) == 1) guardian "aldeg_cas01",21,194,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",4;
+ if (GetCastleData("aldeg_cas01",15) == 1) guardian "aldeg_cas01",218,24,"Guardian Knight",1286,"Guardian_A01::OnGuardianDied",5;
+ if (GetCastleData("aldeg_cas01",16) == 1) guardian "aldeg_cas01",213,24,"Guardian Knight",1286,"Guardian_A01::OnGuardianDied",6;
+ if (GetCastleData("aldeg_cas01",17) == 1) guardian "aldeg_cas01",73,70,"Guardian Knight",1286,"Guardian_A01::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "aldeg_cas01","A Guardian Has Fallen",17;
end;
-
-//NoSpawn:
-// break;
}
+
//------------------------------------------------------------------------------
aldeg_cas02,214,24,0 script Guardian_A02 -1,{
OnAgitInit:
- if (GetCastleData("aldeg_cas02",10) == 1) guardian "aldeg_cas02",22,186,"Soldier Guardian",1287,"Guardian_A02::OnGuardianDied",0;
- if (GetCastleData("aldeg_cas02",11) == 1) guardian "aldeg_cas02",88,31,"Soldier Guardian",1287,"Guardian_A02::OnGuardianDied",1;
- if (GetCastleData("aldeg_cas02",12) == 1) guardian "aldeg_cas02",207,176,"Soldier Guardian",1287,"Guardian_A02::OnGuardianDied",2;
- if (GetCastleData("aldeg_cas02",13) == 1) guardian "aldeg_cas02",50,201,"Archer Guardian",1285,"Guardian_A02::OnGuardianDied",3;
- if (GetCastleData("aldeg_cas02",14) == 1) guardian "aldeg_cas02",197,146,"Archer Guardian",1285,"Guardian_A02::OnGuardianDied",4;
- if (GetCastleData("aldeg_cas02",15) == 1) guardian "aldeg_cas02",71,193,"Knight Guardian",1286,"Guardian_A02::OnGuardianDied",5;
- if (GetCastleData("aldeg_cas02",16) == 1) guardian "aldeg_cas02",88,31,"Knight Guardian",1286,"Guardian_A02::OnGuardianDied",6;
- if (GetCastleData("aldeg_cas02",17) == 1) guardian "aldeg_cas02",219,148,"Knight Guardian",1286,"Guardian_A02::OnGuardianDied",7;
+ killmonster "aldeg_cas02","Guardian_A02::OnGuardianDied";
+ if (GetCastleData("aldeg_cas02",10) == 1) guardian "aldeg_cas02",27,184,"Guardian Knight",1286,"Guardian_A02::OnGuardianDied",0;
+ if (GetCastleData("aldeg_cas02",11) == 1) guardian "aldeg_cas02",88,43,"Guardian Knight",1286,"Guardian_A02::OnGuardianDied",1;
+ if (GetCastleData("aldeg_cas02",12) == 1) guardian "aldeg_cas02",117,46,"Guardian Knight",1286,"Guardian_A02::OnGuardianDied",2;
+ if (GetCastleData("aldeg_cas02",13) == 1) guardian "aldeg_cas02",60,202,"Guardian Soldier",1287,"Guardian_A02::OnGuardianDied",3;
+ if (GetCastleData("aldeg_cas02",14) == 1) guardian "aldeg_cas02",51,183,"Guardian Soldier",1287,"Guardian_A02::OnGuardianDied",4;
+ if (GetCastleData("aldeg_cas02",15) == 1) guardian "aldeg_cas02",21,177,"Guardian Archer",1285,"Guardian_A02::OnGuardianDied",5;
+ if (GetCastleData("aldeg_cas02",16) == 1) guardian "aldeg_cas02",36,183,"Guardian Archer",1285,"Guardian_A02::OnGuardianDied",6;
+ if (GetCastleData("aldeg_cas02",17) == 1) guardian "aldeg_cas02",210,7,"Guardian Archer",1285,"Guardian_A02::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "aldeg_cas02","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
aldeg_cas03,206,32,0 script Guardian_A03 -1,{
OnAgitInit:
- if (GetCastleData("aldeg_cas03",10) == 1) guardian "aldeg_cas03",57,216,"Soldier Guardian",1287,"Guardian_A03::OnGuardianDied",0;
- if (GetCastleData("aldeg_cas03",11) == 1) guardian "aldeg_cas03",80,108,"Soldier Guardian",1287,"Guardian_A03::OnGuardianDied",1;
- if (GetCastleData("aldeg_cas03",12) == 1) guardian "aldeg_cas03",199,183,"Soldier Guardian",1287,"Guardian_A03::OnGuardianDied",2;
- if (GetCastleData("aldeg_cas03",13) == 1) guardian "aldeg_cas03",98,267,"Archer Guardian",1285,"Guardian_A03::OnGuardianDied",3;
- if (GetCastleData("aldeg_cas03",14) == 1) guardian "aldeg_cas03",91,88,"Archer Guardian",1285,"Guardian_A03::OnGuardianDied",4;
- if (GetCastleData("aldeg_cas03",15) == 1) guardian "aldeg_cas03",78,121,"Knight Guardian",1286,"Guardian_A03::OnGuardianDied",5;
- if (GetCastleData("aldeg_cas03",16) == 1) guardian "aldeg_cas03",200,164,"Knight Guardian",1286,"Guardian_A03::OnGuardianDied",6;
- if (GetCastleData("aldeg_cas03",17) == 1) guardian "aldeg_cas03",200,164,"Knight Guardian",1286,"Guardian_A03::OnGuardianDied",7;
+ killmonster "aldeg_cas03","Guardian_A03::OnGuardianDied";
+ if (GetCastleData("aldeg_cas03",10) == 1) guardian "aldeg_cas03",90,112,"Guardian Knight",1286,"Guardian_A03::OnGuardianDied",0;
+ if (GetCastleData("aldeg_cas03",11) == 1) guardian "aldeg_cas03",116,112,"Guardian Knight",1286,"Guardian_A03::OnGuardianDied",1;
+ if (GetCastleData("aldeg_cas03",12) == 1) guardian "aldeg_cas03",86,120,"Guardian Soldier",1287,"Guardian_A03::OnGuardianDied",2;
+ if (GetCastleData("aldeg_cas03",13) == 1) guardian "aldeg_cas03",116,76,"Guardian Soldier",1287,"Guardian_A03::OnGuardianDied",3;
+ if (GetCastleData("aldeg_cas03",14) == 1) guardian "aldeg_cas03",64,103,"Guardian Soldier",1287,"Guardian_A03::OnGuardianDied",4;
+ if (GetCastleData("aldeg_cas03",15) == 1) guardian "aldeg_cas03",212,160,"Guardian Archer",1285,"Guardian_A03::OnGuardianDied",5;
+ if (GetCastleData("aldeg_cas03",16) == 1) guardian "aldeg_cas03",195,151,"Guardian Archer",1285,"Guardian_A03::OnGuardianDied",6;
+ if (GetCastleData("aldeg_cas03",17) == 1) guardian "aldeg_cas03",110,217,"Guardian Archer",1285,"Guardian_A03::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "aldeg_cas03","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
aldeg_cas04,36,218,0 script Guardian_A04 -1,{
OnAgitInit:
- if (GetCastleData("aldeg_cas04",10) == 1) guardian "aldeg_cas04",181,33,"Soldier Guardian",1287,"Guardian_A04::OnGuardianDied",0;
- if (GetCastleData("aldeg_cas04",11) == 1) guardian "aldeg_cas04",50,68,"Soldier Guardian",1287,"Guardian_A04::OnGuardianDied",1;
- if (GetCastleData("aldeg_cas04",12) == 1) guardian "aldeg_cas04",50,119,"Soldier Guardian",1287,"Guardian_A04::OnGuardianDied",2;
- if (GetCastleData("aldeg_cas04",13) == 1) guardian "aldeg_cas04",169,49,"Archer Guardian",1285,"Guardian_A04::OnGuardianDied",3;
- if (GetCastleData("aldeg_cas04",14) == 1) guardian "aldeg_cas04",133,196,"Archer Guardian",1285,"Guardian_A04::OnGuardianDied",4;
- if (GetCastleData("aldeg_cas04",15) == 1) guardian "aldeg_cas04",177,87,"Knight Guardian",1286,"Guardian_A04::OnGuardianDied",5;
- if (GetCastleData("aldeg_cas04",16) == 1) guardian "aldeg_cas04",50,119,"Knight Guardian",1286,"Guardian_A04::OnGuardianDied",6;
- if (GetCastleData("aldeg_cas04",17) == 1) guardian "aldeg_cas04",133,196,"Knight Guardian",1286,"Guardian_A04::OnGuardianDied",7;
+ killmonster "aldeg_cas04","Guardian_A04::OnGuardianDied";
+ if (GetCastleData("aldeg_cas04",10) == 1) guardian "aldeg_cas04",187,100,"Guardian Archer",1285,"Guardian_A04::OnGuardianDied",0;
+ if (GetCastleData("aldeg_cas04",11) == 1) guardian "aldeg_cas04",192,42,"Guardian Archer",1285,"Guardian_A04::OnGuardianDied",1;
+ if (GetCastleData("aldeg_cas04",12) == 1) guardian "aldeg_cas04",148,88,"Guardian Archer",1285,"Guardian_A04::OnGuardianDied",2;
+ if (GetCastleData("aldeg_cas04",13) == 1) guardian "aldeg_cas04",145,209,"Guardian Soldier",1287,"Guardian_A04::OnGuardianDied",3;
+ if (GetCastleData("aldeg_cas04",14) == 1) guardian "aldeg_cas04",169,53,"Guardian Soldier",1287,"Guardian_A04::OnGuardianDied",4;
+ if (GetCastleData("aldeg_cas04",15) == 1) guardian "aldeg_cas04",198,77,"Guardian Soldier",1287,"Guardian_A04::OnGuardianDied",5;
+ if (GetCastleData("aldeg_cas04",16) == 1) guardian "aldeg_cas04",48,72,"Guardian Knight",1286,"Guardian_A04::OnGuardianDied",6;
+ if (GetCastleData("aldeg_cas04",17) == 1) guardian "aldeg_cas04",55,88,"Guardian Knight",1286,"Guardian_A04::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "aldeg_cas04","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
aldeg_cas05,28,102,0 script Guardian_A05 -1,{
OnAgitInit:
- if (GetCastleData("aldeg_cas05",10) == 1) guardian "aldeg_cas05",157,192,"Soldier Guardian",1287,"Guardian_A05::OnGuardianDied",0;
- if (GetCastleData("aldeg_cas05",11) == 1) guardian "aldeg_cas05",194,46,"Soldier Guardian",1287,"Guardian_A05::OnGuardianDied",1;
- if (GetCastleData("aldeg_cas05",12) == 1) guardian "aldeg_cas05",146,214,"Soldier Guardian",1287,"Guardian_A05::OnGuardianDied",2;
- if (GetCastleData("aldeg_cas05",13) == 1) guardian "aldeg_cas05",223,95,"Archer Guardian",1285,"Guardian_A05::OnGuardianDied",3;
- if (GetCastleData("aldeg_cas05",14) == 1) guardian "aldeg_cas05",131,223,"Archer Guardian",1285,"Guardian_A05::OnGuardianDied",4;
- if (GetCastleData("aldeg_cas05",15) == 1) guardian "aldeg_cas05",191,68,"Knight Guardian",1286,"Guardian_A05::OnGuardianDied",5;
- if (GetCastleData("aldeg_cas05",16) == 1) guardian "aldeg_cas05",160,194,"Knight Guardian",1286,"Guardian_A05::OnGuardianDied",6;
- if (GetCastleData("aldeg_cas05",17) == 1) guardian "aldeg_cas05",49,225,"Knight Guardian",1286,"Guardian_A05::OnGuardianDied",7;
+ killmonster "aldeg_cas05","Guardian_A05::OnGuardianDied";
+ if (GetCastleData("aldeg_cas05",10) == 1) guardian "aldeg_cas05",51,202,"Guardian Archer",1285,"Guardian_A05::OnGuardianDied",0;
+ if (GetCastleData("aldeg_cas05",11) == 1) guardian "aldeg_cas05",188,79,"Guardian Archer",1285,"Guardian_A05::OnGuardianDied",1;
+ if (GetCastleData("aldeg_cas05",12) == 1) guardian "aldeg_cas05",157,192,"Guardian Soldier",1287,"Guardian_A05::OnGuardianDied",2;
+ if (GetCastleData("aldeg_cas05",13) == 1) guardian "aldeg_cas05",157,74,"Guardian Soldier",1287,"Guardian_A05::OnGuardianDied",3;
+ if (GetCastleData("aldeg_cas05",14) == 1) guardian "aldeg_cas05",27,221,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",4;
+ if (GetCastleData("aldeg_cas05",15) == 1) guardian "aldeg_cas05",145,78,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",5;
+ if (GetCastleData("aldeg_cas05",16) == 1) guardian "aldeg_cas05",156,73,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",6;
+ if (GetCastleData("aldeg_cas05",17) == 1) guardian "aldeg_cas05",41,112,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "aldeg_cas05","A Guardian Has Fallen",17;
end;
}