From 7188a5efb342c865bb7ea92dd4e39b918fb73885 Mon Sep 17 00:00:00 2001 From: Edith Boles Date: Thu, 30 Sep 2021 15:25:30 -0700 Subject: [PATCH] Fix ritual templates --- .../java/top/penowl/quidproquo/Ritual.java | 1 + .../quidproquo/rituals/BlankRitual.java | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/main/java/top/penowl/quidproquo/Ritual.java b/src/main/java/top/penowl/quidproquo/Ritual.java index 26f5311..432565c 100644 --- a/src/main/java/top/penowl/quidproquo/Ritual.java +++ b/src/main/java/top/penowl/quidproquo/Ritual.java @@ -9,6 +9,7 @@ import org.bukkit.entity.Player; public abstract class Ritual { public HashMap ingredients = new HashMap(); public HashMap sacrifices = new HashMap(); + public int health = 0; public abstract void execute(Player caster, Player target); public void addIngredient(Material material, int count) { ingredients.put(material, count); diff --git a/src/main/java/top/penowl/quidproquo/rituals/BlankRitual.java b/src/main/java/top/penowl/quidproquo/rituals/BlankRitual.java index e69de29..f315630 100644 --- a/src/main/java/top/penowl/quidproquo/rituals/BlankRitual.java +++ b/src/main/java/top/penowl/quidproquo/rituals/BlankRitual.java @@ -0,0 +1,19 @@ +package top.penowl.quidproquo.rituals; + +import org.bukkit.entity.Player; + +import top.penowl.quidproquo.Ritual; + +public class BlankRitual extends Ritual { + + @Override + public void setup() { + + } + + @Override + public void execute(Player caster, Player target) { + + } + +}