mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
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:
@@ -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);
|
||||||
@@ -4166,11 +4166,6 @@ void SpellMgr::LoadSpellInfoCorrections()
|
|||||||
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(152); // 150 yards
|
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(152); // 150 yards
|
||||||
});
|
});
|
||||||
|
|
||||||
ApplySpellFix({ 22247 }, [](SpellInfo* spellInfo)
|
|
||||||
{
|
|
||||||
spellInfo->AttributesCu |= SPELL_ATTR0_CU_DONT_BREAK_STEALTH;
|
|
||||||
});
|
|
||||||
|
|
||||||
// Manastorm
|
// Manastorm
|
||||||
ApplySpellFix({ 21097 }, [](SpellInfo* spellInfo)
|
ApplySpellFix({ 21097 }, [](SpellInfo* spellInfo)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user