update (core): Additional anticheat helper (#12692)
update (core): Addition anticheat helper
This commit is contained in:
parent
e476533e6e
commit
5fe01e2d19
1 changed files with 4 additions and 0 deletions
|
|
@ -1913,6 +1913,10 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
|
|||
case FORM_FLIGHT:
|
||||
case FORM_MOONKIN:
|
||||
{
|
||||
if (Player* player = target->ToPlayer())
|
||||
{
|
||||
player->SetCanTeleport(true);
|
||||
}
|
||||
// remove movement affects
|
||||
target->RemoveAurasByShapeShift();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue