mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Spells): Troll Roof Stalker's Stealth and Ashenvale Outrunne… (#8984)
- Closes #8727
This commit is contained in:
@@ -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;
|
||||||
@@ -7421,6 +7421,13 @@ void SpellMgr::LoadDbcDataCorrections()
|
|||||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_ALWAYS_HIT;
|
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)
|
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
|
||||||
{
|
{
|
||||||
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);
|
SpellEntry* spellInfo = (SpellEntry*)sSpellStore.LookupEntry(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user