diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-10-19 03:18:24 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-10-19 03:18:24 -0300 |
commit | 55189d66c80ef2d561751a27857d0706feaa5b00 (patch) | |
tree | b74200d56a88fa7f1c2115f04d41cb17d70e7355 | |
parent | c54af539bc4d1f7f1e537fb87b0e4eaaeba3899c (diff) | |
download | serverdata-55189d66c80ef2d561751a27857d0706feaa5b00.tar.gz serverdata-55189d66c80ef2d561751a27857d0706feaa5b00.tar.bz2 serverdata-55189d66c80ef2d561751a27857d0706feaa5b00.tar.xz serverdata-55189d66c80ef2d561751a27857d0706feaa5b00.zip |
Safeguard from having, eg. +0 Agi - that makes NO SENSE
-rw-r--r-- | npc/craft/options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 6d718a9f8..79fc6833e 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -425,7 +425,7 @@ function script csys_BonusCalc { // Armor? Crap it to 25% if (@csysArmor) - .@base=.@base/4; + .@base=max(1, .@base/4); return .@base; |