fix(Core/Spells): Custom attributes belong in the DB (#11405)

* fix(Core/Spells): Custom attributes belong in the DB

* Update rev_1650033460420476500.sql
This commit is contained in:
Kitzunu
2022-04-23 16:36:06 +02:00
committed by GitHub
parent 28b8a81f3e
commit d6c195a989
2 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,5 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1650033460420476500');
DELETE FROM `spell_custom_attr` WHERE `spell_id` = 22247;
INSERT INTO `spell_custom_attr` (`spell_id`, `attributes`) VALUES
(22247, 0x00000040);

View File

@@ -4166,11 +4166,6 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(152); // 150 yards
});
ApplySpellFix({ 22247 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesCu |= SPELL_ATTR0_CU_DONT_BREAK_STEALTH;
});
// Manastorm
ApplySpellFix({ 21097 }, [](SpellInfo* spellInfo)
{