Comparison d'oh

This commit is contained in:
Cekis
2019-05-08 14:09:41 -07:00
committed by GitHub
parent 049d1b93e7
commit 6c7bf814d4
@@ -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;
}