diff --git a/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java b/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java new file mode 100644 index 0000000..d8c5810 --- /dev/null +++ b/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java @@ -0,0 +1,24 @@ +package top.penowl.quidproquo.rituals; + +import org.bukkit.Location; +import org.bukkit.Material; +import org.bukkit.Sound; +import org.bukkit.entity.Player; + +import top.penowl.quidproquo.Ritual; + +public class HitRitual extends Ritual { + @Override + public void setup() { + addIngredient(Material.IRON_SWORD, 1); + addIngredient(Material.HAY_BLOCK, 1); + name = "shadow hit"; + health = 2; + } + + @Override + public void execute(Player caster, Player target, Location location) { + target.playSound(target.getLocation(), Sound.SUCCESSFUL_HIT, 1, 1); + } + +}