update (core): Knock Back Helpers (#12639)

Adds knock back helpers to the core for future core and module use.
This commit is contained in:
M'Dic
2022-08-05 20:15:58 -04:00
committed by GitHub
parent 9c7a211106
commit 825db0f8c1
3 changed files with 5 additions and 0 deletions

View File

@@ -18727,6 +18727,7 @@ void Unit::KnockbackFrom(float x, float y, float speedXY, float speedZ)
player->SetCanFly(true, true);
sScriptMgr->AnticheatSetSkipOnePacketForASH(player, true);
player->SetCanKnockback(true);
}
}