fix (Core/Spell): Shadowform Dispel (#13155)

This commit is contained in:
M'Dic
2022-09-28 12:13:46 -04:00
committed by GitHub
parent 77faa1d84d
commit ed68d1bffa
2 changed files with 16 additions and 0 deletions

View File

@@ -1800,6 +1800,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
switch (GetId()) switch (GetId())
{ {
case 47788: // Guardian Spirit case 47788: // Guardian Spirit
{
if (removeMode != AURA_REMOVE_BY_EXPIRE) if (removeMode != AURA_REMOVE_BY_EXPIRE)
break; break;
if (caster->GetTypeId() != TYPEID_PLAYER) if (caster->GetTypeId() != TYPEID_PLAYER)
@@ -1822,6 +1823,15 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
} }
break; break;
} }
case 47585: // Dispersion (fixed bug invisible as a Shadow Priest)
{
if (target->IsMounted())
{
target->CastSpell(target, 53444, true);
}
break;
}
}
break; break;
case SPELLFAMILY_ROGUE: case SPELLFAMILY_ROGUE:
{ {

View File

@@ -4403,6 +4403,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_1].Effect = 0; spellInfo->Effects[EFFECT_1].Effect = 0;
}); });
// WotLK Prologue Frozen Shade Visual, temp used to restore visual after Dispersion
ApplySpellFix({ 53444 }, [](SpellInfo* spellInfo)
{
spellInfo->DurationEntry = sSpellDurationStore.LookupEntry(27);
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i) for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{ {
SpellInfo* spellInfo = mSpellInfoMap[i]; SpellInfo* spellInfo = mSpellInfoMap[i];