summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-05 10:13:19 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-05 10:13:19 -0300
commitf9158194ce03b0d8a02ea13fa3873e2cea58d49f (patch)
treee8505a7ea250a247225aaaa4a52a8de8721d0c75
parente8efa77948836f4a5385756bf35264a8218218a4 (diff)
downloadserverdata-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.txt4
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;
}