summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-09 05:51:26 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-09 05:51:26 -0300
commit7985351e736d3c609845978eeb58f0db03105628 (patch)
treefdd73ebeb14a6c25d551fd0849b07623ef3445b2
parenta35070fc29665fa96e56863967b192cfc6c06198 (diff)
downloadserverdata-7985351e736d3c609845978eeb58f0db03105628.tar.gz
serverdata-7985351e736d3c609845978eeb58f0db03105628.tar.bz2
serverdata-7985351e736d3c609845978eeb58f0db03105628.tar.xz
serverdata-7985351e736d3c609845978eeb58f0db03105628.zip
Ops! This conditional ("Neutral"), because is Neutral, needs an equal.
And only this one
-rw-r--r--npc/functions/util.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 571a7bf1..f8777400 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -178,7 +178,7 @@ function script faction_standing {
return (.@ret ? 2 : "Friendly"); // 501 ~ 1000
} else if (.@rep > 100) {
return (.@ret ? 1 : "Cordial"); // 101 ~ 500
- } else if (.@rep > -100) {
+ } else if (.@rep >= -100) {
return (.@ret ? 0 : "Neutral"); // -100 ~ +100
} else if (.@rep < -100) {
return (.@ret ? -1 : "Unfriendly"); // -101 ~ -500