diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-09 05:55:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-09 05:55:19 -0300 |
commit | 01f176fcb9c504f42bbb92d2d95ee77aa3448381 (patch) | |
tree | 90114861c83e6ec299fb90e25d0b616048bbe2db | |
parent | 7985351e736d3c609845978eeb58f0db03105628 (diff) | |
download | serverdata-01f176fcb9c504f42bbb92d2d95ee77aa3448381.tar.gz serverdata-01f176fcb9c504f42bbb92d2d95ee77aa3448381.tar.bz2 serverdata-01f176fcb9c504f42bbb92d2d95ee77aa3448381.tar.xz serverdata-01f176fcb9c504f42bbb92d2d95ee77aa3448381.zip |
Thanks Hocus for finding this bug (╯°□°)╯︵ ┻━┻
-rw-r--r-- | npc/functions/util.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index f8777400..ee040c4c 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -180,11 +180,11 @@ function script faction_standing { return (.@ret ? 1 : "Cordial"); // 101 ~ 500 } else if (.@rep >= -100) { return (.@ret ? 0 : "Neutral"); // -100 ~ +100 - } else if (.@rep < -100) { + } else if (.@rep > -500) { return (.@ret ? -1 : "Unfriendly"); // -101 ~ -500 - } else if (.@rep < -500) { + } else if (.@rep > -1000) { return (.@ret ? -2 : "Enemy"); // -501 ~ -1000 - } else if (.@rep < -1000) { + } else { return (.@ret ? -3 : "Nemesis"); // -1001 ~ inf } |