diff options
-rw-r--r-- | npc/functions/politics.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 30909b15a..455cd463a 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -438,9 +438,10 @@ function script POL_Manage { break; mesc l("Are you sure?"); if (askyesno() == ASK_YES) { + .@BN=rand2(.@cost/52, .@cost/24) + 1; .@GP=getd("$"+getarg(0)+"_MONEY"); setd(.@town$+"_MONEY", .@GP-.@cost); - setd(.@town$+"_EXPORT", .@EX+rand2(6,8)); + setd(.@town$+"_EXPORT", .@EX+.@BN); TOWN_ACTIONS[.@TP]+=1; mesc l("Investment executed"), 2; next; |