Fix Feral Swiftness talent
Check for stances when re-applying passive outdoor-only spells.
Credit:
180b46e993
This commit is contained in:
parent
6b82018c2a
commit
b98f451880
@ -5756,7 +5756,8 @@ void Player::CheckAreaExploreAndOutdoor()
|
|||||||
ShapeshiftForm form = GetShapeshiftForm();
|
ShapeshiftForm form = GetShapeshiftForm();
|
||||||
if (!(spellInfo->Stances & (1 << (form - 1))))
|
if (!(spellInfo->Stances & (1 << (form - 1))))
|
||||||
{ continue; }
|
{ continue; }
|
||||||
|
if ((spellInfo->Stances || spellInfo->StancesNot) && !IsNeedCastSpellAtFormApply(spellInfo, GetShapeshiftForm()))
|
||||||
|
continue;
|
||||||
CastSpell(this, itr->first, true, NULL);
|
CastSpell(this, itr->first, true, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user