summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-11-12 23:06:26 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-11-12 23:06:26 +0100
commit8287a306cd8725e3dcaa16363dcf7d10fe3d1832 (patch)
tree127c675d1a799c632ca9f29b7ac59e584d7c1305 /crawl-ref/source/skills.h
parent67213fe75280c7eba5b166dd23e9af904ea10873 (diff)
downloadcrawl-ref-8287a306cd8725e3dcaa16363dcf7d10fe3d1832.tar.gz
crawl-ref-8287a306cd8725e3dcaa16363dcf7d10fe3d1832.zip
Ash's progressive reskilling
Transfering skill points isn't instantaneous anymore, it's done each time you earn some XP. The rate might need some adjustment. It increases TAG_MINOR_VERSION
Diffstat (limited to 'crawl-ref/source/skills.h')
-rw-r--r--crawl-ref/source/skills.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills.h b/crawl-ref/source/skills.h
index c355c9930b..51b7b3b5b4 100644
--- a/crawl-ref/source/skills.h
+++ b/crawl-ref/source/skills.h
@@ -10,6 +10,7 @@
int skill_cost_needed(int level);
void calc_total_skill_points(void);
+int calc_skill_cost(int skill_cost_level, int skill_level);
void check_skill_level_change(skill_type sk, bool do_level_up = true);
void change_skill_level(skill_type exsk, int num_level);