Browse Source

Fixed bug with cooldown donor perks

GJ 11 years ago
parent
commit
48821a710f
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/util/skills/PerksUtils.java

+ 1 - 0
Changelog.txt

@@ -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)

+ 1 - 1
src/main/java/com/gmail/nossr50/util/skills/PerksUtils.java

@@ -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;