summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-20 10:18:14 -0300
committerJesusaves <cpntb1@ymail.com>2020-10-20 10:18:14 -0300
commitc7ee549da2619aa1b5c95a6270f4062319eb111b (patch)
tree5f1745322514e75131594db0dc3aa68b82931d2a
parent06a327ee85c2b60902b9dcf3b04fcfc635efeda2 (diff)
downloadserverdata-c7ee549da2619aa1b5c95a6270f4062319eb111b.tar.gz
serverdata-c7ee549da2619aa1b5c95a6270f4062319eb111b.tar.bz2
serverdata-c7ee549da2619aa1b5c95a6270f4062319eb111b.tar.xz
serverdata-c7ee549da2619aa1b5c95a6270f4062319eb111b.zip
Taxes are not to be zeroed but allow it nonetheless >.<
-rw-r--r--npc/functions/politics.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index 724d84450..d6ff43da6 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -471,7 +471,8 @@ function script POL_Manage {
break;
mesc l("Are you sure?");
if (askyesno() == ASK_YES) {
- setd(.@town$+"_TAX", max(0, .@TX-.@cost));
+ .@val=.@TX-(.@cost ? rand2(1,3) : 1);
+ setd(.@town$+"_TAX", max(0, .@val));
setd(.@town$+"_REPUTATION", min(100, .@RP+.@cost));
TOWN_ACTIONS[.@TP]+=1;
mesc l("Taxes lowered"), 1;