Jump to content

[Mangos-0.12] Needly backporting after [Work vs Auras] Commit


Recommended Posts

Posted

Fix http://www.wowhead.com/spell=770 Remove affected .

Based on commit : [bd60bd129f1420edc33730389b1d8ffc10fe064c]

need after : [b98e7fcd806d8b295de982f475ad035bc98c14a3]

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index c921bc2..aedec26 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -952,7 +952,7 @@ void Aura::_AddAura()
    if (!secondaura)
    {
        // Update Seals information
-        if( IsSealSpell(GetSpellProto()) )
+        if (IsSealSpell(m_spellProto))
            m_target->ModifyAuraState(AURA_STATE_JUDGEMENT, true);

        // Conflagrate aura state
@@ -1055,7 +1055,9 @@ bool Aura::_RemoveAura()
                    removeState = AURA_STATE_CONFLAGRATE;   // Conflagrate aura state
                break;
            case SPELLFAMILY_DRUID:
-                if(m_spellProto->SpellFamilyFlags & 0x50)
+                if(m_spellProto->SpellFamilyFlags & UI64LIT(0x0000000000000400))
+                    removeState = AURA_STATE_FAERIE_FIRE;   // Faerie Fire (druid versions)
+                else if(m_spellProto->SpellFamilyFlags & 0x50)
                {
                    removeFamilyFlag = 0x50;
                    removeState = AURA_STATE_SWIFTMEND;     // Swiftmend aura state

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