even less blocks
This commit is contained in:
parent
bb39f18573
commit
a34b6da238
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user