From 55189d66c80ef2d561751a27857d0706feaa5b00 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 19 Oct 2019 03:18:24 -0300 Subject: Safeguard from having, eg. +0 Agi - that makes NO SENSE --- npc/craft/options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/craft') 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; -- cgit v1.2.3-70-g09d2