even less blocks

This commit is contained in:
Chiss 2013-10-13 09:20:00 +11:00
parent bb39f18573
commit a34b6da238

View File

@ -153,7 +153,7 @@ public class Explosion extends MiniPlugin
else else
{ {
//XXX ANTILAG //XXX ANTILAG
double chance = 0.2 + (double)_explosionBlocks.size()/(double)100; double chance = 0.75 + (double)_explosionBlocks.size()/(double)500;
if (Math.random() > Math.min(0.975, chance)) if (Math.random() > Math.min(0.975, chance))
{ {
FallingBlock fall = cur.getWorld().spawnFallingBlock(cur.getLocation().add(0.5, 0.5, 0.5), blocks.get(cur).getKey(), blocks.get(cur).getValue()); FallingBlock fall = cur.getWorld().spawnFallingBlock(cur.getLocation().add(0.5, 0.5, 0.5), blocks.get(cur).getKey(), blocks.get(cur).getValue());