summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-11-10 20:52:07 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-11-10 20:52:07 +0100
commitb24ae68eaf4615a29d1b58f4e3d000f51e6fa6b0 (patch)
treeae92665789c46d5579dad846eecdcbe4616f1191 /crawl-ref/source/skills.h
parent237f81113d62eec492074b5f919a438f998578a6 (diff)
downloadcrawl-ref-b24ae68eaf4615a29d1b58f4e3d000f51e6fa6b0.tar.gz
crawl-ref-b24ae68eaf4615a29d1b58f4e3d000f51e6fa6b0.zip
Anti-training refactoring
Removed all the slower training conditions for magic schools and replaced it with double XP cost but only for opposite elemental schools.
Diffstat (limited to 'crawl-ref/source/skills.h')
-rw-r--r--crawl-ref/source/skills.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/skills.h b/crawl-ref/source/skills.h
index 6e236876a0..d11e6a74de 100644
--- a/crawl-ref/source/skills.h
+++ b/crawl-ref/source/skills.h
@@ -10,9 +10,13 @@
int skill_cost_needed(int level);
void calc_total_skill_points(void);
+
int check_skill_level_change(skill_type sk, bool just_check = false);
void change_skill_level(skill_type exsk, int num_level);
void change_skill_points(skill_type sk, int points, bool change_level = true);
+
+bool is_antitrained(skill_type sk);
+
int exercise(skill_type exsk, int deg, bool change_level = true);
#endif