1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-21 11:13:00 +01:00

Starting work on Impact subskill for Axes

This commit is contained in:
nossr50
2012-02-29 11:56:15 -08:00
parent d56fe82bfd
commit 652a27eb38
2 changed files with 53 additions and 0 deletions

View File

@@ -82,6 +82,10 @@ public class Combat
Axes.axeCriticalCheck(attacker, event, pluginx); //Critical hit
//Impact
if(event.getEntity() instanceof LivingEntity)
Axes.impact(attacker, (LivingEntity)event.getEntity());
if (!(event instanceof FakeEntityDamageByEntityEvent) && PPa.getSkullSplitterMode())
Axes.applyAoeDamage(attacker, event, pluginx);