diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-28 23:34:14 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-28 23:34:14 +0000 |
commit | 01123b8b2f4a77936f8c1358fb2f1c638e169343 (patch) | |
tree | 3a01e72c80fd91a5d45c79b0237bb8bf9e2deb94 /npc/guild/aldeg | |
parent | 80366703f21e3cbcdecf02863ceafe69f96c132b (diff) | |
download | hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.gz hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.bz2 hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.xz hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.zip |
* Rewrote the WoE 1.0 from the ground up nearly.
- Renamed the WoE Time setting NPC to "agit_controller.txt"
- System is set up to mimic Aegis, some parts are still lacking.
- Documentation on the new system is forth-coming.
- Updated Novice WoE scripts to keep them from breaking.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/aldeg')
-rw-r--r-- | npc/guild/aldeg/aldeg_dunsw.txt | 51 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_ev_agit.txt | 159 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_flags.txt | 276 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_guardians.txt | 115 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_kafras.txt | 62 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_managers.txt | 103 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_treas.txt | 173 |
7 files changed, 0 insertions, 939 deletions
diff --git a/npc/guild/aldeg/aldeg_dunsw.txt b/npc/guild/aldeg/aldeg_dunsw.txt deleted file mode 100644 index c6116b2df..000000000 --- a/npc/guild/aldeg/aldeg_dunsw.txt +++ /dev/null @@ -1,51 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Dungeon Switch for Al De Baran Guild Castles -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.2 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Switch that warps guild members to the guild dungeon -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//============================================================ - - - -// Castle 1 =============================================== -aldeg_cas01,212,181,0 script Switch#DunA01 111,{ - callfunc "F_GldDunSw","aldeg_cas01","02",32,122; - close; -} - - -// Castle 2 =============================================== -aldeg_cas02,194,136,0 script Switch#DunA02 111,{ - callfunc "F_GldDunSw","aldeg_cas02","02",79,32; - close; -} - - -// Castle 3 =============================================== -aldeg_cas03,200,177,0 script Switch#DunA03 111,{ - callfunc "F_GldDunSw","aldeg_cas03","02",165,38; - close; -} - - -// Castle 4 =============================================== -aldeg_cas04,38,76,0 script Switch#DunA04 111,{ - callfunc "F_GldDunSw","aldeg_cas04","02",160,148; - close; -} - - -// Castle 5 =============================================== - -aldeg_cas05,22,205,0 script Switch#DunA05 111,{ - callfunc "F_GldDunSw","aldeg_cas05","02",103,169; - close; -} diff --git a/npc/guild/aldeg/aldeg_ev_agit.txt b/npc/guild/aldeg/aldeg_ev_agit.txt deleted file mode 100644 index c27cbebdd..000000000 --- a/npc/guild/aldeg/aldeg_ev_agit.txt +++ /dev/null @@ -1,159 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - Al De Baran Guild Wars Events -//===== By: ================================================== -//= jAthena (1.0) -//= 1.1 by Akaru and ho|yAnge| -//===== Current Version: ===================================== -//= 1.5 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Event Triggers of Geffen Guild Wars -//===== Additional Comments: ================================= -//= v1.2 Now using functions for OnAgitStart and OnAgitBreak. [kobra_k88] -//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus] -//= 1.4 Small updated. Changed "EMPERIUM" to "Emperium". [L0ne_W0lf] -//= 1.5 Quick fix "emps not respawning if the emp breaker logs off". -//= (from r11630 bureport:369) [FlavioJS] -//============================================================ - - -// Castle 1 ================================================================ -aldeg_cas01,216,24,0 script Agit_A01 -1,{ -OnInterIfInitOnce: - GetCastleData "aldeg_cas01",0,"::OnRecvCastleA01"; - end; -OnRecvCastleA01: - RequestGuildInfo GetCastleData("aldeg_cas01",1); - end; -OnAgitStart: - callfunc "F_AgitStart","aldeg_cas01","A01",216,24; - end; -OnAgitBreak: - callfunc "F_AgitBreak","aldeg_cas01","A01"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","aldeg_cas01","A01"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "aldeg_cas01",GetCastleData("aldeg_cas01",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "aldeg_cas01",216,24,"Emperium",1288,1,"Agit_A01::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","aldeg_cas01","A01"; - end; -} - -// Castle 2 ================================================================ -aldeg_cas02,214,24,0 script Agit_A02 -1,{ -OnInterIfInitOnce: - GetCastleData "aldeg_cas02",0,"::OnRecvCastleA02"; - end; -OnRecvCastleA02: - RequestGuildInfo GetCastleData("aldeg_cas02",1); - end; -OnAgitStart: - callfunc "F_AgitStart","aldeg_cas02","A02",214,24; - end; -OnAgitBreak: - callfunc "F_AgitBreak","aldeg_cas02","A02"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","aldeg_cas02","A02"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "aldeg_cas02",GetCastleData("aldeg_cas02",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "aldeg_cas02",214,24,"Emperium",1288,1,"Agit_A02::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","aldeg_cas02","A02"; - end; -} - -// Castle 3 ================================================================ -aldeg_cas03,206,32,0 script Agit_A03 -1,{ -OnInterIfInitOnce: - GetCastleData "aldeg_cas03",0,"::OnRecvCastleA03"; - end; -OnRecvCastleA03: - RequestGuildInfo GetCastleData("aldeg_cas03",1); - end; -OnAgitStart: - callfunc "F_AgitStart","aldeg_cas03","A03",206,32; - end; -OnAgitBreak: - callfunc "F_AgitBreak","aldeg_cas03","A03"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","aldeg_cas03","A03"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "aldeg_cas03",GetCastleData("aldeg_cas03",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "aldeg_cas03",206,32,"Emperium",1288,1,"Agit_A03::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","aldeg_cas03","A03"; - end; -} - -// Castle 4 ================================================================ -aldeg_cas04,36,218,0 script Agit_A04 -1,{ -OnInterIfInitOnce: - GetCastleData "aldeg_cas04",0,"::OnRecvCastleA04"; - end; -OnRecvCastleA04: - RequestGuildInfo GetCastleData("aldeg_cas04",1); - end; -OnAgitStart: - callfunc "F_AgitStart","aldeg_cas04","A04",36,218; - end; -OnAgitBreak: - callfunc "F_AgitBreak","aldeg_cas04","A04"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","aldeg_cas04","A04"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "aldeg_cas04",GetCastleData("aldeg_cas04",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "aldeg_cas04",36,218,"Emperium",1288,1,"Agit_A04::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","aldeg_cas04","A04"; - end; -} - -// Castle 5 ================================================================ -aldeg_cas05,28,102,0 script Agit_A05 -1,{ -OnInterIfInitOnce: - GetCastleData "aldeg_cas05",0,"::OnRecvCastleA05"; - end; -OnRecvCastleA05: - RequestGuildInfo GetCastleData("aldeg_cas05",1); - end; -OnAgitStart: - callfunc "F_AgitStart","aldeg_cas05","A05",28,102; - end; -OnAgitBreak: - callfunc "F_AgitBreak","aldeg_cas05","A05"; - goto OnAgitEliminate; -OnGuildBreak: - callfunc "F_GuildBreak","aldeg_cas05","A05"; - end; -OnAgitEliminate: - sleep getbattleflag("gvg_eliminate_time"); - MapRespawnGuildID "aldeg_cas05",GetCastleData("aldeg_cas05",1),6; - sleep 6333-getbattleflag("gvg_eliminate_time");// wait for emp animation to end - Monster "aldeg_cas05",28,102,"Emperium",1288,1,"Agit_A05::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","aldeg_cas05","A05"; - end; -} diff --git a/npc/guild/aldeg/aldeg_flags.txt b/npc/guild/aldeg/aldeg_flags.txt deleted file mode 100644 index 5f0eafe26..000000000 --- a/npc/guild/aldeg/aldeg_flags.txt +++ /dev/null @@ -1,276 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Al De Baran Guild Flags -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.5 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= WoE flag scripts. Display guild emblems on flags. -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//= v1.3 Changed to iRO castle names [DracoRPG] -//= v1.4 Can now only flag in from outside the castle [Kayla] -//= V1.5 Town flags no longer show dialog, and fixed various flags. [L0ne__W0lf] -//============================================================ - - -//================================================================================// -// Castle 1 -//================================================================================// -aldebaran,152,97,4 script Neuschwanstein#a1-1::Neuschwanstein 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas01",218,170,0,0; - close; - -OnRecvCastleA01: - FlagEmblem GetCastleData("aldeg_cas01",1); - end; -} - -alde_gld,61,87,6 script Neuschwanstein#a1-2::Neuschwanstein2 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas01",218,170,1,1; - close; - -OnRecvCastleA01: - FlagEmblem GetCastleData("aldeg_cas01",1); - end; -} - -aldeg_cas01,30,248,4 script Neuschwanstein#a1-3::Neuschwanstein3 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas01",218,170,0,1; - close; - -OnRecvCastleA01: - FlagEmblem GetCastleData("aldeg_cas01",1); - end; -} - -// In Guild ============================================= -alde_gld,61,79,6 duplicate(Neuschwanstein2) Neuschwanstein#a1-4 722 -alde_gld,45,87,8 duplicate(Neuschwanstein2) Neuschwanstein#a1-5 722 -alde_gld,51,87,8 duplicate(Neuschwanstein2) Neuschwanstein#a1-6 722 -// In Castle ============================================ -aldeg_cas01,30,246,4 duplicate(Neuschwanstein3) Neuschwanstein#a1-7 722 -aldeg_cas01,37,248,4 duplicate(Neuschwanstein3) Neuschwanstein#a1-8 722 -aldeg_cas01,37,246,4 duplicate(Neuschwanstein3) Neuschwanstein#a1-9 722 -aldeg_cas01,95,80,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-10 722 -aldeg_cas01,95,59,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-11 722 -aldeg_cas01,62,75,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-12 722 -aldeg_cas01,70,75,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-13 722 -aldeg_cas01,74,75,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-14 722 -aldeg_cas01,62,64,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-15 722 -aldeg_cas01,66,64,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-16 722 -aldeg_cas01,70,64,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-17 722 -aldeg_cas01,74,64,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-18 722 -aldeg_cas01,203,150,4 duplicate(Neuschwanstein3) Neuschwanstein#a1-19 722 -aldeg_cas01,210,150,4 duplicate(Neuschwanstein3) Neuschwanstein#a1-20 722 -aldeg_cas01,66,75,2 duplicate(Neuschwanstein3) Neuschwanstein#a1-21 722 - - - - -//================================================================================// -// Castle 2 -//================================================================================// -aldebaran,149,97,4 script Hohenschwangau#a2-1::Hohenschwangau 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas02",85,72,0,0; - close; - -OnRecvCastleA02: - FlagEmblem GetCastleData("aldeg_cas02",1); - end; -} - -alde_gld,99,251,4 script Hohenschwangau#a2-2::Hohenschwangau2 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas02",85,72,1,1; - close; - -OnRecvCastleA02: - FlagEmblem GetCastleData("aldeg_cas02",1); - end; -} - -aldeg_cas02,82,71,2 script Hohenschwangau#a2-3::Hohenschwangau3 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas02",85,72,0,1; - close; - -OnRecvCastleA02: - FlagEmblem GetCastleData("aldeg_cas02",1); - end; -} - -// In Guild ================================================= -alde_gld,99,244,4 duplicate(Hohenschwangau2) Hohenschwangau#a2-4 722 -// In Castle ============================================= -aldeg_cas02,67,30,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-5 722 -aldeg_cas02,183,140,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-6 722 -aldeg_cas02,212,152,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-7 722 -aldeg_cas02,108,39,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-8 722 -aldeg_cas02,57,213,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-9 722 -aldeg_cas02,91,181,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-10 722 -aldeg_cas02,103,53,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-11 722 -aldeg_cas02,73,53,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-12 722 -aldeg_cas02,63,41,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-13 722 -aldeg_cas02,229,6,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-14 722 -aldeg_cas02,230,40,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-15 722 -aldeg_cas02,197,40,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-16 722 -aldeg_cas02,32,213,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-17 722 -aldeg_cas02,121,29,2 duplicate(Hohenschwangau3) Hohenschwangau#a2-18 722 - - - - -//================================================================================// -// Castle 3 -//================================================================================// -aldebaran,134,97,4 script Nuenberg#a3-1::Nuenberg 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas03",118,76,0,0; - close; - -OnRecvCastleA03: - FlagEmblem GetCastleData("aldeg_cas03",1); - end; -} - -alde_gld,138,82,0 script Nuenberg#a3-2::Nuenberg2 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas03",118,76,1,1; - close; - -OnRecvCastleA03: - FlagEmblem GetCastleData("aldeg_cas03",1); - end; -} - -aldeg_cas03,176,175,2 script Nuenberg#a3-3::Nuenberg3 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas03",118,76,0,1; - close; - -OnRecvCastleA03: - FlagEmblem GetCastleData("aldeg_cas03",1); - end; -} - -// In Guild =============================================== -alde_gld,146,82,0 duplicate(Nuenberg2) Nuenberg#a3-4 722 -// In Castle ============================================= -aldeg_cas03,77,115,2 duplicate(Nuenberg3) Nuenberg#a3-5 722 -aldeg_cas03,77,215,2 duplicate(Nuenberg3) Nuenberg#a3-6 722 -aldeg_cas03,112,107,2 duplicate(Nuenberg3) Nuenberg#a3-7 722 -aldeg_cas03,112,117,2 duplicate(Nuenberg3) Nuenberg#a3-8 722 -aldeg_cas03,69,71,2 duplicate(Nuenberg3) Nuenberg#a3-9 722 -aldeg_cas03,91,69,2 duplicate(Nuenberg3) Nuenberg#a3-10 722 -aldeg_cas03,108,60,2 duplicate(Nuenberg3) Nuenberg#a3-11 722 -aldeg_cas03,121,73,2 duplicate(Nuenberg3) Nuenberg#a3-12 722 -aldeg_cas03,121,73,2 duplicate(Nuenberg3) Nuenberg#a3-13 722 -aldeg_cas03,75,102,2 duplicate(Nuenberg3) Nuenberg#a3-14 722 -aldeg_cas03,199,169,2 duplicate(Nuenberg3) Nuenberg#a3-15 722 -aldeg_cas03,181,179,2 duplicate(Nuenberg3) Nuenberg#a3-16 722 -aldeg_cas03,192,44,2 duplicate(Nuenberg3) Nuenberg#a3-17 722 -aldeg_cas03,208,145,2 duplicate(Nuenberg3) Nuenberg#a3-18 722 -aldeg_cas03,207,75,2 duplicate(Nuenberg3) Nuenberg#a3-19 722 -aldeg_cas03,96,62,2 duplicate(Nuenberg3) Nuenberg#a3-20 722 - - - - -//================================================================================// -// Castle 4 -//================================================================================// -aldebaran,131,97,4 script Wuerzburg#a4-1::Wuerzburg 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas04",45,88,0,0; - close; - -OnRecvCastleA04: - FlagEmblem GetCastleData("aldeg_cas04",1); - end; -} - -alde_gld,239,246,2 script Wuerzburg#a4-2::Wuerzburg2 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas04",45,88,1,1; - close; - -OnRecvCastleA04: - FlagEmblem GetCastleData("aldeg_cas04",1); - end; -} - -aldeg_cas04,167,61,2 script Wuerzburg#a4-3::Wuerzburg3 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas04",45,88,0,1; - close; - -OnRecvCastleA04: - FlagEmblem GetCastleData("aldeg_cas04",1); - end; -} -// In Guild =============================================== -alde_gld,239,239,2 duplicate(Wuerzburg2) Wuerzburg#a4-4 722 -// In Castle ============================================= -aldeg_cas04,164,90,2 duplicate(Wuerzburg3) Wuerzburg#a4-5 722 -aldeg_cas04,129,193,2 duplicate(Wuerzburg3) Wuerzburg#a4-6 722 -aldeg_cas04,112,206,2 duplicate(Wuerzburg3) Wuerzburg#a4-7 722 -aldeg_cas04,113,212,2 duplicate(Wuerzburg3) Wuerzburg#a4-8 722 -aldeg_cas04,77,117,2 duplicate(Wuerzburg3) Wuerzburg#a4-9 722 -aldeg_cas04,186,42,2 duplicate(Wuerzburg3) Wuerzburg#a4-10 722 -aldeg_cas04,30,69,2 duplicate(Wuerzburg3) Wuerzburg#a4-11 722 -aldeg_cas04,55,97,2 duplicate(Wuerzburg3) Wuerzburg#a4-12 722 -aldeg_cas04,45,98,2 duplicate(Wuerzburg3) Wuerzburg#a4-13 722 -aldeg_cas04,33,116,2 duplicate(Wuerzburg3) Wuerzburg#a4-14 722 -aldeg_cas04,130,180,2 duplicate(Wuerzburg3) Wuerzburg#a4-15 722 -aldeg_cas04,129,193,2 duplicate(Wuerzburg3) Wuerzburg#a4-16 722 -aldeg_cas04,33,107,2 duplicate(Wuerzburg3) Wuerzburg#a4-17 722 -aldeg_cas04,133,220,2 duplicate(Wuerzburg3) Wuerzburg#a4-18 722 -aldeg_cas04,169,22,2 duplicate(Wuerzburg3) Wuerzburg#a4-19 722 -aldeg_cas04,169,15,2 duplicate(Wuerzburg3) Wuerzburg#a4-20 722 - - - - -//================================================================================// -// Castle 5 -//================================================================================// -aldebaran,128,97,4 script Rothenburg#a5-1::Rothenburg 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas05",31,190,0,0; - close; - -OnRecvCastleA05: - FlagEmblem GetCastleData("aldeg_cas05",1); - end; -} - -alde_gld,265,93,6 script Rothenburg#a5-2::Rothenburg2 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas05",31,190,1,1; - close; - -OnRecvCastleA05: - FlagEmblem GetCastleData("aldeg_cas05",1); - end; -} - -aldeg_cas05,170,85,2 script Rothenburg#a5-3::Rothenburg3 722,{ - callfunc "F_Flags","Al De Baran","aldeg_cas05",31,190,0,1; - close; - -OnRecvCastleA05: - FlagEmblem GetCastleData("aldeg_cas05",1); - end; -} - -// In Guild =============================================== -alde_gld,265,87,6 duplicate(Rothenburg2) Rothenburg#a5-4 722 -// In Castle ============================================= -aldeg_cas05,142,212,2 duplicate(Rothenburg3) Rothenburg#a5-5 722 -aldeg_cas05,149,196,2 duplicate(Rothenburg3) Rothenburg#a5-6 722 -aldeg_cas05,41,180,2 duplicate(Rothenburg3) Rothenburg#a5-7 722 -aldeg_cas05,38,201,2 duplicate(Rothenburg3) Rothenburg#a5-8 722 -aldeg_cas05,65,182,2 duplicate(Rothenburg3) Rothenburg#a5-9 722 -aldeg_cas05,65,205,2 duplicate(Rothenburg3) Rothenburg#a5-10 722 -aldeg_cas05,10,218,2 duplicate(Rothenburg3) Rothenburg#a5-11 722 -aldeg_cas05,164,201,2 duplicate(Rothenburg3) Rothenburg#a5-12 722 -aldeg_cas05,14,117,2 duplicate(Rothenburg3) Rothenburg#a5-14 722 -aldeg_cas05,10,225,2 duplicate(Rothenburg3) Rothenburg#a5-15 722 -aldeg_cas05,187,59,2 duplicate(Rothenburg3) Rothenburg#a5-16 722 -aldeg_cas05,154,51,2 duplicate(Rothenburg3) Rothenburg#a5-17 722 -aldeg_cas05,22,211,2 duplicate(Rothenburg3) Rothenburg#a5-18 722 -aldeg_cas05,150,202,2 duplicate(Rothenburg3) Rothenburg#a5-19 722 diff --git a/npc/guild/aldeg/aldeg_guardians.txt b/npc/guild/aldeg/aldeg_guardians.txt deleted file mode 100644 index 88271c597..000000000 --- a/npc/guild/aldeg/aldeg_guardians.txt +++ /dev/null @@ -1,115 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium - aldeg_cas guardians script -//===== By: ================================================== -//= holyAngelX (1.0) -//===== Current Version: ===================================== -//= 1.2a -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Re-spawns guardians on server start if they have been -//= purchased. Also announces when a guardian dies. -//===== Additional Comments: ================================= -//= 1.1 by joedukk -//= 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: - 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 - end; -} - -//------------------------------------------------------------------------------ -aldeg_cas02,214,24,0 script Guardian_A02 -1,{ -OnAgitInit: - 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 - end; -} - -//------------------------------------------------------------------------------ -aldeg_cas03,206,32,0 script Guardian_A03 -1,{ -OnAgitInit: - 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 - end; -} - -//------------------------------------------------------------------------------ -aldeg_cas04,36,218,0 script Guardian_A04 -1,{ -OnAgitInit: - 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 - end; -} - -//------------------------------------------------------------------------------ -aldeg_cas05,28,102,0 script Guardian_A05 -1,{ -OnAgitInit: - 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 - end; -} diff --git a/npc/guild/aldeg/aldeg_kafras.txt b/npc/guild/aldeg/aldeg_kafras.txt deleted file mode 100644 index d14fa17f7..000000000 --- a/npc/guild/aldeg/aldeg_kafras.txt +++ /dev/null @@ -1,62 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Kafras for Al De Baran Guild Castles -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.3 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Provides Kafra Staffs for guild members of Al De Baran Castles. -//= Used in conjuction with function F_Kafra. -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//= v1.3 Changed "Kafra Service" to "Kafra Staff" [L0ne_W0lf] -//============================================================ - - -// Castle 1 =============================================== -aldeg_cas01,218,170,0 script Kafra Staff#A01 117,{ - callfunc "F_GKafra", "aldeg_cas01", "Al De Baran"; - end; -OnRecvCastleA01: - if (GetCastleData("aldeg_cas01",9) < 1) disablenpc "Kafra Staff#A01"; - end; -} - -// Castle 2 =============================================== -aldeg_cas02,84,74,0 script Kafra Staff#A02 117,{ - callfunc "F_GKafra", "aldeg_cas02", "Al De Baran"; - end; -OnRecvCastleA02: - if (GetCastleData("aldeg_cas02",9) < 1) disablenpc "Kafra Staff#A02"; - end; -} - -// Castle 3 =============================================== -aldeg_cas03,118,76,0 script Kafra Staff#A03 117,{ - callfunc "F_GKafra", "aldeg_cas03", "Al De Baran"; - end; -OnRecvCastleA03: - if (GetCastleData("aldeg_cas03",9) < 1) disablenpc "Kafra Staff#A03"; - end; -} - -// Castle 4 =============================================== -aldeg_cas04,45,88,0 script Kafra Staff#A04 117,{ - callfunc "F_GKafra", "aldeg_cas04", "Al De Baran"; - end; -OnRecvCastleA04: - if (GetCastleData("aldeg_cas04",9) < 1) disablenpc "Kafra Staff#A04"; - end; -} - -// Castle 5 =============================================== -aldeg_cas05,31,190,0 script Kafra Staff#A05 117,{ - callfunc "F_GKafra", "aldeg_cas05", "Al De Baran"; - end; -OnRecvCastleA05: - if (GetCastleData("aldeg_cas05",9) < 1) disablenpc "Kafra Staff#A05"; - end; -} diff --git a/npc/guild/aldeg/aldeg_managers.txt b/npc/guild/aldeg/aldeg_managers.txt deleted file mode 100644 index e4fa507fa..000000000 --- a/npc/guild/aldeg/aldeg_managers.txt +++ /dev/null @@ -1,103 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Managers for Al De Baran Guild Castles -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.5a -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//= 1.3 Removed Duplicates [Silent] -//= 1.4 Updated Guardian positions and types. [L0ne_W0lf] -//= Updated manager names, and some additional info -//= 1.5 Corrected aldeg_cas02 treasure room coordinates. [L0ne_W0lf] -//= 1.5a Another bug fix in an NPC that magically broke. [L0ne_W0lf] -//============================================================ - -// Castle 1 ================================================================================== -aldeg_cas01,218,175,0 script Alfredo#alde1 55,{ - - if(callfunc("F_GldManager","Steward Alfredo","aldeg_cas01",113,223,"A01") == 0) close; - - if (@GDnum == 10) guardian "aldeg_cas01",17,218,"Guardian Soldier",1287,"Guardian_A01::OnGuardianDied",0; - if (@GDnum == 11) guardian "aldeg_cas01",39,208,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",1; - if (@GDnum == 12) guardian "aldeg_cas01",38,196,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",2; - if (@GDnum == 13) guardian "aldeg_cas01",45,228,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",3; - if (@GDnum == 14) guardian "aldeg_cas01",21,194,"Guardian Archer",1285,"Guardian_A01::OnGuardianDied",4; - if (@GDnum == 15) guardian "aldeg_cas01",218,24,"Guardian Knight",1286,"Guardian_A01::OnGuardianDied",5; - if (@GDnum == 16) guardian "aldeg_cas01",213,24,"Guardian Knight",1286,"Guardian_A01::OnGuardianDied",6; - if (@GDnum == 17) guardian "aldeg_cas01",73,70,"Guardian Knight",1286,"Guardian_A01::OnGuardianDied",7; - close; -} - - -// Castle 2 ================================================================================== -aldeg_cas02,78,74,0 script Chenchenlie#alde2 55,{ - - if(callfunc("F_GldManager","Steward Chenchenlie","aldeg_cas02",134,225,"A02") == 0) close; - - if (@GDnum == 10) guardian "aldeg_cas02",27,184,"Guardian Knight",1286,"Guardian_A02::OnGuardianDied",0; - if (@GDnum == 11) guardian "aldeg_cas02",88,43,"Guardian Knight",1286,"Guardian_A02::OnGuardianDied",1; - if (@GDnum == 12) guardian "aldeg_cas02",117,46,"Guardian Knight",1286,"Guardian_A02::OnGuardianDied",2; - if (@GDnum == 13) guardian "aldeg_cas02",60,202,"Guardian Soldier",1287,"Guardian_A02::OnGuardianDied",3; - if (@GDnum == 14) guardian "aldeg_cas02",51,183,"Guardian Soldier",1287,"Guardian_A02::OnGuardianDied",4; - if (@GDnum == 15) guardian "aldeg_cas02",21,177,"Guardian Archer",1285,"Guardian_A02::OnGuardianDied",5; - if (@GDnum == 16) guardian "aldeg_cas02",36,183,"Guardian Archer",1285,"Guardian_A02::OnGuardianDied",6; - if (@GDnum == 17) guardian "aldeg_cas02",210,7,"Guardian Archer",1285,"Guardian_A02::OnGuardianDied",7; - close; -} - - -// Castle 3 ================================================================================== -aldeg_cas03,110,118,0 script Nahzarf#alde3 55,{ - - if(callfunc("F_GldManager","Chen Lee","aldeg_cas03",229,267,"A03") == 0) close; - - if (@GDnum == 10) guardian "aldeg_cas03",90,112,"Guardian Knight",1286,"Guardian_A03::OnGuardianDied",0; - if (@GDnum == 11) guardian "aldeg_cas03",116,112,"Guardian Knight",1286,"Guardian_A03::OnGuardianDied",1; - if (@GDnum == 12) guardian "aldeg_cas03",86,120,"Guardian Soldier",1287,"Guardian_A03::OnGuardianDied",2; - if (@GDnum == 13) guardian "aldeg_cas03",116,76,"Guardian Soldier",1287,"Guardian_A03::OnGuardianDied",3; - if (@GDnum == 14) guardian "aldeg_cas03",64,103,"Guardian Soldier",1287,"Guardian_A03::OnGuardianDied",4; - if (@GDnum == 15) guardian "aldeg_cas03",212,160,"Guardian Archer",1285,"Guardian_A03::OnGuardianDied",5; - if (@GDnum == 16) guardian "aldeg_cas03",195,151,"Guardian Archer",1285,"Guardian_A03::OnGuardianDied",6; - if (@GDnum == 17) guardian "aldeg_cas03",110,217,"Guardian Archer",1285,"Guardian_A03::OnGuardianDied",7; - close; -} - - -// Castle 4 ================================================================================== -aldeg_cas04,67,116,0 script Brymhensen#alde4 55,{ - - if(callfunc("F_GldManager","Steward Brymhensen","aldeg_cas04",83,17,"A04") == 0) close; - - if (@GDnum == 10) guardian "aldeg_cas04",187,100,"Guardian Archer",1285,"Guardian_A04::OnGuardianDied",0; - if (@GDnum == 11) guardian "aldeg_cas04",192,42,"Guardian Archer",1285,"Guardian_A04::OnGuardianDied",1; - if (@GDnum == 12) guardian "aldeg_cas04",148,88,"Guardian Archer",1285,"Guardian_A04::OnGuardianDied",2; - if (@GDnum == 13) guardian "aldeg_cas04",145,209,"Guardian Soldier",1287,"Guardian_A04::OnGuardianDied",3; - if (@GDnum == 14) guardian "aldeg_cas04",169,53,"Guardian Soldier",1287,"Guardian_A04::OnGuardianDied",4; - if (@GDnum == 15) guardian "aldeg_cas04",198,77,"Guardian Soldier",1287,"Guardian_A04::OnGuardianDied",5; - if (@GDnum == 16) guardian "aldeg_cas04",48,72,"Guardian Knight",1286,"Guardian_A04::OnGuardianDied",6; - if (@GDnum == 17) guardian "aldeg_cas04",55,88,"Guardian Knight",1286,"Guardian_A04::OnGuardianDied",7; - close; -} - - -// Castle 5 ================================================================================== -aldeg_cas05,52,179,0 script Blemhemsen#alde5 55,{ - - if(callfunc("F_GldManager","Steward Blemhemsen","aldeg_cas05",64,8,"A05") == 0) close; - - if (@GDnum == 10) guardian "aldeg_cas05",51,202,"Guardian Archer",1285,"Guardian_A05::OnGuardianDied",0; - if (@GDnum == 11) guardian "aldeg_cas05",188,79,"Guardian Archer",1285,"Guardian_A05::OnGuardianDied",1; - if (@GDnum == 12) guardian "aldeg_cas05",157,192,"Guardian Soldier",1287,"Guardian_A05::OnGuardianDied",2; - if (@GDnum == 13) guardian "aldeg_cas05",157,74,"Guardian Soldier",1287,"Guardian_A05::OnGuardianDied",3; - if (@GDnum == 14) guardian "aldeg_cas05",27,221,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",4; - if (@GDnum == 15) guardian "aldeg_cas05",145,78,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",5; - if (@GDnum == 16) guardian "aldeg_cas05",156,73,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",6; - if (@GDnum == 17) guardian "aldeg_cas05",41,112,"Guardian Knight",1286,"Guardian_A05::OnGuardianDied",7; - close; -}
\ No newline at end of file diff --git a/npc/guild/aldeg/aldeg_treas.txt b/npc/guild/aldeg/aldeg_treas.txt deleted file mode 100644 index aa13900c4..000000000 --- a/npc/guild/aldeg/aldeg_treas.txt +++ /dev/null @@ -1,173 +0,0 @@ -//===== eAthena Script ======================================= -//= War of Emperium Treasure Rooms for Al De Baran Guild Castles -//===== By: ================================================== -//= jAthena - kalen (1.0) -//= 1.1 by Akaru, ho|yAnge|X, and Valaris -//===== Current Version: ===================================== -//= 1.3 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= v1.2 Optimized with functions.[kobra_k88] -//= 1.3 Removed announces when you open chests. [L0ne_W0lf] -//============================================================ - - -//<=============================== Castle 1 =================================>\\ - -// Treasure Spawn ----------------------- -aldeg_cas01,1,1,1 script Treasure_A01 -1,{ - -OnRecvCastleA01: - end; -OnInit: - if($boxNumA01 == 0) end; - set $@bxA01, $boxNumA01; - callfunc "F_GldTreas","aldeg_cas01","A01",$boxNumA01,$@bxA01,$@boxIdA01,1324,114,218,123,227,1; - end; - -OnDied: - set $boxNumA01, $boxNumA01 -1; - end; -} - -// Treasure Room Switch -------------------- -aldeg_cas01,123,223,0 script Switch#TresA01 111,{ - callfunc "F_GldTreasSw", "aldeg_cas01",218,176; - end; -} - -// Treasure Room Protection ------------------------------------------------ -aldeg_cas01,118,223,0 script ban_warp#11 -1,8,8,{ -OnTouch: - callfunc "F_TreasProtect", "aldeg_cas01", "aldebaran",143,112; - end; -} - -//<================================ Castle 2 ================================>\\ - -// Treasure Spawn ---------------------------- -aldeg_cas02,1,1,1 script Treasure_A02 -1,{ - -OnRecvCastleA02: - end; -OnInit: - if($boxNumA02 == 0) end; - set $@bxA02, $boxNumA02; - callfunc "F_GldTreas","aldeg_cas02","A02",$boxNumA02,$@bxA02,$@boxIdA02,1326,130,226,138,235,1; - end; - -OnDied: - set $boxNumA02, $boxNumA02 -1; - end; -} - -// Treasure Room Switch ---------------------- -aldeg_cas02,139,235,0 script Switch#TresA02 111,{ - callfunc "F_GldTreasSw", "aldeg_cas02",78,75; - end; -} - - -// Treasure Room Protection ------------------------------------------------ -aldeg_cas02,135,230,0 script ban_warp#12 -1,8,8,{ -OnTouch: - callfunc "F_TreasProtect", "aldeg_cas02", "aldebaran",143,112; - end; -} - -//<================================ Castle 3 ================================>\\ - -// Treasure Spawn --------------------------- -aldeg_cas03,1,1,1 script Treasure_A03 -1,{ - -OnRecvCastleA03: - end; -OnInit: - if($boxNumA03 == 0) end; - set $@bxA03, $boxNumA03; - callfunc "F_GldTreas","aldeg_cas03","A03",$boxNumA03,$@bxA03,$@boxIdA03,1328,220,264,229,273,1; - end; - -OnDied: - set $boxNumA03, $boxNumA03 -1; - end; -} - -// Treasure Room Switch ----------------------- -aldeg_cas03,229,267,0 script Switch#TresA03 111,{ - callfunc "F_GldTreasSw", "aldeg_cas03",110,119; - end; -} - -// Treasure Room Protection ------------------------------------------------ -aldeg_cas03,225,269,0 script ban_warp#13 -1,8,8,{ -OnTouch: - callfunc "F_TreasProtect", "aldeg_cas03", "aldebaran",143,112; - end; -} - -//<================================ Castle 4 ================================>\\ - -// Treasure Spawn ------------------------------- -aldeg_cas04,1,1,1 script Treasure_A04 -1,{ - -OnRecvCastleA04: - end; -OnInit: - if($boxNumA04 == 0) end; - set $@bxA04, $boxNumA04; - callfunc "F_GldTreas","aldeg_cas04","A04",$boxNumA04,$@bxA04,$@boxIdA04,1330,80,8,89,17,1; - end; - -OnDied: - set $boxNumA04, $boxNumA04 -1; - end; - -} -// Treasure Room Switch ------------------------- -aldeg_cas04,83,17,0 script Switch#TresA04 111,{ - callfunc "F_GldTreasSw", "aldeg_cas04",67,117; - end; -} - -// Treasure Room Protection ------------------------------------------------ -aldeg_cas04,84,13,0 script ban_warp#14 -1,8,8,{ -OnTouch: - callfunc "F_TreasProtect", "aldeg_cas04", "aldebaran",143,112; - end; -} - -//<================================ Castle 5 ================================>\\ - -// Treasure Spawn ------------------------------------ -aldeg_cas05,1,1,1 script Treasure_A05 -1,{ - -OnRecvCastleA05: - end; -OnInit: - if($boxNumA05 == 0) end; - set $@bxA05, $boxNumA05; - callfunc "F_GldTreas","aldeg_cas05","A05",$boxNumA05,$@bxA05,$@boxIdA05,1332,58,8,65,15,1; - end; - -OnDied: - set $boxNumA05, $boxNumA05 -1; - end; -} - -// Treasure Room Switch --------------------------------- -aldeg_cas05,64,8,0 script Switch#TresA05 111,{ - callfunc "F_GldTreasSw", "aldeg_cas05",51,179; - end; -} - - -// Treasure Room Protection ------------------------------------------------ -aldeg_cas05,62,12,0 script ban_warp#15 -1,8,8,{ -OnTouch: - callfunc "F_TreasProtect", "aldeg_cas05", "aldebaran",143,112; - end; -} |