diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-07-18 01:35:20 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-07-18 01:59:13 +0200 |
commit | fc886247b7a4a4a50a243517f69ace992afd34e4 (patch) | |
tree | 7de072e0ae9c473cda76aea832fe6a59ddbeb364 /crawl-ref/source/skills.h | |
parent | aa65e6ce1014c41bb5a4a94a39d1a1011ff502f6 (diff) | |
download | crawl-ref-fc886247b7a4a4a50a243517f69ace992afd34e4.tar.gz crawl-ref-fc886247b7a4a4a50a243517f69ace992afd34e4.zip |
Properly handle losing a skill.
It can happen when a draconian turns red or white and his weak skill is at
level 1. With the aptitude change, the skill lose its level.
Diffstat (limited to 'crawl-ref/source/skills.h')
-rw-r--r-- | crawl-ref/source/skills.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills.h b/crawl-ref/source/skills.h index cfb14a3906..9d74c6f7e5 100644 --- a/crawl-ref/source/skills.h +++ b/crawl-ref/source/skills.h @@ -23,5 +23,6 @@ void exercise(skill_type exsk, int deg); void train_skills(); void train_skills(int exp, const int cost); void train_skill(skill_type skill, int exp); +void lose_skill(skill_type sk); #endif |