mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix (Core/Spell): Shadowform Dispel (#13155)
This commit is contained in:
@@ -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:
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user