summaryrefslogtreecommitdiff
path: root/npc/guild/agit_template.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/guild/agit_template.txt')
-rw-r--r--npc/guild/agit_template.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt
index 9163ab582..7d9462b1f 100644
--- a/npc/guild/agit_template.txt
+++ b/npc/guild/agit_template.txt
@@ -39,6 +39,8 @@
//= 1.3 Fixed a loading flag emblem for Payon 1. [L0ne_W0lf]
//= Fixed two typos regarding Guild Steward name.
//= 1.4 Fixed a typo in defense investment. [L0ne_W0lf]
+//= 1.5 Fixed spawn point of the emperium in Payon 1. [L0ne_W0lf]
+//= Double-investing doubles the price now.
//============================================================
// AGIT Manager Template
@@ -93,7 +95,7 @@ OnStartArena:
else if (strnpcinfo(2) == "gefg_cas03") { setarray .@emproom[0],244,166; }
else if (strnpcinfo(2) == "gefg_cas04") { setarray .@emproom[0],174,177; }
else if (strnpcinfo(2) == "gefg_cas05") { setarray .@emproom[0],194,184; }
- else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],138,138; }
+ else if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; }
else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; }
else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],268,264; }
else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; }
@@ -251,7 +253,7 @@ OnRecvCastle:
monster strnpcinfo(2),0,0,"Kobold Archer",1282,4;
monster strnpcinfo(2),0,0,"Gargoyle",1253,5;
// Set Emperium room spawn coordinates and spawn monsters.
- if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],138,138; }
+ if (strnpcinfo(2) == "payg_cas01") { setarray .@emproom[0],139,139; }
else if (strnpcinfo(2) == "payg_cas02") { setarray .@emproom[0],38,25; }
else if (strnpcinfo(2) == "payg_cas03") { setarray .@emproom[0],268,264; }
else if (strnpcinfo(2) == "payg_cas04") { setarray .@emproom[0],270,28; }
@@ -515,6 +517,10 @@ OnRecvCastle:
if(.@Economy >= 65) set .@eco_invest,1280000;
if(.@Economy >= 76) set .@eco_invest,2560000;
if(.@Economy >= 88) set .@eco_invest,5120000;
+ //Double the cost of investing if you've already invested once.
+ if (GetCastleData(strnpcinfo(2),4)) {
+ set .@eco_invest,.@eco_invest*2;
+ }
mes "[ Steward " + .@name$ + " ]";
mes "If you raise commercial growth, the quantity of goods made by the guild will increase. So if you want a prosperous future, investment will be required.";
mes " ";
@@ -565,6 +571,10 @@ OnRecvCastle:
if(.@Defence >= 65) set .@def_invest,2560000;
if(.@Defence >= 76) set .@def_invest,5120000;
if(.@Defence >= 88) set .@def_invest,10240000;
+ //Double the cost of investing if you've already invested once.
+ if (GetCastleData(strnpcinfo(2),5)) {
+ set .@def_invest,.@def_invest*2;
+ }
mes "[ Steward " + .@name$ + " ]";
mes "If you raise the safeguard, the durability of the Guardians and emperium will increase. So if you expect more defenses in battles, investment will be required.";
mes " ";