Re-added respawnATS

This commit is contained in:
bm01
2012-06-12 05:32:56 +02:00
parent 0034226fa7
commit c382c95d24
5 changed files with 36 additions and 13 deletions

View File

@ -58,7 +58,10 @@ public class AcrobaticsManager {
if (Acrobatics.getRandom().nextInt(4000) <= eventHandler.skillModifier && !eventHandler.isFatal(eventHandler.modifiedDamage)) {
eventHandler.modifyEventDamage();
eventHandler.sendAbilityMessage();
eventHandler.processXPGain(eventHandler.damage * Acrobatics.DODGE_XP_MODIFIER);
if (System.currentTimeMillis() >= profile.getRespawnATS() + 5) {
eventHandler.processXPGain(eventHandler.damage * Acrobatics.DODGE_XP_MODIFIER);
}
}
}