Changed probability

This commit is contained in:
Vaern 2022-06-04 12:26:15 -07:00
parent e2df83d638
commit 2d47e51833
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {