diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-12-05 10:13:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-12-05 10:13:19 -0300 |
commit | f9158194ce03b0d8a02ea13fa3873e2cea58d49f (patch) | |
tree | e8505a7ea250a247225aaaa4a52a8de8721d0c75 | |
parent | e8efa77948836f4a5385756bf35264a8218218a4 (diff) | |
download | serverdata-f9158194ce03b0d8a02ea13fa3873e2cea58d49f.tar.gz serverdata-f9158194ce03b0d8a02ea13fa3873e2cea58d49f.tar.bz2 serverdata-f9158194ce03b0d8a02ea13fa3873e2cea58d49f.tar.xz serverdata-f9158194ce03b0d8a02ea13fa3873e2cea58d49f.zip |
Exiled players now always pay taxes
-rw-r--r-- | npc/functions/politics.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt index 3fe89a765..3b942e3b4 100644 --- a/npc/functions/politics.txt +++ b/npc/functions/politics.txt @@ -80,7 +80,7 @@ function script POL_AdjustPrice { .@p=0; // Town option for tax immunity - if (getd("$" + .@l$ + "_TAXOFF")) { + if (getd("$" + .@l$ + "_TAXOFF") && !(#EXILED & POL_LocToTP(.@l$))) { .@vat=getd("$"+.@l$+"_TAX"); .@tax=.@p*.@vat/10000; .@p-=.@tax; @@ -100,7 +100,7 @@ function script POL_PlayerMoney { Zeny-=.@p; // Town option for tax immunity - if (getd("$" + .@l$ + "_TAXOFF")) { + if (getd("$" + .@l$ + "_TAXOFF") && !(#EXILED & POL_LocToTP(.@l$))) { return 0; } |