mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Core/Spells): correct Headless Horseman flying model (#27497)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
--
|
||||
UPDATE `creature_template_model` SET `VerifiedBuild` = 51831
|
||||
WHERE `CreatureID` = 27153 AND `Idx` = 0 AND `CreatureDisplayID` = 25958;
|
||||
DELETE FROM `creature_template_model` WHERE `CreatureID` = 27153 AND `Idx` = 1 AND `CreatureDisplayID` = 25159;
|
||||
@@ -69,6 +69,12 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(347); // 15 min
|
||||
});
|
||||
|
||||
// Headless Horseman's Mount - use the flying creature model for the flying variants
|
||||
ApplySpellFix({ 48023, 51617 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->Effects[EFFECT_0].MiscValue = 27152;
|
||||
});
|
||||
|
||||
// Elixir of Minor Fortitude
|
||||
ApplySpellFix({ 2378 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user