diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2010-09-30 13:38:36 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-10-02 22:41:42 +0200 |
commit | af57ca8aa896601a85284d97d27b74f034bceb75 (patch) | |
tree | 4cc08a089c7e116e983f3dad02dfdd7c73d17e24 /crawl-ref/source/spl-book.h | |
parent | 5384d5792578739f525e7e1e5a44bbd739b136c6 (diff) | |
download | crawl-ref-af57ca8aa896601a85284d97d27b74f034bceb75.tar.gz crawl-ref-af57ca8aa896601a85284d97d27b74f034bceb75.zip |
Forget spell from book
Add a (F)orget this spell line when reading the spell description
of a known spell, from a book. Forgetting the spell destroys the book.
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 e13d430ff9..af461f76bb 100644 --- a/crawl-ref/source/spl-book.h +++ b/crawl-ref/source/spl-book.h @@ -39,6 +39,7 @@ int player_spell_skills(); bool learn_spell(); bool learn_spell(spell_type spell, int book = NUM_BOOKS, bool is_safest_book = true); +bool forget_spell_from_book(spell_type spell, const item_def* book); std::string desc_cannot_memorise_reason(bool undead); bool player_can_memorise_from_spellbook( const item_def &book ); |