feat(Core/Scripting): Add Player SetSkill hook (#25599)

This commit is contained in:
Robin Gustafsson
2026-05-24 09:16:56 +02:00
committed by GitHub
parent e1beea25e9
commit 0f1f1615e2
4 changed files with 10 additions and 0 deletions
+1
View File
@@ -462,6 +462,7 @@ public: /* PlayerScript */
bool OnPlayerCanUpdateSkill(Player* player, uint32 skillId);
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);
void OnPlayerSetSkill(Player* player, uint32 skillId, uint32 value, uint32 max, uint32 step, uint32 newValue);
bool OnPlayerCanResurrect(Player* player);
bool OnPlayerCanGiveLevel(Player* player, uint8 newLevel);
void OnPlayerSendListInventory(Player* player, ObjectGuid vendorGuid, uint32& vendorEntry);