From 6a691a4b667ce2aafd6038e76b35abe2a9aab201 Mon Sep 17 00:00:00 2001 From: B1G-FUNGUS Date: Fri, 1 Oct 2021 17:05:14 -0700 Subject: [PATCH] Adds a lava ritual I am the smartest programmer who ever lived --- .../top/penowl/quidproquo/rituals/Lava.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/main/java/top/penowl/quidproquo/rituals/Lava.java diff --git a/src/main/java/top/penowl/quidproquo/rituals/Lava.java b/src/main/java/top/penowl/quidproquo/rituals/Lava.java new file mode 100644 index 0000000..7d05e5f --- /dev/null +++ b/src/main/java/top/penowl/quidproquo/rituals/Lava.java @@ -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); + } + +}