Adds a lava ritual

I am the smartest programmer who ever lived
This commit is contained in:
B1G-FUNGUS 2021-10-01 17:05:14 -07:00
parent a62c19efad
commit 6a691a4b66

View File

@ -0,0 +1,23 @@
package top.penowl.quidproquo.rituals;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import top.penowl.quidproquo.Ritual;
public class Lava extends Ritual {
@Override
public void setup() {
addIngredient(Material.LAVA_BUCKET, 5);
addIngredient(Material.DIAMOND, 1);
backfire = 0.50;
name = "combustion";
}
@Override
public void execute(Player caster, Player target, Location location) {
target.setFireTicks(60);
}
}