From 2d47e5183315e61884c361cd106c14d7c8ef5d29 Mon Sep 17 00:00:00 2001 From: Vaern Date: Sat, 4 Jun 2022 12:26:15 -0700 Subject: [PATCH] Changed probability --- .../java/com/hbm/blocks/machine/rbmk/RBMKDebrisBurning.java | 2 +- .../java/com/hbm/blocks/machine/rbmk/RBMKDebrisRadiating.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisBurning.java b/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisBurning.java index 22a55a449..43489035e 100644 --- a/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisBurning.java +++ b/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisBurning.java @@ -43,7 +43,7 @@ public class RBMKDebrisBurning extends RBMKDebris { world.setBlock(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ, ModBlocks.gas_meltdown); } - //Foam helps stop the fire; ~5+ minutes to extinguish with one side exposed to foam. + //Foam helps stop the fire; 1.66% chance every 100-120 seconds for one side int chance = block == ModBlocks.foam_layer || block == ModBlocks.block_foam ? 10 : 100; if(rand.nextInt(chance) == 0) { diff --git a/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisRadiating.java b/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisRadiating.java index 94363af26..e2bfa0972 100644 --- a/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisRadiating.java +++ b/src/main/java/com/hbm/blocks/machine/rbmk/RBMKDebrisRadiating.java @@ -56,8 +56,8 @@ public class RBMKDebrisRadiating extends RBMKDebrisBurning { world.setBlock(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ, ModBlocks.gas_meltdown); } - //Boron sand helps stop the fission reaction; ~5+ minutes to halt with one side exposed to boron sand. - int chance = block == ModBlocks.sand_boron_layer || block == ModBlocks.sand_boron ? 50 : 1000; + //Boron sand helps stop the fission reaction; 0.66% chance every 20-40 ticks for one side + int chance = block == ModBlocks.sand_boron_layer || block == ModBlocks.sand_boron ? 25 : 1000; if(rand.nextInt(chance) == 0) {