Jump to content

[patch] Pet Talent Bullhead


pasdVn
 Share

Recommended Posts

The Spell: http://www.wowhead.com/?spell=53490

One more of this "remove all movement impairing and loss of control loosing causing" effects.

I wonder why blizz did not use a bitmask for this mechanic field. Would make a lot of things more easy...

From 44f3632ee9ee8604464974487c5a5748f1f27234 Mon Sep 17 00:00:00 2001
From: pasdVn <[email protected]>
Date: Tue, 4 Aug 2009 16:25:01 +0200
Subject: [PATCH] fixed pet talent 53490

---
src/game/SpellAuras.cpp |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 2dfb151..e8ec74b 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -4086,7 +4086,7 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/)
        uint32 mechanic = 1 << m_modifier.m_miscvalue;

        //immune movement impairment and loss of control
-        if(GetId()==42292 || GetId()==59752)
+        if(GetId()==42292 || GetId()==59752 || GetId()==53490)
            mechanic=IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK;

        Unit::AuraMap& Auras = target->GetAuras();
-- 
1.5.5.1

Github: http://github.com/pasdVn/mangos/commit/44f3632ee9ee8604464974487c5a5748f1f27234.patch

Link to comment
Share on other sites

 Share

×
×
  • 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