diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-03-24 21:36:40 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-03-24 21:36:40 +0100 |
commit | 0440419004af10b28204fc210bf0941aed41f770 (patch) | |
tree | a22d4b40e6f8e80128d3ed825a9a0883688ed2d5 /crawl-ref/source/skills2.h | |
parent | df38e3068a52ad5a90a3fe6c1a1ff182aa4b6e3f (diff) | |
download | crawl-ref-0440419004af10b28204fc210bf0941aed41f770.tar.gz crawl-ref-0440419004af10b28204fc210bf0941aed41f770.zip |
Don't acquire manuals or sage to utterly useless skills.
This does not include skills that are merely forbidden by your god, those
get half the weight for acquirement.
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r-- | crawl-ref/source/skills2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h index 9646f1d9f1..d20ba06bd2 100644 --- a/crawl-ref/source/skills2.h +++ b/crawl-ref/source/skills2.h @@ -37,6 +37,7 @@ void init_skill_order(); void calc_mp(); void calc_hp(); +bool is_useless_skill(int skill); int species_apt(skill_type skill, species_type species = you.species); float species_apt_factor(skill_type sk, species_type sp = you.species); |