fix(Core/Spells): Troll Roof Stalker's Stealth and Ashenvale Outrunne… (#8984)

- Closes #8727
This commit is contained in:
UltraNix
2021-11-07 20:41:07 +01:00
committed by GitHub
parent 9f0a78a0ca
commit b00e9072b4
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1636144391799645100');
UPDATE `creature_template` SET `AiName`='' WHERE `entry`=23090;
UPDATE `creature_template_addon` SET `auras`='18950 32199' WHERE `entry`=23090;
DELETE FROM `smart_scripts` WHERE `entryorguid`=23090;
UPDATE `creature_template_addon` SET `auras`='20540' WHERE `entry`=12856;
DELETE FROM `smart_scripts` WHERE `entryorguid`=12856 AND `id`=3;

View File

@@ -7421,6 +7421,13 @@ void SpellMgr::LoadDbcDataCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
});
// Ashenvale Outrunner Sneak
// Stealth
ApplySpellFix({ 20540, 32199 }, [](SpellEntry* spellInfo)
{
spellInfo->AuraInterruptFlags |= (AURA_INTERRUPT_FLAG_MELEE_ATTACK | AURA_INTERRUPT_FLAG_CAST);
});
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
{
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);