feat(Scripting/Hooks): implement OnQuestComputeXP() hook (#10934)
This commit is contained in:
parent
9ae0b4e425
commit
44b7a0666c
4 changed files with 19 additions and 0 deletions
7
doc/changelog/pendings/changes_1647137971165231200.md
Normal file
7
doc/changelog/pendings/changes_1647137971165231200.md
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue