diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 16:18:26 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-11-14 16:18:26 +0000 |
commit | 581475bc6416790765c498aa3d611f6868ffb64a (patch) | |
tree | 347ebf88eaa76e50488f23989d67cad834f3c9b1 /npc/guild/prtg | |
parent | 600362764ce348c5c9de96eababff2e08bb90d4a (diff) | |
download | hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.gz hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.bz2 hercules-581475bc6416790765c498aa3d611f6868ffb64a.tar.xz hercules-581475bc6416790765c498aa3d611f6868ffb64a.zip |
Fixed some file types
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@172 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/prtg')
-rw-r--r-- | npc/guild/prtg/prtg_dunsw.txt | 98 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_ev_agit.txt | 260 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_flags.txt | 350 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_guardians.txt | 216 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_kafras.txt | 132 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_managers.txt | 208 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_treas.txt | 288 |
7 files changed, 776 insertions, 776 deletions
diff --git a/npc/guild/prtg/prtg_dunsw.txt b/npc/guild/prtg/prtg_dunsw.txt index 8284147a7..cfe99c771 100644 --- a/npc/guild/prtg/prtg_dunsw.txt +++ b/npc/guild/prtg/prtg_dunsw.txt @@ -1,49 +1,49 @@ -//===== eAthena Script =======================================
-//= War of Emperium Dungeon Switch for Prontera 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 ================================================
-prtg_cas01.gat,94,200,0 script Switch#DunPt01 111,{
- callfunc "F_GldDunSw","prtg_cas01","03",28,251;
- close;
-}
-
-
-// Castle 2 ================================================
-prtg_cas02.gat,84,72,0 script Switch#DunPt02 111,{
- callfunc "F_GldDunSw","prtg_cas02","03",164,268;
- close;
-}
-
-
-// Castle 3 ================================================
-prtg_cas03.gat,5,70,0 script Switch#DunPt03 111,{
- callfunc "F_GldDunSw","prtg_cas03","03",164,179;
- close;
-}
-
-
-// Castle 4 ================================================
-prtg_cas04.gat,56,283,0 script Switch#DunPt04 111,{
- callfunc "F_GldDunSw","prtg_cas04","03",268,203;
- close;
-}
-
-
-// Castle 5 ================================================
-prtg_cas05.gat,212,94,0 script Switch#DunPt05 111,{
- callfunc "F_GldDunSw","prtg_cas05","03",199,28;
- close;
-}
+//===== eAthena Script ======================================= +//= War of Emperium Dungeon Switch for Prontera 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 ================================================ +prtg_cas01.gat,94,200,0 script Switch#DunPt01 111,{ + callfunc "F_GldDunSw","prtg_cas01","03",28,251; + close; +} + + +// Castle 2 ================================================ +prtg_cas02.gat,84,72,0 script Switch#DunPt02 111,{ + callfunc "F_GldDunSw","prtg_cas02","03",164,268; + close; +} + + +// Castle 3 ================================================ +prtg_cas03.gat,5,70,0 script Switch#DunPt03 111,{ + callfunc "F_GldDunSw","prtg_cas03","03",164,179; + close; +} + + +// Castle 4 ================================================ +prtg_cas04.gat,56,283,0 script Switch#DunPt04 111,{ + callfunc "F_GldDunSw","prtg_cas04","03",268,203; + close; +} + + +// Castle 5 ================================================ +prtg_cas05.gat,212,94,0 script Switch#DunPt05 111,{ + callfunc "F_GldDunSw","prtg_cas05","03",199,28; + close; +} diff --git a/npc/guild/prtg/prtg_ev_agit.txt b/npc/guild/prtg/prtg_ev_agit.txt index 73ac15119..6c83ad390 100644 --- a/npc/guild/prtg/prtg_ev_agit.txt +++ b/npc/guild/prtg/prtg_ev_agit.txt @@ -1,130 +1,130 @@ -//===== eAthena Script =======================================
-//= War of Emperium - Prontera Guild Wars Events
-//===== By: ==================================================
-//= jAthena (1.0)
-//= 1.1 by Akaru and ho|yAnge|
-//===== Current Version: =====================================
-//= 1.2
-//===== Compatible With: =====================================
-//= eAthena 0.1+; RO Episode 4+
-//===== Description: =========================================
-//= Event Triggers of Prontera Guild Wars
-//===== Additional Comments: =================================
-//= v1.2 Now using functions for OnAgitStart and OnAgitBreak. [kobra_k88]
-//============================================================
-
-
-// Castle 1 ================================================================
-prtg_cas01.gat,197,197,0 script Agit_Pt01 -1,{
-OnInterIfInit:
- GetCastleData "prtg_cas01.gat",0,"::OnRecvCastlePt01";
- end;
-OnRecvCastlePt01:
- RequestGuildInfo GetCastleData("prtg_cas01.gat",1);
- end;
-OnAgitStart:
- callfunc "F_AgitStart","prtg_cas01","Pt01",197,197;
- end;
-OnAgitBreak:
- callfunc "F_AgitBreak","prtg_cas01","Pt01";
- end;
-OnAgitEliminate:
- MapRespawnGuildID "prtg_cas01.gat",GetCastleData("prtg_cas01.gat",1),6;
- Monster "prtg_cas01.gat",197,197,"EMPERIUM",1288,1,"Agit_Pt01::OnAgitBreak";
- end;
-OnAgitEnd:
- callfunc "F_AgitEnd","prtg_cas01","Pt01";
- end;
-}
-
-// Castle 2 ================================================================
-prtg_cas02.gat,158,174,0 script Agit_Pt02 -1,{
-OnInterIfInit:
- GetCastleData "prtg_cas02.gat",0,"::OnRecvCastlePt02";
- end;
-OnRecvCastlePt02:
- RequestGuildInfo GetCastleData("prtg_cas02.gat",1);
- end;
-OnAgitStart:
- callfunc "F_AgitStart","prtg_cas02","Pt02",158,174;
- end;
-OnAgitBreak:
- callfunc "F_AgitBreak","prtg_cas02","Pt02";
- end;
-OnAgitEliminate:
- MapRespawnGuildID "prtg_cas02.gat",GetCastleData("prtg_cas02.gat",1),6;
- Monster "prtg_cas02.gat",158,174,"EMPERIUM",1288,1,"Agit_Pt02::OnAgitBreak";
- end;
-OnAgitEnd:
- callfunc "F_AgitEnd","prtg_cas02","Pt02";
- end;
-}
-
-// Castle 3 ================================================================
-prtg_cas03.gat,17,221,0 script Agit_Pt03 -1,{
-OnInterIfInit:
- GetCastleData "prtg_cas03.gat",0,"::OnRecvCastlePt03";
- end;
-OnRecvCastlePt03:
- RequestGuildInfo GetCastleData("prtg_cas03.gat",1);
- end;
-OnAgitStart:
- callfunc "F_AgitStart","prtg_cas03","Pt03",17,221;
- end;
-OnAgitBreak:
- callfunc "F_AgitBreak","prtg_cas03","Pt03";
- end;
-OnAgitEliminate:
- MapRespawnGuildID "prtg_cas03.gat",GetCastleData("prtg_cas03.gat",1),6;
- Monster "prtg_cas03.gat",17,221,"EMPERIUM",1288,1,"Agit_Pt03::OnAgitBreak";
- end;
-OnAgitEnd:
- callfunc "F_AgitEnd","prtg_cas03","Pt03";
- end;
-}
-
-// Castle 4 ================================================================
-prtg_cas04.gat,292,14,0 script Agit_Pt04 -1,{
-OnInterIfInit:
- GetCastleData "prtg_cas04.gat",0,"::OnRecvCastlePt04";
- end;
-OnRecvCastlePt04:
- RequestGuildInfo GetCastleData("prtg_cas04.gat",1);
- end;
-OnAgitStart:
- callfunc "F_AgitStart","prtg_cas04","Pt04",292,14;
- end;
-OnAgitBreak:
- callfunc "F_AgitBreak","prtg_cas04","Pt04";
- end;
-OnAgitEliminate:
- MapRespawnGuildID "prtg_cas04.gat",GetCastleData("prtg_cas04.gat",1),6;
- Monster "prtg_cas04.gat",292,14,"EMPERIUM",1288,1,"Agit_Pt04::OnAgitBreak";
- end;
-OnAgitEnd:
- callfunc "F_AgitEnd","prtg_cas04","Pt04";
- end;
-}
-
-// Castle 5 ================================================================
-prtg_cas05.gat,266,266,0 script Agit_Pt05 -1,{
-OnInterIfInit:
- GetCastleData "prtg_cas05.gat",0,"::OnRecvCastlePt05";
- end;
-OnRecvCastlePt05:
- RequestGuildInfo GetCastleData("prtg_cas05.gat",1);
- end;
-OnAgitStart:
- callfunc "F_AgitStart","prtg_cas05","Pt05",266,266;
- end;
-OnAgitBreak:
- callfunc "F_AgitBreak","prtg_cas05","Pt05";
- end;
-OnAgitEliminate:
- MapRespawnGuildID "prtg_cas05.gat",GetCastleData("prtg_cas05.gat",1),6;
- Monster "prtg_cas05.gat",266,266,"EMPERIUM",1288,1,"Agit_Pt05::OnAgitBreak";
- end;
-OnAgitEnd:
- callfunc "F_AgitEnd","prtg_cas05","Pt05";
- end;
-}
+//===== eAthena Script ======================================= +//= War of Emperium - Prontera Guild Wars Events +//===== By: ================================================== +//= jAthena (1.0) +//= 1.1 by Akaru and ho|yAnge| +//===== Current Version: ===================================== +//= 1.2 +//===== Compatible With: ===================================== +//= eAthena 0.1+; RO Episode 4+ +//===== Description: ========================================= +//= Event Triggers of Prontera Guild Wars +//===== Additional Comments: ================================= +//= v1.2 Now using functions for OnAgitStart and OnAgitBreak. [kobra_k88] +//============================================================ + + +// Castle 1 ================================================================ +prtg_cas01.gat,197,197,0 script Agit_Pt01 -1,{ +OnInterIfInit: + GetCastleData "prtg_cas01.gat",0,"::OnRecvCastlePt01"; + end; +OnRecvCastlePt01: + RequestGuildInfo GetCastleData("prtg_cas01.gat",1); + end; +OnAgitStart: + callfunc "F_AgitStart","prtg_cas01","Pt01",197,197; + end; +OnAgitBreak: + callfunc "F_AgitBreak","prtg_cas01","Pt01"; + end; +OnAgitEliminate: + MapRespawnGuildID "prtg_cas01.gat",GetCastleData("prtg_cas01.gat",1),6; + Monster "prtg_cas01.gat",197,197,"EMPERIUM",1288,1,"Agit_Pt01::OnAgitBreak"; + end; +OnAgitEnd: + callfunc "F_AgitEnd","prtg_cas01","Pt01"; + end; +} + +// Castle 2 ================================================================ +prtg_cas02.gat,158,174,0 script Agit_Pt02 -1,{ +OnInterIfInit: + GetCastleData "prtg_cas02.gat",0,"::OnRecvCastlePt02"; + end; +OnRecvCastlePt02: + RequestGuildInfo GetCastleData("prtg_cas02.gat",1); + end; +OnAgitStart: + callfunc "F_AgitStart","prtg_cas02","Pt02",158,174; + end; +OnAgitBreak: + callfunc "F_AgitBreak","prtg_cas02","Pt02"; + end; +OnAgitEliminate: + MapRespawnGuildID "prtg_cas02.gat",GetCastleData("prtg_cas02.gat",1),6; + Monster "prtg_cas02.gat",158,174,"EMPERIUM",1288,1,"Agit_Pt02::OnAgitBreak"; + end; +OnAgitEnd: + callfunc "F_AgitEnd","prtg_cas02","Pt02"; + end; +} + +// Castle 3 ================================================================ +prtg_cas03.gat,17,221,0 script Agit_Pt03 -1,{ +OnInterIfInit: + GetCastleData "prtg_cas03.gat",0,"::OnRecvCastlePt03"; + end; +OnRecvCastlePt03: + RequestGuildInfo GetCastleData("prtg_cas03.gat",1); + end; +OnAgitStart: + callfunc "F_AgitStart","prtg_cas03","Pt03",17,221; + end; +OnAgitBreak: + callfunc "F_AgitBreak","prtg_cas03","Pt03"; + end; +OnAgitEliminate: + MapRespawnGuildID "prtg_cas03.gat",GetCastleData("prtg_cas03.gat",1),6; + Monster "prtg_cas03.gat",17,221,"EMPERIUM",1288,1,"Agit_Pt03::OnAgitBreak"; + end; +OnAgitEnd: + callfunc "F_AgitEnd","prtg_cas03","Pt03"; + end; +} + +// Castle 4 ================================================================ +prtg_cas04.gat,292,14,0 script Agit_Pt04 -1,{ +OnInterIfInit: + GetCastleData "prtg_cas04.gat",0,"::OnRecvCastlePt04"; + end; +OnRecvCastlePt04: + RequestGuildInfo GetCastleData("prtg_cas04.gat",1); + end; +OnAgitStart: + callfunc "F_AgitStart","prtg_cas04","Pt04",292,14; + end; +OnAgitBreak: + callfunc "F_AgitBreak","prtg_cas04","Pt04"; + end; +OnAgitEliminate: + MapRespawnGuildID "prtg_cas04.gat",GetCastleData("prtg_cas04.gat",1),6; + Monster "prtg_cas04.gat",292,14,"EMPERIUM",1288,1,"Agit_Pt04::OnAgitBreak"; + end; +OnAgitEnd: + callfunc "F_AgitEnd","prtg_cas04","Pt04"; + end; +} + +// Castle 5 ================================================================ +prtg_cas05.gat,266,266,0 script Agit_Pt05 -1,{ +OnInterIfInit: + GetCastleData "prtg_cas05.gat",0,"::OnRecvCastlePt05"; + end; +OnRecvCastlePt05: + RequestGuildInfo GetCastleData("prtg_cas05.gat",1); + end; +OnAgitStart: + callfunc "F_AgitStart","prtg_cas05","Pt05",266,266; + end; +OnAgitBreak: + callfunc "F_AgitBreak","prtg_cas05","Pt05"; + end; +OnAgitEliminate: + MapRespawnGuildID "prtg_cas05.gat",GetCastleData("prtg_cas05.gat",1),6; + Monster "prtg_cas05.gat",266,266,"EMPERIUM",1288,1,"Agit_Pt05::OnAgitBreak"; + end; +OnAgitEnd: + callfunc "F_AgitEnd","prtg_cas05","Pt05"; + end; +} diff --git a/npc/guild/prtg/prtg_flags.txt b/npc/guild/prtg/prtg_flags.txt index 653e69333..c43d2b2ec 100644 --- a/npc/guild/prtg/prtg_flags.txt +++ b/npc/guild/prtg/prtg_flags.txt @@ -1,175 +1,175 @@ -//===== eAthena Script =======================================
-//= War of Emperium Prontera Guild Flags
-//===== 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: =========================================
-//= WoE flag scripts. Displays guild emblems on flags.
-//===== Additional Comments: =================================
-//= v1.2 Optimized with functions.[kobra_k88]
-//============================================================
-
-
-//================================================================================//
-// Castle 1
-//================================================================================//
-prontera.gat,155,190,4 script Creamhilt#p1-1::Creamhilt 722,
-{
- callfunc "F_Flags","Prontera","prtg_cas01",97,174;
- close;
-
-OnRecvCastlePt01:
- FlagEmblem GetCastleData("prtg_cas01.gat",1);
- end;
-}
-// In Guild ===========================================
-prt_gld.gat,131,60,6 duplicate(Creamhilt) Creamhilt#p1-2 722
-prt_gld.gat,138,68,6 duplicate(Creamhilt) Creamhilt#p1-3 722
-prt_gld.gat,138,60,6 duplicate(Creamhilt) Creamhilt#p1-4 722
-prt_gld.gat,135,60,6 duplicate(Creamhilt) Creamhilt#p1-5 722
-prt_gld.gat,160,210,4 duplicate(Creamhilt) Creamhilt#p1-6 722
-// In Castle =============================================
-prtg_cas01.gat,58,56,4 duplicate(Creamhilt) Creamhilt#p1-7 722
-prtg_cas01.gat,64,56,4 duplicate(Creamhilt) Creamhilt#p1-8 722
-prtg_cas01.gat,76,32,4 duplicate(Creamhilt) Creamhilt#p1-9 722
-prtg_cas01.gat,84,32,4 duplicate(Creamhilt) Creamhilt#p1-10 722
-prtg_cas01.gat,94,39,4 duplicate(Creamhilt) Creamhilt#p1-11 722
-prtg_cas01.gat,94,24,4 duplicate(Creamhilt) Creamhilt#p1-12 722
-prtg_cas01.gat,73,14,4 duplicate(Creamhilt) Creamhilt#p1-13 722
-prtg_cas01.gat,73,6,4 duplicate(Creamhilt) Creamhilt#p1-14 722
-prtg_cas01.gat,55,46,4 duplicate(Creamhilt) Creamhilt#p1-15 722
-prtg_cas01.gat,45,46,4 duplicate(Creamhilt) Creamhilt#p1-16 722
-
-
-
-//================================================================================//
-// Castle 2
-//================================================================================//
-prontera.gat,146,194,3 script Sbanhealt#p2-1::Sbanhealt 722,
-{
- callfunc "F_Flags","Prontera","prtg_cas02",71,36;
- close;
-
-OnRecvCastlePt02:
- FlagEmblem GetCastleData("prtg_cas02.gat",1);
- end;
-}
-// In Guild ===========================================
-prt_gld.gat,153,213,3 duplicate(Sbanhealt) Sbanhealt#p2-2 722
-prt_gld.gat,244,126,8 duplicate(Sbanhealt) Sbanhealt#p2-3 722
-prt_gld.gat,244,128,8 duplicate(Sbanhealt) Sbanhealt#p2-4 722
-prt_gld.gat,236,126,8 duplicate(Sbanhealt) Sbanhealt#p2-5 722
-prt_gld.gat,236,128,8 duplicate(Sbanhealt) Sbanhealt#p2-6 722
-// In Castle =============================================
-prtg_cas02.gat,40,227,4 duplicate(Sbanhealt) Sbanhealt#p2-7 722
-prtg_cas02.gat,46,227,4 duplicate(Sbanhealt) Sbanhealt#p2-8 722
-prtg_cas02.gat,11,219,4 duplicate(Sbanhealt) Sbanhealt#p2-9 722
-prtg_cas02.gat,11,214,4 duplicate(Sbanhealt) Sbanhealt#p2-10 722
-prtg_cas02.gat,20,219,4 duplicate(Sbanhealt) Sbanhealt#p2-11 722
-prtg_cas02.gat,20,214,4 duplicate(Sbanhealt) Sbanhealt#p2-12 722
-prtg_cas02.gat,79,227,8 duplicate(Sbanhealt) Sbanhealt#p2-13 722
-prtg_cas02.gat,70,227,8 duplicate(Sbanhealt) Sbanhealt#p2-14 722
-prtg_cas02.gat,38,189,8 duplicate(Sbanhealt) Sbanhealt#p2-15 722
-prtg_cas02.gat,34,189,8 duplicate(Sbanhealt) Sbanhealt#p2-16 722
-prtg_cas02.gat,153,161,4 duplicate(Sbanhealt) Sbanhealt#p2-17 722
-prtg_cas02.gat,162,161,4 duplicate(Sbanhealt) Sbanhealt#p2-18 722
-
-
-
-
-//================================================================================//
-// Castle 3
-//================================================================================//
-prontera.gat,143,203,2 script Lazrigees#p3-1::Lazrigees 722,
-{
- callfunc "F_Flags","Prontera","prtg_cas03",45,99;
- close;
-
-OnRecvCastlePt03:
- FlagEmblem GetCastleData("prtg_cas03.gat",1);
- end;
-}
-// In Guild ===========================================
-prt_gld.gat,150,220,2 duplicate(Lazrigees) Lazrigees#p3-2 722
-prt_gld.gat,147,140,4 duplicate(Lazrigees) Lazrigees#p3-3 722
-prt_gld.gat,147,136,4 duplicate(Lazrigees) Lazrigees#p3-4 722
-prt_gld.gat,158,140,4 duplicate(Lazrigees) Lazrigees#p3-5 722
-prt_gld.gat,158,136,4 duplicate(Lazrigees) Lazrigees#p3-6 722
-// In Castle =============================================
-prtg_cas03.gat,168,28,4 duplicate(Lazrigees) Lazrigees#p3-7 722
-prtg_cas03.gat,182,28,4 duplicate(Lazrigees) Lazrigees#p3-8 722
-prtg_cas03.gat,43,50,4 duplicate(Lazrigees) Lazrigees#p3-9 722
-prtg_cas03.gat,48,50,4 duplicate(Lazrigees) Lazrigees#p3-10 722
-prtg_cas03.gat,43,58,4 duplicate(Lazrigees) Lazrigees#p3-11 722
-prtg_cas03.gat,48,58,4 duplicate(Lazrigees) Lazrigees#p3-12 722
-prtg_cas03.gat,158,210,4 duplicate(Lazrigees) Lazrigees#p3-13 722
-prtg_cas03.gat,169,210,4 duplicate(Lazrigees) Lazrigees#p3-14 722
-prtg_cas03.gat,162,201,4 duplicate(Lazrigees) Lazrigees#p3-15 722
-prtg_cas03.gat,165,201,4 duplicate(Lazrigees) Lazrigees#p3-16 722
-
-
-
-//================================================================================//
-// Castle 4
-//================================================================================//
-prontera.gat,167,203,6 script Squagul#p4-1::Squagul 722,
-{
- callfunc "F_Flags","Prontera","prtg_cas04",259,265;
- close;
-
-OnRecvCastlePt04:
- FlagEmblem GetCastleData("prtg_cas04.gat",1);
- end;
-}
-// In Guild ===========================================
-prt_gld.gat,169,220,6 duplicate(Squagul) Squagul#p4-2 722
-prt_gld.gat,120,243,6 duplicate(Squagul) Squagul#p4-3 722
-prt_gld.gat,120,236,6 duplicate(Squagul) Squagul#p4-4 722
-prt_gld.gat,122,243,6 duplicate(Squagul) Squagul#p4-5 722
-prt_gld.gat,122,246,6 duplicate(Squagul) Squagul#p4-6 722
-// In Castle =============================================
-prtg_cas04.gat,82,29,4 duplicate(Squagul) Squagul#p4-7 722
-prtg_cas04.gat,75,29,4 duplicate(Squagul) Squagul#p4-8 722
-prtg_cas04.gat,75,27,4 duplicate(Squagul) Squagul#p4-9 722
-prtg_cas04.gat,82,27,4 duplicate(Squagul) Squagul#p4-10 722
-prtg_cas04.gat,59,29,4 duplicate(Squagul) Squagul#p4-11 722
-prtg_cas04.gat,67,29,4 duplicate(Squagul) Squagul#p4-12 722
-prtg_cas04.gat,258,25,4 duplicate(Squagul) Squagul#p4-13 722
-prtg_cas04.gat,258,20,4 duplicate(Squagul) Squagul#p4-14 722
-prtg_cas04.gat,263,20,4 duplicate(Squagul) Squagul#p4-15 722
-prtg_cas04.gat,263,27,4 duplicate(Squagul) Squagul#p4-16 722
-
-
-
-
-//================================================================================//
-// Castle 5
-//================================================================================//
-prontera.gat,165,194,5 script Guindull#p5-1::Guindull 722,
-{
- callfunc "F_Flags","Prontera","prtg_cas05",34,30;
- close;
-
-OnRecvCastlePt05:
- FlagEmblem GetCastleData("prtg_cas05.gat",1);
- end;
-}
-// In Guild ===========================================
-prt_gld.gat,167,213,5 duplicate(Guindull) Guindull#p5-2 722
-prt_gld.gat,199,243,2 duplicate(Guindull) Guindull#p5-3 722
-prt_gld.gat,199,236,2 duplicate(Guindull) Guindull#p5-4 722
-prt_gld.gat,197,243,2 duplicate(Guindull) Guindull#p5-5 722
-prt_gld.gat,197,236,2 duplicate(Guindull) Guindull#p5-6 722
-// In Castle =============================================
-prtg_cas05.gat,19,247,4 duplicate(Guindull) Guindull#p5-7 722
-prtg_cas05.gat,19,243,4 duplicate(Guindull) Guindull#p5-8 722
-prtg_cas05.gat,26,247,4 duplicate(Guindull) Guindull#p5-9 722
-prtg_cas05.gat,26,243,4 duplicate(Guindull) Guindull#p5-10 722
-prtg_cas05.gat,249,289,4 duplicate(Guindull) Guindull#p5-11 722
-prtg_cas05.gat,256,289,4 duplicate(Guindull) Guindull#p5-12 722
-prtg_cas05.gat,253,271,4 duplicate(Guindull) Guindull#p5-13 722
-prtg_cas05.gat,273,257,4 duplicate(Guindull) Guindull#p5-14 722
+//===== eAthena Script ======================================= +//= War of Emperium Prontera Guild Flags +//===== 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: ========================================= +//= WoE flag scripts. Displays guild emblems on flags. +//===== Additional Comments: ================================= +//= v1.2 Optimized with functions.[kobra_k88] +//============================================================ + + +//================================================================================// +// Castle 1 +//================================================================================// +prontera.gat,155,190,4 script Creamhilt#p1-1::Creamhilt 722, +{ + callfunc "F_Flags","Prontera","prtg_cas01",97,174; + close; + +OnRecvCastlePt01: + FlagEmblem GetCastleData("prtg_cas01.gat",1); + end; +} +// In Guild =========================================== +prt_gld.gat,131,60,6 duplicate(Creamhilt) Creamhilt#p1-2 722 +prt_gld.gat,138,68,6 duplicate(Creamhilt) Creamhilt#p1-3 722 +prt_gld.gat,138,60,6 duplicate(Creamhilt) Creamhilt#p1-4 722 +prt_gld.gat,135,60,6 duplicate(Creamhilt) Creamhilt#p1-5 722 +prt_gld.gat,160,210,4 duplicate(Creamhilt) Creamhilt#p1-6 722 +// In Castle ============================================= +prtg_cas01.gat,58,56,4 duplicate(Creamhilt) Creamhilt#p1-7 722 +prtg_cas01.gat,64,56,4 duplicate(Creamhilt) Creamhilt#p1-8 722 +prtg_cas01.gat,76,32,4 duplicate(Creamhilt) Creamhilt#p1-9 722 +prtg_cas01.gat,84,32,4 duplicate(Creamhilt) Creamhilt#p1-10 722 +prtg_cas01.gat,94,39,4 duplicate(Creamhilt) Creamhilt#p1-11 722 +prtg_cas01.gat,94,24,4 duplicate(Creamhilt) Creamhilt#p1-12 722 +prtg_cas01.gat,73,14,4 duplicate(Creamhilt) Creamhilt#p1-13 722 +prtg_cas01.gat,73,6,4 duplicate(Creamhilt) Creamhilt#p1-14 722 +prtg_cas01.gat,55,46,4 duplicate(Creamhilt) Creamhilt#p1-15 722 +prtg_cas01.gat,45,46,4 duplicate(Creamhilt) Creamhilt#p1-16 722 + + + +//================================================================================// +// Castle 2 +//================================================================================// +prontera.gat,146,194,3 script Sbanhealt#p2-1::Sbanhealt 722, +{ + callfunc "F_Flags","Prontera","prtg_cas02",71,36; + close; + +OnRecvCastlePt02: + FlagEmblem GetCastleData("prtg_cas02.gat",1); + end; +} +// In Guild =========================================== +prt_gld.gat,153,213,3 duplicate(Sbanhealt) Sbanhealt#p2-2 722 +prt_gld.gat,244,126,8 duplicate(Sbanhealt) Sbanhealt#p2-3 722 +prt_gld.gat,244,128,8 duplicate(Sbanhealt) Sbanhealt#p2-4 722 +prt_gld.gat,236,126,8 duplicate(Sbanhealt) Sbanhealt#p2-5 722 +prt_gld.gat,236,128,8 duplicate(Sbanhealt) Sbanhealt#p2-6 722 +// In Castle ============================================= +prtg_cas02.gat,40,227,4 duplicate(Sbanhealt) Sbanhealt#p2-7 722 +prtg_cas02.gat,46,227,4 duplicate(Sbanhealt) Sbanhealt#p2-8 722 +prtg_cas02.gat,11,219,4 duplicate(Sbanhealt) Sbanhealt#p2-9 722 +prtg_cas02.gat,11,214,4 duplicate(Sbanhealt) Sbanhealt#p2-10 722 +prtg_cas02.gat,20,219,4 duplicate(Sbanhealt) Sbanhealt#p2-11 722 +prtg_cas02.gat,20,214,4 duplicate(Sbanhealt) Sbanhealt#p2-12 722 +prtg_cas02.gat,79,227,8 duplicate(Sbanhealt) Sbanhealt#p2-13 722 +prtg_cas02.gat,70,227,8 duplicate(Sbanhealt) Sbanhealt#p2-14 722 +prtg_cas02.gat,38,189,8 duplicate(Sbanhealt) Sbanhealt#p2-15 722 +prtg_cas02.gat,34,189,8 duplicate(Sbanhealt) Sbanhealt#p2-16 722 +prtg_cas02.gat,153,161,4 duplicate(Sbanhealt) Sbanhealt#p2-17 722 +prtg_cas02.gat,162,161,4 duplicate(Sbanhealt) Sbanhealt#p2-18 722 + + + + +//================================================================================// +// Castle 3 +//================================================================================// +prontera.gat,143,203,2 script Lazrigees#p3-1::Lazrigees 722, +{ + callfunc "F_Flags","Prontera","prtg_cas03",45,99; + close; + +OnRecvCastlePt03: + FlagEmblem GetCastleData("prtg_cas03.gat",1); + end; +} +// In Guild =========================================== +prt_gld.gat,150,220,2 duplicate(Lazrigees) Lazrigees#p3-2 722 +prt_gld.gat,147,140,4 duplicate(Lazrigees) Lazrigees#p3-3 722 +prt_gld.gat,147,136,4 duplicate(Lazrigees) Lazrigees#p3-4 722 +prt_gld.gat,158,140,4 duplicate(Lazrigees) Lazrigees#p3-5 722 +prt_gld.gat,158,136,4 duplicate(Lazrigees) Lazrigees#p3-6 722 +// In Castle ============================================= +prtg_cas03.gat,168,28,4 duplicate(Lazrigees) Lazrigees#p3-7 722 +prtg_cas03.gat,182,28,4 duplicate(Lazrigees) Lazrigees#p3-8 722 +prtg_cas03.gat,43,50,4 duplicate(Lazrigees) Lazrigees#p3-9 722 +prtg_cas03.gat,48,50,4 duplicate(Lazrigees) Lazrigees#p3-10 722 +prtg_cas03.gat,43,58,4 duplicate(Lazrigees) Lazrigees#p3-11 722 +prtg_cas03.gat,48,58,4 duplicate(Lazrigees) Lazrigees#p3-12 722 +prtg_cas03.gat,158,210,4 duplicate(Lazrigees) Lazrigees#p3-13 722 +prtg_cas03.gat,169,210,4 duplicate(Lazrigees) Lazrigees#p3-14 722 +prtg_cas03.gat,162,201,4 duplicate(Lazrigees) Lazrigees#p3-15 722 +prtg_cas03.gat,165,201,4 duplicate(Lazrigees) Lazrigees#p3-16 722 + + + +//================================================================================// +// Castle 4 +//================================================================================// +prontera.gat,167,203,6 script Squagul#p4-1::Squagul 722, +{ + callfunc "F_Flags","Prontera","prtg_cas04",259,265; + close; + +OnRecvCastlePt04: + FlagEmblem GetCastleData("prtg_cas04.gat",1); + end; +} +// In Guild =========================================== +prt_gld.gat,169,220,6 duplicate(Squagul) Squagul#p4-2 722 +prt_gld.gat,120,243,6 duplicate(Squagul) Squagul#p4-3 722 +prt_gld.gat,120,236,6 duplicate(Squagul) Squagul#p4-4 722 +prt_gld.gat,122,243,6 duplicate(Squagul) Squagul#p4-5 722 +prt_gld.gat,122,246,6 duplicate(Squagul) Squagul#p4-6 722 +// In Castle ============================================= +prtg_cas04.gat,82,29,4 duplicate(Squagul) Squagul#p4-7 722 +prtg_cas04.gat,75,29,4 duplicate(Squagul) Squagul#p4-8 722 +prtg_cas04.gat,75,27,4 duplicate(Squagul) Squagul#p4-9 722 +prtg_cas04.gat,82,27,4 duplicate(Squagul) Squagul#p4-10 722 +prtg_cas04.gat,59,29,4 duplicate(Squagul) Squagul#p4-11 722 +prtg_cas04.gat,67,29,4 duplicate(Squagul) Squagul#p4-12 722 +prtg_cas04.gat,258,25,4 duplicate(Squagul) Squagul#p4-13 722 +prtg_cas04.gat,258,20,4 duplicate(Squagul) Squagul#p4-14 722 +prtg_cas04.gat,263,20,4 duplicate(Squagul) Squagul#p4-15 722 +prtg_cas04.gat,263,27,4 duplicate(Squagul) Squagul#p4-16 722 + + + + +//================================================================================// +// Castle 5 +//================================================================================// +prontera.gat,165,194,5 script Guindull#p5-1::Guindull 722, +{ + callfunc "F_Flags","Prontera","prtg_cas05",34,30; + close; + +OnRecvCastlePt05: + FlagEmblem GetCastleData("prtg_cas05.gat",1); + end; +} +// In Guild =========================================== +prt_gld.gat,167,213,5 duplicate(Guindull) Guindull#p5-2 722 +prt_gld.gat,199,243,2 duplicate(Guindull) Guindull#p5-3 722 +prt_gld.gat,199,236,2 duplicate(Guindull) Guindull#p5-4 722 +prt_gld.gat,197,243,2 duplicate(Guindull) Guindull#p5-5 722 +prt_gld.gat,197,236,2 duplicate(Guindull) Guindull#p5-6 722 +// In Castle ============================================= +prtg_cas05.gat,19,247,4 duplicate(Guindull) Guindull#p5-7 722 +prtg_cas05.gat,19,243,4 duplicate(Guindull) Guindull#p5-8 722 +prtg_cas05.gat,26,247,4 duplicate(Guindull) Guindull#p5-9 722 +prtg_cas05.gat,26,243,4 duplicate(Guindull) Guindull#p5-10 722 +prtg_cas05.gat,249,289,4 duplicate(Guindull) Guindull#p5-11 722 +prtg_cas05.gat,256,289,4 duplicate(Guindull) Guindull#p5-12 722 +prtg_cas05.gat,253,271,4 duplicate(Guindull) Guindull#p5-13 722 +prtg_cas05.gat,273,257,4 duplicate(Guindull) Guindull#p5-14 722 diff --git a/npc/guild/prtg/prtg_guardians.txt b/npc/guild/prtg/prtg_guardians.txt index 0ed441b9d..55d83309b 100644 --- a/npc/guild/prtg/prtg_guardians.txt +++ b/npc/guild/prtg/prtg_guardians.txt @@ -1,108 +1,108 @@ -//===== eAthena Script =======================================
-//= War of Emperium - prtg_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 prtg castles are now in this file.
-//= Minor optimizations.[kobra_k88]
-//============================================================
-
-
-prtg_cas01.gat,197,197,0 script Guardian_Pt01 -1,{
-OnAgitInit:
- if (GetCastleData("prtg_cas01.gat",10) == 1) guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",0;
- if (GetCastleData("prtg_cas01.gat",11) == 1) guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",1;
- if (GetCastleData("prtg_cas01.gat",12) == 1) guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",2;
- if (GetCastleData("prtg_cas01.gat",13) == 1) guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",3;
- if (GetCastleData("prtg_cas01.gat",14) == 1) guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",4;
- if (GetCastleData("prtg_cas01.gat",15) == 1) guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",5;
- if (GetCastleData("prtg_cas01.gat",16) == 1) guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",6;
- if (GetCastleData("prtg_cas01.gat",17) == 1) guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",7;
- end;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas01.gat","A Guardian Has Fallen",17;
- end;
-}
-//------------------------------------------------------------------------------
-prtg_cas02.gat,158,174,0 script Guardian_Pt02 -1,{
-OnAgitInit:
- if (GetCastleData("prtg_cas02.gat",10) == 1) guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",0;
- if (GetCastleData("prtg_cas02.gat",11) == 1) guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",1;
- if (GetCastleData("prtg_cas02.gat",12) == 1) guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",2;
- if (GetCastleData("prtg_cas02.gat",13) == 1) guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",3;
- if (GetCastleData("prtg_cas02.gat",14) == 1) guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",4;
- if (GetCastleData("prtg_cas02.gat",15) == 1) guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",5;
- if (GetCastleData("prtg_cas02.gat",16) == 1) guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",6;
- if (GetCastleData("prtg_cas02.gat",17) == 1) guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",7;
- end;
-
-GuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas02.gat","A Guardian Has Fallen",17;
- end;
-}
-//------------------------------------------------------------------------------
-prtg_cas03.gat,17,221,0 script Guardian_Pt03 -1,{
-OnAgitInit:
- if (GetCastleData("prtg_cas03.gat",10) == 1) guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",0;
- if (GetCastleData("prtg_cas03.gat",11) == 1) guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",1;
- if (GetCastleData("prtg_cas03.gat",12) == 1) guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",2;
- if (GetCastleData("prtg_cas03.gat",13) == 1) guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",3;
- if (GetCastleData("prtg_cas03.gat",14) == 1) guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",4;
- if (GetCastleData("prtg_cas03.gat",15) == 1) guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",5;
- if (GetCastleData("prtg_cas03.gat",16) == 1) guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",6;
- if (GetCastleData("prtg_cas03.gat",17) == 1) guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",7;
- end;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas03.gat","A Guardian Has Fallen",17;
- end;
-}
-//------------------------------------------------------------------------------
-prtg_cas04.gat,292,14,0 script Guardian_Pt04 -1,{
-OnAgitInit:
- if (GetCastleData("prtg_cas04.gat",10) == 1) guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",0;
- if (GetCastleData("prtg_cas04.gat",11) == 1) guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",1;
- if (GetCastleData("prtg_cas04.gat",12) == 1) guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",2;
- if (GetCastleData("prtg_cas04.gat",13) == 1) guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",3;
- if (GetCastleData("prtg_cas04.gat",14) == 1) guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",4;
- if (GetCastleData("prtg_cas04.gat",15) == 1) guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",5;
- if (GetCastleData("prtg_cas04.gat",16) == 1) guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",6;
- if (GetCastleData("prtg_cas04.gat",17) == 1) guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",7;
- end;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas04.gat","A Guardian Has Fallen",17;
- end;
-}
-//------------------------------------------------------------------------------
-prtg_cas05.gat,266,266,0 script Guardian_Pt05 -1,{
-OnAgitInit:
- if (GetCastleData("prtg_cas05.gat",10) == 1) guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",0;
- if (GetCastleData("prtg_cas05.gat",11) == 1) guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",1;
- if (GetCastleData("prtg_cas05.gat",12) == 1) guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",2;
- if (GetCastleData("prtg_cas05.gat",13) == 1) guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",3;
- if (GetCastleData("prtg_cas05.gat",14) == 1) guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",4;
- if (GetCastleData("prtg_cas05.gat",15) == 1) guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",5;
- if (GetCastleData("prtg_cas05.gat",16) == 1) guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",6;
- if (GetCastleData("prtg_cas05.gat",17) == 1) guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",7;
- end;
-
-OnGuardianDied:
- // Event when Guardian dies
- MapAnnounce "prtg_cas05.gat","A Guardian Has Fallen",17;
- end;
-}
+//===== eAthena Script ======================================= +//= War of Emperium - prtg_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 prtg castles are now in this file. +//= Minor optimizations.[kobra_k88] +//============================================================ + + +prtg_cas01.gat,197,197,0 script Guardian_Pt01 -1,{ +OnAgitInit: + if (GetCastleData("prtg_cas01.gat",10) == 1) guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",0; + if (GetCastleData("prtg_cas01.gat",11) == 1) guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",1; + if (GetCastleData("prtg_cas01.gat",12) == 1) guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",2; + if (GetCastleData("prtg_cas01.gat",13) == 1) guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",3; + if (GetCastleData("prtg_cas01.gat",14) == 1) guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",4; + if (GetCastleData("prtg_cas01.gat",15) == 1) guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",5; + if (GetCastleData("prtg_cas01.gat",16) == 1) guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",6; + if (GetCastleData("prtg_cas01.gat",17) == 1) guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",7; + end; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas01.gat","A Guardian Has Fallen",17; + end; +} +//------------------------------------------------------------------------------ +prtg_cas02.gat,158,174,0 script Guardian_Pt02 -1,{ +OnAgitInit: + if (GetCastleData("prtg_cas02.gat",10) == 1) guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",0; + if (GetCastleData("prtg_cas02.gat",11) == 1) guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",1; + if (GetCastleData("prtg_cas02.gat",12) == 1) guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",2; + if (GetCastleData("prtg_cas02.gat",13) == 1) guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",3; + if (GetCastleData("prtg_cas02.gat",14) == 1) guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",4; + if (GetCastleData("prtg_cas02.gat",15) == 1) guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",5; + if (GetCastleData("prtg_cas02.gat",16) == 1) guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",6; + if (GetCastleData("prtg_cas02.gat",17) == 1) guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",7; + end; + +GuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas02.gat","A Guardian Has Fallen",17; + end; +} +//------------------------------------------------------------------------------ +prtg_cas03.gat,17,221,0 script Guardian_Pt03 -1,{ +OnAgitInit: + if (GetCastleData("prtg_cas03.gat",10) == 1) guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",0; + if (GetCastleData("prtg_cas03.gat",11) == 1) guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",1; + if (GetCastleData("prtg_cas03.gat",12) == 1) guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",2; + if (GetCastleData("prtg_cas03.gat",13) == 1) guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",3; + if (GetCastleData("prtg_cas03.gat",14) == 1) guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",4; + if (GetCastleData("prtg_cas03.gat",15) == 1) guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",5; + if (GetCastleData("prtg_cas03.gat",16) == 1) guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",6; + if (GetCastleData("prtg_cas03.gat",17) == 1) guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",7; + end; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas03.gat","A Guardian Has Fallen",17; + end; +} +//------------------------------------------------------------------------------ +prtg_cas04.gat,292,14,0 script Guardian_Pt04 -1,{ +OnAgitInit: + if (GetCastleData("prtg_cas04.gat",10) == 1) guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",0; + if (GetCastleData("prtg_cas04.gat",11) == 1) guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",1; + if (GetCastleData("prtg_cas04.gat",12) == 1) guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",2; + if (GetCastleData("prtg_cas04.gat",13) == 1) guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",3; + if (GetCastleData("prtg_cas04.gat",14) == 1) guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",4; + if (GetCastleData("prtg_cas04.gat",15) == 1) guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",5; + if (GetCastleData("prtg_cas04.gat",16) == 1) guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",6; + if (GetCastleData("prtg_cas04.gat",17) == 1) guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",7; + end; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas04.gat","A Guardian Has Fallen",17; + end; +} +//------------------------------------------------------------------------------ +prtg_cas05.gat,266,266,0 script Guardian_Pt05 -1,{ +OnAgitInit: + if (GetCastleData("prtg_cas05.gat",10) == 1) guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",0; + if (GetCastleData("prtg_cas05.gat",11) == 1) guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",1; + if (GetCastleData("prtg_cas05.gat",12) == 1) guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",2; + if (GetCastleData("prtg_cas05.gat",13) == 1) guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",3; + if (GetCastleData("prtg_cas05.gat",14) == 1) guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",4; + if (GetCastleData("prtg_cas05.gat",15) == 1) guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",5; + if (GetCastleData("prtg_cas05.gat",16) == 1) guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",6; + if (GetCastleData("prtg_cas05.gat",17) == 1) guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",7; + end; + +OnGuardianDied: + // Event when Guardian dies + MapAnnounce "prtg_cas05.gat","A Guardian Has Fallen",17; + end; +} diff --git a/npc/guild/prtg/prtg_kafras.txt b/npc/guild/prtg/prtg_kafras.txt index 6549af533..b14db6b9e 100644 --- a/npc/guild/prtg/prtg_kafras.txt +++ b/npc/guild/prtg/prtg_kafras.txt @@ -1,66 +1,66 @@ -//=== eAthena Script ====================
-//= War of Emperium Kafras for Prontera 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: =====================
-//= Provides Kafra services for guild members of Prontera Castles.
-//= Used in conjuction with function F_Kafra.
-//=== Additional Comments: =================
-//= v1.2 Optimized with functions.[kobra_k88]
-//==============================
-
-
-// Castle 1 ========================
-prtg_cas01.gat,96,173,0 script Kafra Service#Pt01 117,{
- callfunc "F_GKafra", "prtg_cas01", "Prontera";
- end;
-OnRecvCastlePt01:
- if (GetCastleData("prtg_cas01.gat",9) < 1) disablenpc "Kafra Service#Pt01";
- end;
-}
-
-
-// Castle 2 ========================
-prtg_cas02.gat,71,36,4 script Kafra Service#Pt02 117,{
- callfunc "F_GKafra", "prtg_cas02", "Prontera";
- end;
-OnRecvCastlePt02:
- if (GetCastleData("prtg_cas02.gat",9) < 1) disablenpc "Kafra Service#Pt02";
- end;
-}
-
-
-// Castle 3 ========================
-//prtg_cas03.gat,181,215,4 script Kafra Service#Pt03 117,
-prtg_cas03.gat,39,99,4 script Kafra Service#Pt03 117,{
- callfunc "F_GKafra", "prtg_cas03", "Prontera";
- end;
-OnRecvCastlePt03:
- if (GetCastleData("prtg_cas03.gat",9) < 1) disablenpc "Kafra Service#Pt03";
- end;
-}
-
-
-// Castle 4 ========================
-prtg_cas04.gat,258,247,4 script Kafra Service#Pt04 117,{
- callfunc "F_GKafra", "prtg_cas04", "Prontera";
- end;
-OnRecvCastlePt04:
- if (GetCastleData("prtg_cas04.gat",9) < 1) disablenpc "Kafra Service#Pt04";
- end;
-}
-
-
-// Castle 5 ========================
-prtg_cas05.gat,52,41,4 script Kafra Service#Pt05 117,{
- callfunc "F_GKafra", "prtg_cas05", "Prontera";
- end;
-OnRecvCastlePt05:
- if (GetCastleData("prtg_cas05.gat",9) < 1) disablenpc "Kafra Service#Pt05";
- end;
-}
+//=== eAthena Script ==================== +//= War of Emperium Kafras for Prontera 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: ===================== +//= Provides Kafra services for guild members of Prontera Castles. +//= Used in conjuction with function F_Kafra. +//=== Additional Comments: ================= +//= v1.2 Optimized with functions.[kobra_k88] +//============================== + + +// Castle 1 ======================== +prtg_cas01.gat,96,173,0 script Kafra Service#Pt01 117,{ + callfunc "F_GKafra", "prtg_cas01", "Prontera"; + end; +OnRecvCastlePt01: + if (GetCastleData("prtg_cas01.gat",9) < 1) disablenpc "Kafra Service#Pt01"; + end; +} + + +// Castle 2 ======================== +prtg_cas02.gat,71,36,4 script Kafra Service#Pt02 117,{ + callfunc "F_GKafra", "prtg_cas02", "Prontera"; + end; +OnRecvCastlePt02: + if (GetCastleData("prtg_cas02.gat",9) < 1) disablenpc "Kafra Service#Pt02"; + end; +} + + +// Castle 3 ======================== +//prtg_cas03.gat,181,215,4 script Kafra Service#Pt03 117, +prtg_cas03.gat,39,99,4 script Kafra Service#Pt03 117,{ + callfunc "F_GKafra", "prtg_cas03", "Prontera"; + end; +OnRecvCastlePt03: + if (GetCastleData("prtg_cas03.gat",9) < 1) disablenpc "Kafra Service#Pt03"; + end; +} + + +// Castle 4 ======================== +prtg_cas04.gat,258,247,4 script Kafra Service#Pt04 117,{ + callfunc "F_GKafra", "prtg_cas04", "Prontera"; + end; +OnRecvCastlePt04: + if (GetCastleData("prtg_cas04.gat",9) < 1) disablenpc "Kafra Service#Pt04"; + end; +} + + +// Castle 5 ======================== +prtg_cas05.gat,52,41,4 script Kafra Service#Pt05 117,{ + callfunc "F_GKafra", "prtg_cas05", "Prontera"; + end; +OnRecvCastlePt05: + if (GetCastleData("prtg_cas05.gat",9) < 1) disablenpc "Kafra Service#Pt05"; + end; +} diff --git a/npc/guild/prtg/prtg_managers.txt b/npc/guild/prtg/prtg_managers.txt index 440d18b6a..f2e77dcb4 100644 --- a/npc/guild/prtg/prtg_managers.txt +++ b/npc/guild/prtg/prtg_managers.txt @@ -1,104 +1,104 @@ -//===== eAthena Script =======================================
-//= War of Emperium Managers for Prontera 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: =========================================
-//=
-//===== Additional Comments: =================================
-//= v1.2 Optimized with functions.[kobra_k88]
-//============================================================
-
-
-// Castle 1 ==================================================================================
-prtg_cas01.gat,112,181,0 script Abrai 55,{
- if(callfunc("F_GldManager","Abrai","prtg_cas01",15,209,"Pt01") == 0) close;
-
- if(@GDnum==10) guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",0;
- if(@GDnum==11) guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",1;
- if(@GDnum==12) guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",2;
- if(@GDnum==13) guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",3;
- if(@GDnum==14) guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",4;
- if(@GDnum==15) guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",5;
- if(@GDnum==16) guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",6;
- if(@GDnum==17) guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",7;
- mes "[ Abrai ]";
- mes "Guardian has been installed, the guardian will protect our guild base against enemies.";
- close;
-}
-
-
-// Castle 2 ==================================================================================
-prtg_cas02.gat,94,61,0 script Rhay 55,{
- if(callfunc("F_GldManager","Rhay","prtg_cas02",201,229,"Pt02") == 0) close;
-
- if(@GDnum==10) guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,1,"Guardian_Pt02::GuardianDied",0;
- if(@GDnum==11) guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",1;
- if(@GDnum==12) guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",2;
- if(@GDnum==13) guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",3;
- if(@GDnum==14) guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",4;
- if(@GDnum==15) guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",5;
- if(@GDnum==16) guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",6;
- if(@GDnum==17) guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",7;
- mes "[ Rhay ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
- close;
-}
-
-
-// Castle 3 ==================================================================================
-prtg_cas03.gat,51,100,4 script Stick 55,{
- if(callfunc("F_GldManager","Stick","prtg_cas03",189,132,"Pt03") == 0) close;
-
- if(@GDnum==10) guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",0;
- if(@GDnum==11) guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",1;
- if(@GDnum==12) guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",2;
- if(@GDnum==13) guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",3;
- if(@GDnum==14) guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",4;
- if(@GDnum==15) guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",5;
- if(@GDnum==16) guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",6;
- if(@GDnum==17) guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",7;
- mes "[ Stick ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
- close;
-}
-
-
-// Castle 4 ==================================================================================
-prtg_cas04.gat,259,265,4 script Bandred 55,{
- if(callfunc("F_GldManager","Bandred","prtg_cas04",271,162,"Pt04") == 0) close;
-
- if(@GDnum==10) guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",0;
- if(@GDnum==11) guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",1;
- if(@GDnum==12) guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",2;
- if(@GDnum==13) guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",3;
- if(@GDnum==14) guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",4;
- if(@GDnum==15) guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",5;
- if(@GDnum==16) guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",6;
- if(@GDnum==17) guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",7;
- mes "[ Bandred ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
- close;
-}
-
-
-// Castle 5 ==================================================================================
-prtg_cas05.gat,36,37,4 script Reiner 55,{
- if(callfunc("F_GldManager","Reiner","prtg_cas05",273,179,"Pt05") == 0) close;
-
- if(@GDnum==10) guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",0;
- if(@GDnum==11) guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",1;
- if(@GDnum==12) guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",2;
- if(@GDnum==13) guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",3;
- if(@GDnum==14) guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",4;
- if(@GDnum==15) guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",5;
- if(@GDnum==16) guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",6;
- if(@GDnum==17) guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",7;
- mes "[ Reiner ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
- close;
-}
+//===== eAthena Script ======================================= +//= War of Emperium Managers for Prontera 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: ========================================= +//= +//===== Additional Comments: ================================= +//= v1.2 Optimized with functions.[kobra_k88] +//============================================================ + + +// Castle 1 ================================================================================== +prtg_cas01.gat,112,181,0 script Abrai 55,{ + if(callfunc("F_GldManager","Abrai","prtg_cas01",15,209,"Pt01") == 0) close; + + if(@GDnum==10) guardian "prtg_cas01.gat",196,92,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas01.gat",113,200,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas01.gat",111,186,"Soldier Guardian",1287,1,"Guardian_Pt01::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas01.gat",76,202,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas01.gat",90,26,"Archer Guardian",1285,1,"Guardian_Pt01::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas01.gat",58,59,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas01.gat",112,200,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas01.gat",101,194,"Knight Guardian",1286,1,"Guardian_Pt01::OnGuardianDied",7; + mes "[ Abrai ]"; + mes "Guardian has been installed, the guardian will protect our guild base against enemies."; + close; +} + + +// Castle 2 ================================================================================== +prtg_cas02.gat,94,61,0 script Rhay 55,{ + if(callfunc("F_GldManager","Rhay","prtg_cas02",201,229,"Pt02") == 0) close; + + if(@GDnum==10) guardian "prtg_cas02.gat",75,71,"Soldier Guardian",1287,1,"Guardian_Pt02::GuardianDied",0; + if(@GDnum==11) guardian "prtg_cas02.gat",56,31,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas02.gat",42,223,"Soldier Guardian",1287,1,"Guardian_Pt02::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas02.gat",44,195,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas02.gat",197,22,"Archer Guardian",1285,1,"Guardian_Pt02::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas02.gat",68,71,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas02.gat",202,27,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas02.gat",59,24,"Knight Guardian",1286,1,"Guardian_Pt02::OnGuardianDied",7; + mes "[ Rhay ]"; + mes "Guardian has been installed, guardian will protect our guild base against enemies."; + close; +} + + +// Castle 3 ================================================================================== +prtg_cas03.gat,51,100,4 script Stick 55,{ + if(callfunc("F_GldManager","Stick","prtg_cas03",189,132,"Pt03") == 0) close; + + if(@GDnum==10) guardian "prtg_cas03.gat",165,55,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas03.gat",161,181,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas03.gat",165,199,"Soldier Guardian",1287,1,"Guardian_Pt03::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas03.gat",169,22,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas03.gat",165,191,"Archer Guardian",1285,1,"Guardian_Pt03::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas03.gat",175,13,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas03.gat",169,180,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas03.gat",142,217,"Knight Guardian",1286,1,"Guardian_Pt03::OnGuardianDied",7; + mes "[ Stick ]"; + mes "Guardian has been installed, guardian will protect our guild base against enemies."; + close; +} + + +// Castle 4 ================================================================================== +prtg_cas04.gat,259,265,4 script Bandred 55,{ + if(callfunc("F_GldManager","Bandred","prtg_cas04",271,162,"Pt04") == 0) close; + + if(@GDnum==10) guardian "prtg_cas04.gat",30,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas04.gat",38,234,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas04.gat",63,26,"Soldier Guardian",1287,1,"Guardian_Pt04::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas04.gat",253,274,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas04.gat",269,256,"Archer Guardian",1285,1,"Guardian_Pt04::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas04.gat",267,271,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas04.gat",34,281,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas04.gat",33,232,"Knight Guardian",1286,1,"Guardian_Pt04::OnGuardianDied",7; + mes "[ Bandred ]"; + mes "Guardian has been installed, guardian will protect our guild base against enemies."; + close; +} + + +// Castle 5 ================================================================================== +prtg_cas05.gat,36,37,4 script Reiner 55,{ + if(callfunc("F_GldManager","Reiner","prtg_cas05",273,179,"Pt05") == 0) close; + + if(@GDnum==10) guardian "prtg_cas05.gat",244,15,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",0; + if(@GDnum==11) guardian "prtg_cas05.gat",241,14,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",1; + if(@GDnum==12) guardian "prtg_cas05.gat",68,40,"Soldier Guardian",1287,1,"Guardian_Pt05::OnGuardianDied",2; + if(@GDnum==13) guardian "prtg_cas05.gat",62,264,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",3; + if(@GDnum==14) guardian "prtg_cas05.gat",244,61,"Archer Guardian",1285,1,"Guardian_Pt05::OnGuardianDied",4; + if(@GDnum==15) guardian "prtg_cas05.gat",34,24,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",5; + if(@GDnum==16) guardian "prtg_cas05.gat",208,86,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",6; + if(@GDnum==17) guardian "prtg_cas05.gat",43,70,"Knight Guardian",1286,1,"Guardian_Pt05::OnGuardianDied",7; + mes "[ Reiner ]"; + mes "Guardian has been installed, guardian will protect our guild base against enemies."; + close; +} diff --git a/npc/guild/prtg/prtg_treas.txt b/npc/guild/prtg/prtg_treas.txt index f5b4c012d..3b7376279 100644 --- a/npc/guild/prtg/prtg_treas.txt +++ b/npc/guild/prtg/prtg_treas.txt @@ -1,144 +1,144 @@ -//===== eAthena Script =======================================
-//= War of Emperium Treasure Rooms for Prontera 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: =========================================
-//=
-//===== Additional Comments: =================================
-//= v1.2 Optimized with functions.[kobra_k88]
-//============================================================
-
-
-//<=============================== Castle 1 =================================>\\
-
-// Treasure Spawn ----------------------------------------------------------
-prtg_cas01.gat,1,1,0 script Treasure_Pt01 -1,{
-OnRecvCastlePt01:
- if($boxNumPt01 == 0) end;
- set $@bxPt01, $boxNumPt01;
- callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,1;
- end;
-OnClock1200:
- callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,0;
- end;
-OnDied:
- mapannounce "prtg_cas01.gat","Treasure Chest Broken Open",17;
- set $boxNumPt01, $boxNumPt01 -1;
- if($boxNumPt01 == 0) mapannounce "prtg_cas01.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
- end;
-}
-
-// Treasure Room Switch ----------------------------------------------------
-prtg_cas01.gat,15,209,0 script Switch#TresPt01 111,{
- callfunc "F_GldTreasSw", "prtg_cas01",109,179;
- end;
-}
-
-
-//<================================= Castle 2 ===============================>\\
-
-// Treasure Spawn ----------------------------------------------------------
-prtg_cas02.gat,1,1,0 script Treasure_Pt02 -1,{
-OnRecvCastlePt02:
- if($boxNumPt02 == 0) end;
- set $@bxPt02, $boxNumPt02;
- callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,1;
- end;
-OnClock1200:
- callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,0;
- end;
-OnDied:
- mapannounce "prtg_cas02.gat","Treasure Chest Broken Open",17;
- set $boxNumPt02, $boxNumPt02 -1;
- if($boxNumPt02 == 0) mapannounce "prtg_cas02.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
- end;
-}
-
-// Treasure Room Switch ----------------------------------------------------
-prtg_cas02.gat,207,228,0 script Switch#TresPt02 111,{
- callfunc "F_GldTreasSw", "prtg_cas02",94,62;
- end;
-}
-
-
-//<================================ Castle 3 ================================>\\
-
-// Treasure Spawn ----------------------------------------------------------
-prtg_cas03.gat,1,1,0 script Treasure_Pt03 -1,{
-OnRecvCastlePt03:
- if($boxNumPt03 == 0) end;
- set $@bxPt03, $boxNumPt03;
- callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,1;
- end;
-OnClock1200:
- callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,0;
- end;
-OnDied:
- mapannounce "prtg_cas03.gat","Treasure Chest Broken Open",17;
- set $boxNumPt03, $boxNumPt03 -1;
- if($boxNumPt03 == 0) mapannounce "prtg_cas03.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
- end;
-}
-
-// Treasure Room Switch ----------------------------------------------------
-prtg_cas03.gat,193,130,0 script Switch#TresPt03 111,{
- callfunc "F_GldTreasSw", "prtg_cas03",45,99;
- end;
-}
-
-
-//<================================ Castle 4 ================================>\\
-
-// Treasure Spawn ----------------------------------------------------------
-prtg_cas04.gat,1,1,0 script Treasure_Pt04 -1,{
-OnRecvCastlePt04:
- if($boxNumPt04 == 0) end;
- set $@bxPt04, $boxNumPt04;
- callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,1;
- end;
-OnClock1200:
- callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,0;
- end;
-OnDied:
- mapannounce "prtg_cas04.gat","Treasure Chest Broken Open",17;
- set $boxNumPt04, $boxNumPt04 -1;
- if($boxNumPt04 == 0) mapannounce "prtg_cas04.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
- end;
-}
-
-// Treasure Room Switch ----------------------------------------------------
-prtg_cas04.gat,275,160,0 script Switch#TresPt04 111,{
- callfunc "F_GldTreasSw", "prtg_cas04",259,265;
- end;
-}
-
-
-//<================================ Castle 5 ================================>\\
-
-// Treasure Spawn ----------------------------------------------------------
-prtg_cas05.gat,1,1,0 script Treasure_Pt05 -1,{
-OnRecvCastlePt05:
- if($boxNumPt05 == 0) end;
- set $@bxPt05, $boxNumPt05;
- callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,1;
- end;
-OnClock1200:
- callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,0;
- end;
-OnDied:
- mapannounce "prtg_cas05.gat","Treasure Chest Broken Open",17;
- set $boxNumPt05, $boxNumPt05 -1;
- if($boxNumPt05 == 0) mapannounce "prtg_cas05.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
- end;
-}
-
-// Treasure Room Switch ----------------------------------------------------
-prtg_cas05.gat,281,176,0 script Switch#TresPt05 111,{
- callfunc "F_GldTreasSw", "prtg_cas05",34,30;
- end;
-}
+//===== eAthena Script ======================================= +//= War of Emperium Treasure Rooms for Prontera 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: ========================================= +//= +//===== Additional Comments: ================================= +//= v1.2 Optimized with functions.[kobra_k88] +//============================================================ + + +//<=============================== Castle 1 =================================>\\ + +// Treasure Spawn ---------------------------------------------------------- +prtg_cas01.gat,1,1,0 script Treasure_Pt01 -1,{ +OnRecvCastlePt01: + if($boxNumPt01 == 0) end; + set $@bxPt01, $boxNumPt01; + callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,1; + end; +OnClock1200: + callfunc "F_GldTreas","prtg_cas01","Pt01",$boxNumPt01,$@bxPt01,$@boxIdPt01,1354,6,204,15,213,0; + end; +OnDied: + mapannounce "prtg_cas01.gat","Treasure Chest Broken Open",17; + set $boxNumPt01, $boxNumPt01 -1; + if($boxNumPt01 == 0) mapannounce "prtg_cas01.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + end; +} + +// Treasure Room Switch ---------------------------------------------------- +prtg_cas01.gat,15,209,0 script Switch#TresPt01 111,{ + callfunc "F_GldTreasSw", "prtg_cas01",109,179; + end; +} + + +//<================================= Castle 2 ===============================>\\ + +// Treasure Spawn ---------------------------------------------------------- +prtg_cas02.gat,1,1,0 script Treasure_Pt02 -1,{ +OnRecvCastlePt02: + if($boxNumPt02 == 0) end; + set $@bxPt02, $boxNumPt02; + callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,1; + end; +OnClock1200: + callfunc "F_GldTreas","prtg_cas02","Pt02",$boxNumPt02,$@bxPt02,$@boxIdPt02,1356,198,224,207,233,0; + end; +OnDied: + mapannounce "prtg_cas02.gat","Treasure Chest Broken Open",17; + set $boxNumPt02, $boxNumPt02 -1; + if($boxNumPt02 == 0) mapannounce "prtg_cas02.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + end; +} + +// Treasure Room Switch ---------------------------------------------------- +prtg_cas02.gat,207,228,0 script Switch#TresPt02 111,{ + callfunc "F_GldTreasSw", "prtg_cas02",94,62; + end; +} + + +//<================================ Castle 3 ================================>\\ + +// Treasure Spawn ---------------------------------------------------------- +prtg_cas03.gat,1,1,0 script Treasure_Pt03 -1,{ +OnRecvCastlePt03: + if($boxNumPt03 == 0) end; + set $@bxPt03, $boxNumPt03; + callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,1; + end; +OnClock1200: + callfunc "F_GldTreas","prtg_cas03","Pt03",$boxNumPt03,$@bxPt03,$@boxIdPt03,1358,184,128,193,135,0; + end; +OnDied: + mapannounce "prtg_cas03.gat","Treasure Chest Broken Open",17; + set $boxNumPt03, $boxNumPt03 -1; + if($boxNumPt03 == 0) mapannounce "prtg_cas03.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + end; +} + +// Treasure Room Switch ---------------------------------------------------- +prtg_cas03.gat,193,130,0 script Switch#TresPt03 111,{ + callfunc "F_GldTreasSw", "prtg_cas03",45,99; + end; +} + + +//<================================ Castle 4 ================================>\\ + +// Treasure Spawn ---------------------------------------------------------- +prtg_cas04.gat,1,1,0 script Treasure_Pt04 -1,{ +OnRecvCastlePt04: + if($boxNumPt04 == 0) end; + set $@bxPt04, $boxNumPt04; + callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,1; + end; +OnClock1200: + callfunc "F_GldTreas","prtg_cas04","Pt04",$boxNumPt04,$@bxPt04,$@boxIdPt04,1360,266,158,275,167,0; + end; +OnDied: + mapannounce "prtg_cas04.gat","Treasure Chest Broken Open",17; + set $boxNumPt04, $boxNumPt04 -1; + if($boxNumPt04 == 0) mapannounce "prtg_cas04.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + end; +} + +// Treasure Room Switch ---------------------------------------------------- +prtg_cas04.gat,275,160,0 script Switch#TresPt04 111,{ + callfunc "F_GldTreasSw", "prtg_cas04",259,265; + end; +} + + +//<================================ Castle 5 ================================>\\ + +// Treasure Spawn ---------------------------------------------------------- +prtg_cas05.gat,1,1,0 script Treasure_Pt05 -1,{ +OnRecvCastlePt05: + if($boxNumPt05 == 0) end; + set $@bxPt05, $boxNumPt05; + callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,1; + end; +OnClock1200: + callfunc "F_GldTreas","prtg_cas05","Pt05",$boxNumPt05,$@bxPt05,$@boxIdPt05,1362,272,174,279,181,0; + end; +OnDied: + mapannounce "prtg_cas05.gat","Treasure Chest Broken Open",17; + set $boxNumPt05, $boxNumPt05 -1; + if($boxNumPt05 == 0) mapannounce "prtg_cas05.gat", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; + end; +} + +// Treasure Room Switch ---------------------------------------------------- +prtg_cas05.gat,281,176,0 script Switch#TresPt05 111,{ + callfunc "F_GldTreasSw", "prtg_cas05",34,30; + end; +} |