Fixed bug with cooldown donor perks

This commit is contained in:
GJ 2013-12-02 08:30:45 -05:00
parent 30a1b333b9
commit 48821a710f
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ Version 1.4.08-dev
= Fixed exploit where you could receive smelting XP for improper items
= Fixed bug where the Unbreaking enchantment was ignored when using "Super Breaker" or "Giga Drill Breaker"
= Fixed bug which prevented players from gaining Acrobatics XP when the setting 'Prevent_XP_After_Teleport' was set to false
= Fixed bug where cooldown donor perks were reducing more than expected
! Updated localization files
! Changed AxesCritical to CriticalHit in config file
! Changed several secondary ability permissions(deprecated versions still exist)

View File

@ -16,7 +16,7 @@ public final class PerksUtils {
cooldown *= 0.5;
}
else if (Permissions.thirdedCooldowns(player)) {
cooldown *= (1.0 / 3.0);
cooldown *= (2.0 / 3.0);
}
else if (Permissions.quarteredCooldowns(player)) {
cooldown *= 0.75;