mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Skill shot should be after deflect check
This commit is contained in:
parent
d6630a0eb5
commit
f7928787dc
@ -141,10 +141,6 @@ public final class CombatUtils {
|
||||
McMMOPlayer mcMMOPlayer = UserManager.getPlayer(player);
|
||||
ArcheryManager archeryManager = mcMMOPlayer.getArcheryManager();
|
||||
|
||||
if (archeryManager.canSkillShot()) {
|
||||
archeryManager.skillShot(target, event.getDamage(), arrow);
|
||||
}
|
||||
|
||||
if (target instanceof Player && SkillType.UNARMED.getPVPEnabled()) {
|
||||
UnarmedManager unarmedManager = UserManager.getPlayer((Player) target).getUnarmedManager();
|
||||
|
||||
@ -157,6 +153,10 @@ public final class CombatUtils {
|
||||
}
|
||||
}
|
||||
|
||||
if (archeryManager.canSkillShot()) {
|
||||
archeryManager.skillShot(target, event.getDamage(), arrow);
|
||||
}
|
||||
|
||||
if (archeryManager.canDaze(target)) {
|
||||
archeryManager.daze((Player) target, arrow);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user