Hit changes
This commit is contained in:
parent
e58371669f
commit
923b72175d
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user