Describe your feature request or suggestion in detail
In Player:: ResurrectPlayer, there is currently a method call of sScriptMgr ->OnPlayerResurrect (this, restore_percent, applySickness), but this method is called after the resurrection takes effect, and has no ability to interfere with whether the player role can be resurrected. I think it is necessary to add an onBeforePlayerResurrect method before processing the resurrection logic, and decide whether to execute resurrection according to the method return value, This can easily implement features such as hard core mode
Describe a possible solution to your feature or suggestion in detail
Describe your feature request or suggestion in detail
In Player:: ResurrectPlayer, there is currently a method call of sScriptMgr ->OnPlayerResurrect (this, restore_percent, applySickness), but this method is called after the resurrection takes effect, and has no ability to interfere with whether the player role can be resurrected. I think it is necessary to add an onBeforePlayerResurrect method before processing the resurrection logic, and decide whether to execute resurrection according to the method return value, This can easily implement features such as hard core mode
Describe a possible solution to your feature or suggestion in detail
No response
Additional context
No response