mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Changed probability
This commit is contained in:
parent
e2df83d638
commit
2d47e51833
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user