diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-07 22:46:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-07 22:46:13 -0300 |
commit | 88b07b2432f4e8a5d341097d7b39e7b097a90540 (patch) | |
tree | fca2145b2b940eaed2f319ff0278c85bedaea05f /npc/functions/politics.txt | |
parent | cfc7d8e1f50e7e3552d158239204e9471e7fee2c (diff) | |
download | serverdata-88b07b2432f4e8a5d341097d7b39e7b097a90540.tar.gz serverdata-88b07b2432f4e8a5d341097d7b39e7b097a90540.tar.bz2 serverdata-88b07b2432f4e8a5d341097d7b39e7b097a90540.tar.xz serverdata-88b07b2432f4e8a5d341097d7b39e7b097a90540.zip |
Generate maps for Complaining Dragons & The Impregnable Fortress (B2F - B7F)
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r-- | npc/functions/politics.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 21d719ce6..ee1125edf 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -27,6 +27,7 @@ function script PurchaseTaxes { .@price=getiteminfo(@bought_nameid[.@i], ITEMINFO_BUYPRICE); .@tax+=.@price*@bought_quantity[.@i]; } + MonsterMoney += (.@price / 5); // MK Control .@loc$=strtoupper(getarg(0, LOCATION$)); .@vat=getd("$"+.@loc$+"_TAX"); .@tax=.@tax*.@vat/10000; @@ -50,6 +51,7 @@ function script SaleTaxes { .@price=getiteminfo(@sold_nameid[.@i], ITEMINFO_SELLPRICE); .@tax+=.@price*@sold_quantity[.@i]; } + MonsterMoney += (.@p / 25); // MK Control (smaller than others) .@loc$=strtoupper(getarg(0, LOCATION$)); .@vat=getd("$"+.@loc$+"_TAX"); .@vat=.@vat*3/4; // Only 75% of purchase tax (defaults to 0.75% I guess) @@ -97,6 +99,7 @@ function script POL_PlayerMoney { .@l$=strtoupper(getarg(1, LOCATION$)); .@t=POL_LocToTP(.@l$); + MonsterMoney += (.@p / 5); // MK Control Zeny-=.@p; // Town option for tax immunity |