Core/Spell: disable proc for magnet auras, they're handled differently

Closes #19208
This commit is contained in:
ariel- authored and Aokromes committed 2017-03-03 01:33:07 +01:00
1 parent 22c4d86dfe
commit 936ddbff9b
1 file changed
+5
+5
View File
@@ -3025,6 +3025,11 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[j].TargetA = SpellImplicitTargetInfo(TARGET_UNIT_CASTER);
}
// disable proc for magnet auras, they're handled differently
for (uint8 j = 0; j < MAX_SPELL_EFFECTS; ++j)
if (spellInfo->Effects[j].IsAura(SPELL_AURA_SPELL_MAGNET))
spellInfo->ProcFlags = 0;
if (spellInfo->ActiveIconID == 2158) // flight
spellInfo->Attributes |= SPELL_ATTR0_PASSIVE;