Finish Axe restructuring, modify a little bit of Swords stuff as well.

This commit is contained in:
GJ
2013-01-15 16:38:44 -05:00
parent 105f088576
commit 5bdf4b5dcc
5 changed files with 41 additions and 8 deletions

View File

@ -19,9 +19,6 @@ public class SerratedStrikesEventHandler {
}
protected void applyAbilityEffects() {
if (player == null)
return;
Combat.applyAbilityAoE(player, target, damage / Swords.SERRATED_STRIKES_MODIFIER, SkillType.SWORDS);
BleedTimer.add(target, Swords.SERRATED_STRIKES_BLEED_TICKS);
}

View File

@ -76,10 +76,7 @@ public class SwordsManager extends SkillManager {
}
public void serratedStrikes(LivingEntity target, int damage) {
if (player == null)
return;
if (!Permissions.serratedStrikes(player)) {
if (Misc.isNPC(player) || !Permissions.serratedStrikes(player)) {
return;
}