From 6c7bf814d44390afa3e2ef8aa5d8a22deb2fcf2c Mon Sep 17 00:00:00 2001 From: Cekis Date: Wed, 8 May 2019 14:09:41 -0700 Subject: [PATCH] Comparison d'oh --- .../compiled/game/script/item/outbreak/shock_collar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sku.0/sys.server/compiled/game/script/item/outbreak/shock_collar.java b/sku.0/sys.server/compiled/game/script/item/outbreak/shock_collar.java index 949105523..944a72130 100755 --- a/sku.0/sys.server/compiled/game/script/item/outbreak/shock_collar.java +++ b/sku.0/sys.server/compiled/game/script/item/outbreak/shock_collar.java @@ -15,7 +15,7 @@ public class shock_collar extends script.base_script public int aiCorpsePrepared(obj_id self, dictionary params) throws InterruptedException { // Roll to see if we should drop the shock collar or not. - if (rand(1, 100) >= SHOCK_COLLAR_LOOT_CHANCE) + if (rand(1, 100) > SHOCK_COLLAR_LOOT_CHANCE) { return SCRIPT_CONTINUE; }