summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-10-28 18:34:12 -0300
committerJesusaves <cpntb1@ymail.com>2023-10-28 18:34:12 -0300
commit5191ef4fd7dbaae6c740a2c50a14ff0bee852310 (patch)
tree0abee1ec359fec1a8472efd5446c9d0114bc9c1d /npc/functions/politics.txt
parent1c85a33ab460f1177cddf96429d44c008fcf2fc2 (diff)
downloadserverdata-5191ef4fd7dbaae6c740a2c50a14ff0bee852310.tar.gz
serverdata-5191ef4fd7dbaae6c740a2c50a14ff0bee852310.tar.bz2
serverdata-5191ef4fd7dbaae6c740a2c50a14ff0bee852310.tar.xz
serverdata-5191ef4fd7dbaae6c740a2c50a14ff0bee852310.zip
After Monster King demise, there is no longer Sieges to raise EXP rates.
Therefore, after the event, raise the bonus from weekend and townhalls.
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r--npc/functions/politics.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index ee1125edf..7f5ddf88d 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -425,7 +425,7 @@ function script POL_Manage {
rif(.@left, l("Lower city taxes")), 35,
rif(.@CR && .@RP, l("Tax crafters")), 40,
rif(!.@CR, l("Don't tax crafters")), 41,
- rif(.@left && !.@SE, l("Town Defense Program")), 60,
+ rif(.@left && !.@SE && $GAME_STORYLINE < 5, l("Town Defense Program")), 60,
rif(.@left >= 6, l("Exile a player")), 70,
rif(.@left >= 6, l("Revert a player exile")), 71,
rif(.@left, l("Raise server wide EXP")), 80,
@@ -625,6 +625,8 @@ function script POL_Manage {
.@gcost=50000;
.@rcost=25;
.@b=5+(.@RP/10);
+ if ($GAME_STORYLINE >= 5)
+ .@b = .@b * 3 / 2; // 50% Bonus after MK is dead
mesc l(".:: Server Boom ::."), 3;
mesc l("To cause a server happy hour (+%d%% EXP), you need:", .@b);
mesc l("%s GP and %d REP.", fnum(.@gcost), .@rcost);