Jump to content

[9540][fix] Heroic Fury


Auntie Mangos

Recommended Posts

What bug does the patch fix? What features does the patch add?

- fixes cooldown removing of Intercept

For which repository revision was the patch created?

- should work on latest

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

- http://getmangos.eu/community/viewtopic.php?id=1043

Who has been writing this patch? Please include either forum user names or email addresses.

- me

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 2de02d2..a473fa0 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -4257,6 +4257,9 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/)
            }
        }
    }
+    // Heroic Fury (Intercept cooldown remove)
+    if (apply && GetSpellProto()->Id == 60970 && m_target->GetTypeId() == TYPEID_PLAYER)
+        ((Player*)m_target)->RemoveSpellCooldown(20252, true);
}

void Aura::HandleModMechanicImmunityMask(bool apply, bool /*Real*/)

regarding immobilization removing part, I think it works as it should (for more info on immobilization effect see : http://www.wowwiki.com/Root , http://www.allakhazam.com/wiki/root_%28wow%29)

Link to comment
Share on other sites

  • 40 years later...
  • 1 month later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use