Fix Javadocs issues

This commit is contained in:
TfT_02
2013-08-23 17:21:56 +02:00
parent 6bfc1b84de
commit 9c54f8fd11
5 changed files with 25 additions and 10 deletions

View File

@ -66,6 +66,12 @@ public class SwordsManager extends SkillManager {
}
}
/**
* Handle the effects of the Counter Attack ability
*
* @param attacker The {@link LivingEntity} being affected by the ability
* @param damage The amount of damage initially dealt by the event
*/
public void counterAttackChecks(LivingEntity attacker, double damage) {
if (Swords.counterAttackRequiresBlock && !getPlayer().isBlocking()) {
return;
@ -82,6 +88,12 @@ public class SwordsManager extends SkillManager {
}
}
/**
* Handle the effects of the Serrated Strikes ability
*
* @param target The {@link LivingEntity} being affected by the ability
* @param damage The amount of damage initially dealt by the event
*/
public void serratedStrikes(LivingEntity target, double damage) {
CombatUtils.applyAbilityAoE(getPlayer(), target, damage / Swords.serratedStrikesModifier, skill);
BleedTimerTask.add(target, Swords.serratedStrikesBleedTicks);