First Commit
This commit is contained in:
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.
|
||||
21
doc/changelog/pendings/create.sh
Normal file
21
doc/changelog/pendings/create.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
unamestr=$(uname)
|
||||
echo "OS: $unamestr"
|
||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
rev=$(gdate +%s%N );
|
||||
else
|
||||
rev=$(date +%s%N );
|
||||
fi
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )";
|
||||
|
||||
filename=changes_"$rev".md
|
||||
|
||||
echo "Insert your changelog here
|
||||
|
||||
### How to upgrade
|
||||
|
||||
Add instructions on how to adapt the code to the new changes
|
||||
|
||||
" > "$CUR_PATH/$filename" && echo "File created: $filename";
|
||||
Reference in New Issue
Block a user