fix(Core/Spells): Shapeshift should show in Old Hillsbrad Foothills a… (#19274)
fix(Core/Spells): Shapeshift should show in Old Hillsbrad Foothills as horde
This commit is contained in:
@@ -2011,7 +2011,7 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
|
|||||||
if (modelid > 0)
|
if (modelid > 0)
|
||||||
{
|
{
|
||||||
bool allow = true;
|
bool allow = true;
|
||||||
if (target->getTransForm())
|
if (target->getTransForm() && !target->GetMapId() == 560 /*The Escape From Durnholde*/)
|
||||||
if (SpellInfo const* transformSpellInfo = sSpellMgr->GetSpellInfo(target->getTransForm()))
|
if (SpellInfo const* transformSpellInfo = sSpellMgr->GetSpellInfo(target->getTransForm()))
|
||||||
if (transformSpellInfo->HasAttribute(SPELL_ATTR0_NO_IMMUNITIES) || !transformSpellInfo->IsPositive())
|
if (transformSpellInfo->HasAttribute(SPELL_ATTR0_NO_IMMUNITIES) || !transformSpellInfo->IsPositive())
|
||||||
allow = false;
|
allow = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user