summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-26 22:25:53 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-01-26 22:25:53 +0100
commit15f9564af6a3b7110457d28eea60a7812dc61e0f (patch)
tree7e151e80719ac750cc147a2d62174202d10e0975 /crawl-ref/source/skills.h
parent8e2100892ea82e72b5d9f2ca36f8374ed54481bd (diff)
downloadcrawl-ref-15f9564af6a3b7110457d28eea60a7812dc61e0f.tar.gz
crawl-ref-15f9564af6a3b7110457d28eea60a7812dc61e0f.zip
Allow setting skills from the tutorial map.
This is a hacky solution and only handles Spellcasting, Conjurations, and Invocations. Also, for the default skills already set in ng-setup reassess_starting_skills (now moved to skills.cc) is applied twice.
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 c429f35c2b..c5bcc7e20a 100644
--- a/crawl-ref/source/skills.h
+++ b/crawl-ref/source/skills.h
@@ -12,6 +12,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 reassess_starting_skills();
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);