summaryrefslogtreecommitdiff
path: root/npc/guild/payg
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild/payg')
-rw-r--r--npc/guild/payg/payg_ev_agit.txt13
-rw-r--r--npc/guild/payg/payg_guardians.txt99
-rw-r--r--npc/guild/payg/payg_managers.txt114
-rw-r--r--npc/guild/payg/payg_treas.txt11
4 files changed, 114 insertions, 123 deletions
diff --git a/npc/guild/payg/payg_ev_agit.txt b/npc/guild/payg/payg_ev_agit.txt
index 9caf96b3f..61387af64 100644
--- a/npc/guild/payg/payg_ev_agit.txt
+++ b/npc/guild/payg/payg_ev_agit.txt
@@ -4,7 +4,7 @@
//= jAthena (1.0)
//= 1.1 by Akaru and ho|yAnge|
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@@ -12,6 +12,7 @@
//===== 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]
//============================================================
@@ -35,7 +36,7 @@ OnGuildBreak:
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas01",GetCastleData("payg_cas01",1),6;
- Monster "payg_cas01",139,139,"EMPERIUM",1288,1,"Agit_Py01::OnAgitBreak";
+ Monster "payg_cas01",139,139,"Emperium",1288,1,"Agit_Py01::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas01","Py01";
@@ -62,7 +63,7 @@ OnGuildBreak:
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas02",GetCastleData("payg_cas02",1),6;
- Monster "payg_cas02",39,25,"EMPERIUM",1288,1,"Agit_Py02::OnAgitBreak";
+ Monster "payg_cas02",39,25,"Emperium",1288,1,"Agit_Py02::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas02","Py02";
@@ -89,7 +90,7 @@ OnGuildBreak:
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas03",GetCastleData("payg_cas03",1),6;
- Monster "payg_cas03",269,265,"EMPERIUM",1288,1,"Agit_Py03::OnAgitBreak";
+ Monster "payg_cas03",269,265,"Emperium",1288,1,"Agit_Py03::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas03","Py03";
@@ -116,7 +117,7 @@ OnGuildBreak:
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas04",GetCastleData("payg_cas04",1),6;
- Monster "payg_cas04",271,29,"EMPERIUM",1288,1,"Agit_Py04::OnAgitBreak";
+ Monster "payg_cas04",271,29,"Emperium",1288,1,"Agit_Py04::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas04","Py04";
@@ -143,7 +144,7 @@ OnGuildBreak:
end;
OnAgitEliminate:
MapRespawnGuildID "payg_cas05",GetCastleData("payg_cas05",1),6;
- Monster "payg_cas05",30,30,"EMPERIUM",1288,1,"Agit_Py05::OnAgitBreak";
+ Monster "payg_cas05",30,30,"Emperium",1288,1,"Agit_Py05::OnAgitBreak";
end;
OnAgitEnd:
callfunc "F_AgitEnd","payg_cas05","Py05";
diff --git a/npc/guild/payg/payg_guardians.txt b/npc/guild/payg/payg_guardians.txt
index c2b925cf0..e88dd9e5e 100644
--- a/npc/guild/payg/payg_guardians.txt
+++ b/npc/guild/payg/payg_guardians.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= holyAngelX (1.0)
//===== Current Version: =====================================
-//= 1.2a
+//= 1.3
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
@@ -14,95 +14,102 @@
//= 1.2 by Akaru and Valaris
//= 1.2a Guardians for all payg 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.
//============================================================
payg_cas01,139,139,0 script Guardian_Py01 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas01",10) == 1) guardian "payg_cas01",210,120,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",0;
- if (GetCastleData("payg_cas01",11) == 1) guardian "payg_cas01",69,26,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",1;
- if (GetCastleData("payg_cas01",12) == 1) guardian "payg_cas01",23,141,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",2;
- if (GetCastleData("payg_cas01",13) == 1) guardian "payg_cas01",224,87,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",3;
- if (GetCastleData("payg_cas01",14) == 1) guardian "payg_cas01",81,45,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",4;
- if (GetCastleData("payg_cas01",15) == 1) guardian "payg_cas01",214,53,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",5;
- if (GetCastleData("payg_cas01",16) == 1) guardian "payg_cas01",69,26,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",6;
- if (GetCastleData("payg_cas01",17) == 1) guardian "payg_cas01",23,141,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",7;
+ killmonster "payg_cas01","Guardian_Py01::OnGuardianDied";
+ if (GetCastleData("payg_cas01",10) == 1) guardian "payg_cas01",229,92,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",0;
+ if (GetCastleData("payg_cas01",11) == 1) guardian "payg_cas01",225,80,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",1;
+ if (GetCastleData("payg_cas01",12) == 1) guardian "payg_cas01",222,111,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",2;
+ if (GetCastleData("payg_cas01",13) == 1) guardian "payg_cas01",99,45,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",3;
+ if (GetCastleData("payg_cas01",14) == 1) guardian "payg_cas01",65,31,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",4;
+ if (GetCastleData("payg_cas01",15) == 1) guardian "payg_cas01",36,127,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",5;
+ if (GetCastleData("payg_cas01",16) == 1) guardian "payg_cas01",51,144,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",6;
+ if (GetCastleData("payg_cas01",17) == 1) guardian "payg_cas01",138,133,"Guardian Knight",1286,"Guardian_Py01::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas01","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
payg_cas02,39,25,0 script Guardian_Py02 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas02",10) == 1) guardian "payg_cas02",208,37,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",0;
- if (GetCastleData("payg_cas02",11) == 1) guardian "payg_cas02",51,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",1;
- if (GetCastleData("payg_cas02",12) == 1) guardian "payg_cas02",286,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",2;
- if (GetCastleData("payg_cas02",13) == 1) guardian "payg_cas02",217,42,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",3;
- if (GetCastleData("payg_cas02",14) == 1) guardian "payg_cas02",264,266,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",4;
- if (GetCastleData("payg_cas02",15) == 1) guardian "payg_cas02",51,245,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",5;
- if (GetCastleData("payg_cas02",16) == 1) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",6;
- if (GetCastleData("payg_cas02",17) == 1) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",7;
+ killmonster "payg_cas02","Guardian_Py02::OnGuardianDied";
+ if (GetCastleData("payg_cas02",10) == 1) guardian "payg_cas02",237,54,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",0;
+ if (GetCastleData("payg_cas02",11) == 1) guardian "payg_cas02",228,72,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",1;
+ if (GetCastleData("payg_cas02",12) == 1) guardian "payg_cas02",210,41,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",2;
+ if (GetCastleData("payg_cas02",13) == 1) guardian "payg_cas02",57,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",3;
+ if (GetCastleData("payg_cas02",14) == 1) guardian "payg_cas02",42,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",4;
+ if (GetCastleData("payg_cas02",15) == 1) guardian "payg_cas02",287,257,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",5;
+ if (GetCastleData("payg_cas02",16) == 1) guardian "payg_cas02",264,272,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",6;
+ if (GetCastleData("payg_cas02",17) == 1) guardian "payg_cas02",27,20,"Guardian Knight",1286,"Guardian_Py02::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas02","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
payg_cas03,269,265,0 script Guardian_Py03 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas03",10) == 1) guardian "payg_cas03",252,39,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",0;
- if (GetCastleData("payg_cas03",11) == 1) guardian "payg_cas03",23,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",1;
- if (GetCastleData("payg_cas03",12) == 1) guardian "payg_cas03",34,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",2;
- if (GetCastleData("payg_cas03",13) == 1) guardian "payg_cas03",57,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",3;
- if (GetCastleData("payg_cas03",14) == 1) guardian "payg_cas03",20,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",4;
- if (GetCastleData("payg_cas03",15) == 1) guardian "payg_cas03",34,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",5;
- if (GetCastleData("payg_cas03",16) == 1) guardian "payg_cas03",23,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",6;
- if (GetCastleData("payg_cas03",17) == 1) guardian "payg_cas03",28,253,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",7;
+ killmonster "payg_cas03","Guardian_Py03::OnGuardianDied";
+ if (GetCastleData("payg_cas03",10) == 1) guardian "payg_cas03",245,37,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",0;
+ if (GetCastleData("payg_cas03",11) == 1) guardian "payg_cas03",269,51,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",1;
+ if (GetCastleData("payg_cas03",12) == 1) guardian "payg_cas03",36,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",2;
+ if (GetCastleData("payg_cas03",13) == 1) guardian "payg_cas03",41,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",3;
+ if (GetCastleData("payg_cas03",14) == 1) guardian "payg_cas03",39,65,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",4;
+ if (GetCastleData("payg_cas03",15) == 1) guardian "payg_cas03",19,276,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",5;
+ if (GetCastleData("payg_cas03",16) == 1) guardian "payg_cas03",37,277,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",6;
+ if (GetCastleData("payg_cas03",17) == 1) guardian "payg_cas03",268,244,"Guardian Knight",1286,"Guardian_Py03::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas03","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
payg_cas04,271,29,0 script Guardian_Py04 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas04",10) == 1) guardian "payg_cas04",236,172,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",0;
- if (GetCastleData("payg_cas04",11) == 1) guardian "payg_cas04",14,260,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",1;
- if (GetCastleData("payg_cas04",12) == 1) guardian "payg_cas04",15,30,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",2;
- if (GetCastleData("payg_cas04",13) == 1) guardian "payg_cas04",257,166,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",3;
- if (GetCastleData("payg_cas04",14) == 1) guardian "payg_cas04",65,261,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",4;
- if (GetCastleData("payg_cas04",15) == 1) guardian "payg_cas04",65,261,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",5;
- if (GetCastleData("payg_cas04",16) == 1) guardian "payg_cas04",52,29,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",6;
- if (GetCastleData("payg_cas04",17) == 1) guardian "payg_cas04",15,30,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",7;
+ killmonster "payg_cas04","Guardian_Py04::OnGuardianDied";
+ if (GetCastleData("payg_cas04",10) == 1) guardian "payg_cas04",251,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",0;
+ if (GetCastleData("payg_cas04",11) == 1) guardian "payg_cas04",232,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",1;
+ if (GetCastleData("payg_cas04",12) == 1) guardian "payg_cas04",231,175,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",2;
+ if (GetCastleData("payg_cas04",13) == 1) guardian "payg_cas04",32,287,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",3;
+ if (GetCastleData("payg_cas04",14) == 1) guardian "payg_cas04",32,232,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",4;
+ if (GetCastleData("payg_cas04",15) == 1) guardian "payg_cas04",35,45,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",5;
+ if (GetCastleData("payg_cas04",16) == 1) guardian "payg_cas04",36,17,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",6;
+ if (GetCastleData("payg_cas04",17) == 1) guardian "payg_cas04",270,41,"Guardian Knight",1286,"Guardian_Py04::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas04","A Guardian Has Fallen",17;
end;
}
+
//------------------------------------------------------------------------------
payg_cas05,30,30,0 script Guardian_Py05 -1,{
OnAgitInit:
- if (GetCastleData("payg_cas05",10) == 1) guardian "payg_cas05",51,258,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",0;
- if (GetCastleData("payg_cas05",11) == 1) guardian "payg_cas05",286,235,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",1;
- if (GetCastleData("payg_cas05",12) == 1) guardian "payg_cas05",282,277,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",2;
- if (GetCastleData("payg_cas05",13) == 1) guardian "payg_cas05",18,281,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",3;
- if (GetCastleData("payg_cas05",14) == 1) guardian "payg_cas05",289,256,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",4;
- if (GetCastleData("payg_cas05",15) == 1) guardian "payg_cas05",275,42,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",5;
- if (GetCastleData("payg_cas05",16) == 1) guardian "payg_cas05",254,9,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",6;
- if (GetCastleData("payg_cas05",17) == 1) guardian "payg_cas05",236,256,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",7;
+ killmonster "payg_cas05","Guardian_Py05::OnGuardianDied";
+ if (GetCastleData("payg_cas05",10) == 1) guardian "payg_cas05",19,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",0;
+ if (GetCastleData("payg_cas05",11) == 1) guardian "payg_cas05",33,260,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",1;
+ if (GetCastleData("payg_cas05",12) == 1) guardian "payg_cas05",266,234,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",2;
+ if (GetCastleData("payg_cas05",13) == 1) guardian "payg_cas05",266,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",3;
+ if (GetCastleData("payg_cas05",14) == 1) guardian "payg_cas05",263,37,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",4;
+ if (GetCastleData("payg_cas05",15) == 1) guardian "payg_cas05",263,21,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",5;
+ if (GetCastleData("payg_cas05",16) == 1) guardian "payg_cas05",250,22,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",6;
+ if (GetCastleData("payg_cas05",17) == 1) guardian "payg_cas05",36,36,"Guardian Knight",1286,"Guardian_Py05::OnGuardianDied",7;
end;
OnGuardianDied:
// Event when Guardian dies
- MapAnnounce "payg_cas05","A Guardian Has Fallen",17;
end;
}
diff --git a/npc/guild/payg/payg_managers.txt b/npc/guild/payg/payg_managers.txt
index 76ee5282d..b2c23938c 100644
--- a/npc/guild/payg/payg_managers.txt
+++ b/npc/guild/payg/payg_managers.txt
@@ -4,101 +4,93 @@
//= jAthena - kalen (1.0)
//= 1.1 by Akaru, ho|yAnge|X, and Valaris
//===== Current Version: =====================================
-//= 1.2
+//= 1.3
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//=
//===== Additional Comments: =================================
//= v1.2 Optimized with functions.[kobra_k88]
+//= 1.3 Updated Guardian positions and types. [L0ne_W0lf]
+//= Updated manager names, and some additional info
//============================================================
// Castle 1 ==================================================================================
-payg_cas01,120,58,4 script Grunday 55,{
- if(callfunc("F_GldManager","Grunday","payg_cas01",290,7,"Py01") == 0) close;
+payg_cas01,120,58,4 script Kurunnadi#pay1 55,{
+ if(callfunc("F_GldManager","Steward Kurunnadi","payg_cas01",295,8,"Py01") == 0) close;
- if(@GDnum==10) guardian "payg_cas01",210,120,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas01",69,26,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas01",23,141,"Soldier Guardian",1287,"Guardian_Py01::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas01",224,87,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas01",81,45,"Archer Guardian",1285,"Guardian_Py01::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas01",214,53,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas01",69,26,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas01",23,141,"Knight Guardian",1286,"Guardian_Py01::OnGuardianDied",7;
- mes "[ Grunday ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
+ if (@GDnum == 10) guardian "payg_cas01",229,92,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",0;
+ if (@GDnum == 11) guardian "payg_cas01",225,80,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",1;
+ if (@GDnum == 12) guardian "payg_cas01",222,111,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",2;
+ if (@GDnum == 13) guardian "payg_cas01",99,45,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",3;
+ if (@GDnum == 14) guardian "payg_cas01",65,31,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",4;
+ if (@GDnum == 15) guardian "payg_cas01",36,127,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",5;
+ if (@GDnum == 16) guardian "payg_cas01",51,144,"Guardian Archer",1285,"Guardian_Py01::OnGuardianDied",6;
+ if (@GDnum == 17) guardian "payg_cas01",138,133,"Guardian Knight",1286,"Guardian_Py01::OnGuardianDied",7;
close;
}
// Castle 2 ==================================================================================
-payg_cas02,22,260,7 script Cherrios 55,{
- if(callfunc("F_GldManager","Cherrios","payg_cas02",145,143,"Py02") == 0) close;
+payg_cas02,22,260,7 script Cherieos#pay2 55,{
+ if(callfunc("F_GldManager","Steward Cherieos","payg_cas02",141,149,"Py02") == 0) close;
- if(@GDnum==10) guardian "payg_cas02",208,37,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas02",51,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas02",286,245,"Soldier Guardian",1287,"Guardian_Py02::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas02",217,42,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas02",264,266,"Archer Guardian",1285,"Guardian_Py02::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas02",51,245,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas02",279,263,"Knight Guardian",1286,"Guardian_Py02::OnGuardianDied",7;
- mes "[ Cherrios ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
+ if (@GDnum == 10) guardian "payg_cas02",237,54,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",0;
+ if (@GDnum == 11) guardian "payg_cas02",228,72,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",1;
+ if (@GDnum == 12) guardian "payg_cas02",210,41,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",2;
+ if (@GDnum == 13) guardian "payg_cas02",57,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",3;
+ if (@GDnum == 14) guardian "payg_cas02",42,241,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",4;
+ if (@GDnum == 15) guardian "payg_cas02",287,257,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",5;
+ if (@GDnum == 16) guardian "payg_cas02",264,272,"Guardian Archer",1285,"Guardian_Py02::OnGuardianDied",6;
+ if (@GDnum == 17) guardian "payg_cas02",27,20,"Guardian Knight",1286,"Guardian_Py02::OnGuardianDied",7;
close;
}
// Castle 3 ==================================================================================
-payg_cas03,10,277,0 script Garriet 55,{
- if(callfunc("F_GldManager","Garriet","payg_cas03",158,168,"Py03") == 0) close;
+payg_cas03,10,277,0 script Gheriot#pay3 55,{
+ if(callfunc("F_GldManager","Steward Gheriot","payg_cas03",163,167,"Py03") == 0) close;
- if(@GDnum==10) guardian "payg_cas03",252,39,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas03",23,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas03",34,283,"Soldier Guardian",1287,"Guardian_Py03::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas03",57,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas03",20,36,"Archer Guardian",1285,"Guardian_Py03::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas03",34,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas03",23,283,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas03",28,253,"Knight Guardian",1286,"Guardian_Py03::OnGuardianDied",7;
- mes "[ Garriet ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
+ if (@GDnum == 10) guardian "payg_cas03",245,37,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",0;
+ if (@GDnum == 11) guardian "payg_cas03",269,51,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",1;
+ if (@GDnum == 12) guardian "payg_cas03",36,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",2;
+ if (@GDnum == 13) guardian "payg_cas03",41,39,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",3;
+ if (@GDnum == 14) guardian "payg_cas03",39,65,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",4;
+ if (@GDnum == 15) guardian "payg_cas03",19,276,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",5;
+ if (@GDnum == 16) guardian "payg_cas03",37,277,"Guardian Archer",1285,"Guardian_Py03::OnGuardianDied",6;
+ if (@GDnum == 17) guardian "payg_cas03",268,244,"Guardian Knight",1286,"Guardian_Py03::OnGuardianDied",7;
close;
}
// Castle 4 ==================================================================================
-payg_cas04,38,284,3 script DJ 55,{
- if(callfunc("F_GldManager","DJ","payg_cas04",146,48,"Py04") == 0) close;
+payg_cas04,38,284,3 script DJ#pay4 55,{
+ if(callfunc("F_GldManager","Steward DJ","payg_cas04",151,47,"Py04") == 0) close;
- if(@GDnum==10) guardian "payg_cas04",236,172,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas04",14,260,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas04",15,30,"Soldier Guardian",1287,"Guardian_Py04::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas04",257,166,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas04",65,261,"Archer Guardian",1285,"Guardian_Py04::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas04",65,261,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas04",52,29,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas04",15,30,"Knight Guardian",1286,"Guardian_Py04::OnGuardianDied",7;
- mes "[ DJ ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
+ if (@GDnum == 10) guardian "payg_cas04",251,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",0;
+ if (@GDnum == 11) guardian "payg_cas04",232,212,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",1;
+ if (@GDnum == 12) guardian "payg_cas04",231,175,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",2;
+ if (@GDnum == 13) guardian "payg_cas04",32,287,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",3;
+ if (@GDnum == 14) guardian "payg_cas04",32,232,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",4;
+ if (@GDnum == 15) guardian "payg_cas04",35,45,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",5;
+ if (@GDnum == 16) guardian "payg_cas04",36,17,"Guardian Archer",1285,"Guardian_Py04::OnGuardianDied",6;
+ if (@GDnum == 17) guardian "payg_cas04",270,41,"Guardian Knight",1286,"Guardian_Py04::OnGuardianDied",7;
close;
}
// Castle 5 ==================================================================================
-payg_cas05,277,249,3 script Najarf 55,{
- if(callfunc("F_GldManager","Najarf","payg_cas05",156,131,"Py05") == 0) close;
+payg_cas05,277,249,3 script Nahzarf#pay5 55,{
+ if(callfunc("F_GldManager","Steward Nahzarf","payg_cas05",153,137,"Py05") == 0) close;
- if(@GDnum==10) guardian "payg_cas05",51,258,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",0;
- if(@GDnum==11) guardian "payg_cas05",286,235,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",1;
- if(@GDnum==12) guardian "payg_cas05",282,277,"Soldier Guardian",1287,"Guardian_Py05::OnGuardianDied",2;
- if(@GDnum==13) guardian "payg_cas05",18,281,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",3;
- if(@GDnum==14) guardian "payg_cas05",289,256,"Archer Guardian",1285,"Guardian_Py05::OnGuardianDied",4;
- if(@GDnum==15) guardian "payg_cas05",275,42,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",5;
- if(@GDnum==16) guardian "payg_cas05",254,9,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",6;
- if(@GDnum==17) guardian "payg_cas05",236,256,"Knight Guardian",1286,"Guardian_Py05::OnGuardianDied",7;
- mes "[ Najarf ]";
- mes "Guardian has been installed, guardian will protect our guild base against enemies.";
+ if (@GDnum == 10) guardian "payg_cas05",19,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",0;
+ if (@GDnum == 11) guardian "payg_cas05",33,260,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",1;
+ if (@GDnum == 12) guardian "payg_cas05",266,234,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",2;
+ if (@GDnum == 13) guardian "payg_cas05",266,279,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",3;
+ if (@GDnum == 14) guardian "payg_cas05",263,37,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",4;
+ if (@GDnum == 15) guardian "payg_cas05",263,21,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",5;
+ if (@GDnum == 16) guardian "payg_cas05",250,22,"Guardian Archer",1285,"Guardian_Py05::OnGuardianDied",6;
+ if (@GDnum == 17) guardian "payg_cas05",36,36,"Guardian Knight",1286,"Guardian_Py05::OnGuardianDied",7;
close;
}
diff --git a/npc/guild/payg/payg_treas.txt b/npc/guild/payg/payg_treas.txt
index c302ed9ad..d0e174215 100644
--- a/npc/guild/payg/payg_treas.txt
+++ b/npc/guild/payg/payg_treas.txt
@@ -11,6 +11,7 @@
//=
//===== Additional Comments: =================================
//= v1.2 Optimized with functions.[kobra_k88]
+//= 1.3 Removed announces when you open chests. [L0ne_W0lf]
//============================================================
@@ -27,9 +28,7 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas01","Treasure Chest Broken Open",17;
set $boxNumPy01, $boxNumPy01 -1;
- if($boxNumPy01 == 0) mapannounce "payg_cas01", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
@@ -58,9 +57,7 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas02","Treasure Chest Broken Open",17;
set $boxNumPy02, $boxNumPy02 -1;
- if($boxNumPy02 == 0) mapannounce "payg_cas02", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
@@ -89,9 +86,7 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas03","Treasure Chest Broken Open",17;
set $boxNumPy03, $boxNumPy03 -1;
- if($boxNumPy03 == 0) mapannounce "payg_cas03", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
@@ -120,9 +115,7 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas04","Treasure Chest Broken Open",17;
set $boxNumPy04, $boxNumPy04 -1;
- if($boxNumPy04 == 0) mapannounce "payg_cas04", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}
@@ -151,9 +144,7 @@ OnInit:
end;
OnDied:
- mapannounce "payg_cas05","Treasure Chest Broken Open",17;
set $boxNumPy05, $boxNumPy05 -1;
- if($boxNumPy05 == 0) mapannounce "payg_cas05", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
end;
}