summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/politics.txt')
-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;