feat(Scripting/Hooks): implement OnQuestComputeXP() hook (#10934)

This commit is contained in:
ZhengPeiRu21 2022-03-24 03:27:15 -06:00 committed by GitHub
parent 9ae0b4e425
commit 44b7a0666c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,7 @@
### Added
- New hook for OnQuestComputeXP(). The intended use is to change the XP values for certain quests programmatically. The hook is triggered after XP calculation and before rewarding XP or gold to the player.
### How to upgrade
- No special changes needed. The new hook is available for use and should not interfere with any existing hooks or logic.