diff --git a/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java b/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java index 9557326..b8e2418 100644 --- a/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java +++ b/src/main/java/top/penowl/quidproquo/rituals/HitRitual.java @@ -24,16 +24,20 @@ public class HitRitual extends Ritual { @Override public void execute(Player caster, Player target, Location location) { target.playSound(target.getLocation(), Sound.HURT_FLESH, 1, 1); + target.damage(1); Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(QuidProQuo.instance, new Runnable() { public void run() { - target.playSound(target.getLocation(), Sound.HURT_FLESH, 1, 1); + target.playSound(target.getLocation(), Sound.HURT_FLESH, 0.8f, 1.1f); + target.setHealth(target.getHealth()+2); + target.damage(0.01); } }, 1 * 15L); Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(QuidProQuo.instance, new Runnable() { public void run() { - target.playSound(target.getLocation(), Sound.HURT_FLESH, 1, 1); + target.playSound(target.getLocation(), Sound.HURT_FLESH, 1.2f, 0.9f); + target.damage(1); } - }, 1 * 15L); + }, 2 * 15L); } }