update (core): Additional anticheat helper (#12692)
update (core): Addition anticheat helper
This commit is contained in:
@@ -1913,6 +1913,10 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
|
|||||||
case FORM_FLIGHT:
|
case FORM_FLIGHT:
|
||||||
case FORM_MOONKIN:
|
case FORM_MOONKIN:
|
||||||
{
|
{
|
||||||
|
if (Player* player = target->ToPlayer())
|
||||||
|
{
|
||||||
|
player->SetCanTeleport(true);
|
||||||
|
}
|
||||||
// remove movement affects
|
// remove movement affects
|
||||||
target->RemoveAurasByShapeShift();
|
target->RemoveAurasByShapeShift();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user