mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/Spell: disable proc for magnet auras, they're handled differently
Closes #19208
This commit is contained in:
@@ -2782,6 +2782,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user