diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-09-13 11:52:37 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-09-13 12:13:45 +0200 |
commit | 59837c53783234e59d8ef217a7d020f07b279bac (patch) | |
tree | b081be0ab759b82b58099f3878405673eba5e212 /crawl-ref/source/spl-book.h | |
parent | af5323ffe12e97af17cc887c1baf547416272fe6 (diff) | |
download | crawl-ref-59837c53783234e59d8ef217a7d020f07b279bac.tar.gz crawl-ref-59837c53783234e59d8ef217a7d020f07b279bac.zip |
player_spell_skills() counts if the player has any spellcasting skills.
Diffstat (limited to 'crawl-ref/source/spl-book.h')
-rw-r--r-- | crawl-ref/source/spl-book.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.h b/crawl-ref/source/spl-book.h index dc0760e417..e13d430ff9 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -35,6 +35,7 @@ int read_book( item_def &item, read_book_action_type action ); bool player_can_memorise(const item_def &book); bool can_learn_spell(bool silent = false); +int player_spell_skills(); bool learn_spell(); bool learn_spell(spell_type spell, int book = NUM_BOOKS, bool is_safest_book = true); |