mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/Spells: fix some db errors
This commit is contained in:
1
sql/updates/world/3.3.5/2017_03_04_00_world.sql
Normal file
1
sql/updates/world/3.3.5/2017_03_04_00_world.sql
Normal file
@@ -0,0 +1 @@
|
||||
DELETE FROM `spell_proc` WHERE `SpellId` IN (8178, 38857);
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user