Earn XP when using Shake

Adds #1564
This commit is contained in:
TfT_02
2013-10-28 17:38:03 +01:00
parent be792a1052
commit f55039ac6b
4 changed files with 8 additions and 0 deletions

View File

@ -432,6 +432,7 @@ public class FishingManager extends SkillManager {
Misc.dropItem(target.getLocation(), drop);
CombatUtils.dealDamage(target, Math.max(target.getMaxHealth() / 4, 1)); // Make it so you can shake a mob no more than 4 times.
applyXpGain(ExperienceConfig.getInstance().getFishingShakeXP());
}
}