summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-you.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-04-11 11:37:38 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-04-11 15:17:23 +0200
commiteadd7590f22de5baf22c1194a88447989734d939 (patch)
tree1a7e737b6bcbff9e3e8cd3482c43ba325286a272 /crawl-ref/source/wiz-you.h
parentc1d7227aa2c5508bc60e62b0a28991087eb50cfe (diff)
downloadcrawl-ref-eadd7590f22de5baf22c1194a88447989734d939.tar.gz
crawl-ref-eadd7590f22de5baf22c1194a88447989734d939.zip
New option: fsim_scale.
It's used to configure which skills are used as a scale in fsim_simple_scale mode. By default, only the weapon skill is scaled. It takes a list of skills with an optional divider. weapon can be used for the default weapon skill for the simulation. Setting this option to: weapon, fighting/2 restores the behaviour of the old simulator. if XL is specified instead of a skill, then it will be used as the scale. Skills will be trained automatically, and the number provided for each skill will be used to set the training. For example: xl, weapon:2, fighting:1 means that 2/3 of xp will be used to train the weapon skill and 1/3 for fighting. / and : are both recognised as separators in normal and xl mode. However, given that there meaning is completely different, it's recommended to use / in normal mode and : in XL mode.
Diffstat (limited to 'crawl-ref/source/wiz-you.h')
-rw-r--r--crawl-ref/source/wiz-you.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-you.h b/crawl-ref/source/wiz-you.h
index 80b80b2adf..264fbfb5a9 100644
--- a/crawl-ref/source/wiz-you.h
+++ b/crawl-ref/source/wiz-you.h
@@ -18,6 +18,7 @@ void wizard_set_skill_level(skill_type skill = SK_NONE);
void wizard_set_all_skills(void);
void wizard_change_species(void);
void wizard_set_xl();
+void set_xl(const int newxl, const bool train);
bool wizard_add_mutation();
void wizard_set_stats(void);
void wizard_edit_durations(void);