diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2010-11-11 00:04:29 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2010-11-11 00:04:29 +0100 |
commit | 6bd2a451f10b6d0b6dc5f2ff928c6d123b34b6f1 (patch) | |
tree | 2e2a7a1d748b073b3a87736e38a075d87dd287e7 /crawl-ref/source/skills.h | |
parent | 538dc9027eea2b09e5e888a24b16c9bc249dc6c1 (diff) | |
download | crawl-ref-6bd2a451f10b6d0b6dc5f2ff928c6d123b34b6f1.tar.gz crawl-ref-6bd2a451f10b6d0b6dc5f2ff928c6d123b34b6f1.zip |
Refactor Ashenzari transfer knowledge abiliy
Make it compatible with the new anti-training system. It is also much simpler
and don't use the exercise function anymore.
Diffstat (limited to 'crawl-ref/source/skills.h')
-rw-r--r-- | crawl-ref/source/skills.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/skills.h b/crawl-ref/source/skills.h index e739a792c9..2be55eefc9 100644 --- a/crawl-ref/source/skills.h +++ b/crawl-ref/source/skills.h @@ -11,9 +11,9 @@ 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 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 change_level = true); +void change_skill_points(skill_type sk, int points, bool do_level_up); bool is_antitrained(skill_type sk); float crosstrain_bonus(skill_type exsk); |