Make it even funnier

This commit is contained in:
Henry Boles 2021-10-01 08:22:24 -07:00
parent 670a31d73a
commit ffd14be819

View File

@ -14,13 +14,14 @@ public class GetLuckyRitual extends Ritual {
addIngredient(Material.GOLD_BLOCK, 3);
addIngredient(Material.TNT, 1);
health = 3;
lightning = true;
name = "daring";
}
@Override
public void execute(Player caster, Player target, Location location) {
if (Math.random() < 0.5) {
location.getWorld().createExplosion(location, 100);
location.getWorld().createExplosion(location, 100F);
} else {
byproducts.add(new ItemStack(Material.GOLD_BLOCK, 16));
}