summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-22 09:23:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-22 09:23:47 -0300
commitd4be84026af485dc45822995a75c4824155440ed (patch)
tree2771bd15f000fc60f6dc127d13ce19eecc13b22b
parent76655885e2e53f9f119bcfcbce7a41df113806c6 (diff)
downloadserverdata-d4be84026af485dc45822995a75c4824155440ed.tar.gz
serverdata-d4be84026af485dc45822995a75c4824155440ed.tar.bz2
serverdata-d4be84026af485dc45822995a75c4824155440ed.tar.xz
serverdata-d4be84026af485dc45822995a75c4824155440ed.zip
Manatauro was right - This code was bugged o.o
-rw-r--r--npc/craft/options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index ebb2bb75b..6bb0c1596 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -413,7 +413,7 @@ function script csys_Multiplier {
// csys_ArmorFix( item{, perfect=False} )
function script csys_ArmorFix {
// Rare bonus
- if (rand2(100) >= 5 && !getarg(0, false))
+ if (rand2(100) >= 5 && !getarg(1, false))
array_remove(@csys_attr, IOPT_SPLASHDAMAGE);
// Remove bonuses