diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-01-10 11:42:50 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-01-10 13:45:26 +0100 |
commit | 5354b819a15bf3bd7c33c550cf776f0ff5ce0eb9 (patch) | |
tree | 773d8e61a10a8d1aede0a651bb6c36d693e1b59d /crawl-ref/source/spl-cast.h | |
parent | d032bde6013592498f7e825fe2f980879f76d1e5 (diff) | |
download | crawl-ref-5354b819a15bf3bd7c33c550cf776f0ff5ce0eb9.tar.gz crawl-ref-5354b819a15bf3bd7c33c550cf776f0ff5ce0eb9.zip |
Auto-id staves if you can cast spells at all.
It's a matter of casting any spell twenty times or so at most.
Staves of channeling can be evoked with no spellcasting skills too (useful
for invocations/rods/guardian spirit).
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r-- | crawl-ref/source/spl-cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h index ca68ff0a9a..7c9d2f6162 100644 --- a/crawl-ref/source/spl-cast.h +++ b/crawl-ref/source/spl-cast.h @@ -65,7 +65,7 @@ int spell_enhancement(unsigned int typeflags); bool cast_a_spell(bool check_range, spell_type spell = SPELL_NO_SPELL); -bool maybe_identify_staff(item_def &item, spell_type spell = SPELL_NO_SPELL); +void maybe_identify_staff(item_def &item); void inspect_spells(); void do_cast_spell_cmd(bool force); |