From da4f06859fd49393ddd82c07a0586a20cb5ad4f6 Mon Sep 17 00:00:00 2001 From: panikon Date: Fri, 11 Jul 2014 19:16:47 -0300 Subject: 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 --- doc/script_commands.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'doc/script_commands.txt') 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 ,; 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. --------------------------------------- -- cgit v1.2.3-60-g2f50