From c7ee549da2619aa1b5c95a6270f4062319eb111b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 20 Oct 2020 10:18:14 -0300 Subject: Taxes are not to be zeroed but allow it nonetheless >.< --- npc/functions/politics.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2