fix(GlobalMethods): Missing player events (#307)

Co-authored-by: iThorgrim <125808072+iThorgrim@users.noreply.github.com>
This commit is contained in:
Aldori
2025-09-04 05:47:12 -04:00
committed by GitHub
parent b5a8130cb0
commit 9be4ef5485

View File

@@ -775,6 +775,10 @@ namespace LuaGlobalFunctions
* PLAYER_EVENT_ON_BG_DESERTION = 57, // (event, player, type)
* PLAYER_EVENT_ON_PET_KILL = 58, // (event, player, killer)
* PLAYER_EVENT_ON_CAN_RESURRECT = 59, // (event, player)
* PLAYER_EVENT_ON_CAN_UPDATE_SKILL = 60, // (event, player, skill_id) -- Can return true or false
* PLAYER_EVENT_ON_BEFORE_UPDATE_SKILL = 61, // (event, player, skill_id, value, max, step) -- Can return new amount
* PLAYER_EVENT_ON_UPDATE_SKILL = 62, // (event, player, skill_id, value, max, step, new_value)
* PLAYER_EVENT_ON_QUEST_ACCEPT = 63, // (event, player, quest)
* };
* </pre>
*