Core/Spells: fix some db errors

This commit is contained in:
ariel-
2017-03-03 21:36:56 -03:00
parent 32c5d4f53f
commit ebba8dcba8
2 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1 @@
DELETE FROM `spell_proc` WHERE `SpellId` IN (8178, 38857);

View File

@@ -2783,9 +2783,8 @@ void SpellMgr::LoadSpellInfoCorrections()
}
// 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->HasAura(SPELL_AURA_SPELL_MAGNET))
spellInfo->ProcFlags = 0;
if (spellInfo->ActiveIconID == 2158) // flight
spellInfo->Attributes |= SPELL_ATTR0_PASSIVE;