mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
feat(Core/Entities): add OnPlayerCanGiveLevel script hook (#21666)
This commit is contained in:
@@ -463,6 +463,7 @@ public: /* PlayerScript */
|
||||
void OnPlayerBeforeUpdateSkill(Player* player, uint32 skill_id, uint32& value, uint32 max, uint32 step);
|
||||
void OnPlayerUpdateSkill(Player* player, uint32 skillId, uint32 value, uint32 max, uint32 step, uint32 newValue);
|
||||
bool OnPlayerCanResurrect(Player* player);
|
||||
bool OnPlayerCanGiveLevel(Player* player, uint8 newLevel);
|
||||
|
||||
// Anti cheat
|
||||
void AnticheatSetCanFlybyServer(Player* player, bool apply);
|
||||
|
||||
Reference in New Issue
Block a user