summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-08-03 20:49:16 -0400
committerNeil Moore <neil@s-z.org>2012-08-03 20:54:33 -0400
commit383b96f35e5d3cbe8b208cc13dac2ee163635f19 (patch)
tree29439bce5a2ffc4ce2ea5a5166f3c94c3a70806d /crawl-ref/source/skills.h
parentdaa519b60d1c3d341dfece4ea78e2cebeadb6359 (diff)
downloadcrawl-ref-383b96f35e5d3cbe8b208cc13dac2ee163635f19.tar.gz
crawl-ref-383b96f35e5d3cbe8b208cc13dac2ee163635f19.zip
Don't force Troglodytes to train magic skills.
Also, remove a few special cases that considered Spellcasting to be non-magic below level one for Troglodytes; this hasn't been necessary since scrolls stopped training Spellcasting in ee84c39. This reverts commit 1d240c20e937d950ff3de459d85665fcc06969ff.
Diffstat (limited to 'crawl-ref/source/skills.h')
-rw-r--r--crawl-ref/source/skills.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/skills.h b/crawl-ref/source/skills.h
index 6b97034b36..7090899f6e 100644
--- a/crawl-ref/source/skills.h
+++ b/crawl-ref/source/skills.h
@@ -28,6 +28,8 @@ void check_skill_level_change(skill_type sk, bool do_level_up = true);
void change_skill_level(skill_type exsk, int num_level);
void change_skill_points(skill_type sk, int points, bool do_level_up);
+bool is_magic_skill(skill_type sk);
+
void exercise(skill_type exsk, int deg);
void train_skills(bool simu = false);
void train_skill(skill_type skill, int exp);