diff options
author | panikon <panikon@zoho.com> | 2014-07-11 19:16:47 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-07-11 19:16:47 -0300 |
commit | da4f06859fd49393ddd82c07a0586a20cb5ad4f6 (patch) | |
tree | 90c2b0052c5eaa49e5f1ef41b13ad25d555eaae1 /doc/script_commands.txt | |
parent | 901a8c9cdf891fb65e160094e52346b2aa4e9754 (diff) | |
download | hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.tar.gz hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.tar.bz2 hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.tar.xz hercules-da4f06859fd49393ddd82c07a0586a20cb5ad4f6.zip |
Fixed issue with quest exp and bonuses, issue: 8247 http://hercules.ws/board/index.php?app=tracker&showissue=8247
Corrected *getexp documentation
Documented and changed pc_gainexp type
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index f83b6a278..d2a3d80eb 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4383,14 +4383,14 @@ they will also have their skills reset upon 'changesex'. *getexp <base xp>,<job xp>; This command will give the invoking character a specified number of base -and job experience points. Can be used as a quest reward. Negative values +and job experience points. Should be used as a quest reward. Negative values won't work. +Is subject to EXP bonuses and to the `quest_exp_rate` config option. getexp 10000,5000; -You can also assign directly to the constants defined in 'db/const.txt': +You can also assign directly to the parameters defined in 'db/const.txt': - // These 2 combined has the same effect as the above command BaseExp += 10000; JobExp += 5000; @@ -4398,9 +4398,7 @@ You can also reduce the amount of experience points: BaseExp -= 10000; -Note that 'getexp' is now subject to the 'quest_exp_rate' config option, -which adjusts the gained value. If you want to bypass this, use the 'set' -method. +When setting the parameters directly no bonuses or config options are applied. --------------------------------------- |