diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2010-09-28 12:49:59 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-09-29 13:54:49 +0200 |
commit | f1034e17b6feecd10013692585cc82c320b269f2 (patch) | |
tree | af8f8d65fc6e0b9ebd68742ca289b0fb65692a31 /crawl-ref/source/spl-util.h | |
parent | d19347bdd28da387f47003f49ee3e1a25c2a9229 (diff) | |
download | crawl-ref-f1034e17b6feecd10013692585cc82c320b269f2.tar.gz crawl-ref-f1034e17b6feecd10013692585cc82c320b269f2.zip |
fix display of spells from rod
Remove schools and spell success (irrelevant for rods)
Real hunger cost is displayed
Average power is displayed (5+2*evoc) but real power is still randomized
Range use average power
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 86577f93d3..6e53562cd6 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -60,7 +60,7 @@ spell_type get_spell_by_letter( char letter ); bool add_spell_to_memory( spell_type spell ); bool del_spell_from_memory_by_slot( int slot ); -int spell_hunger(spell_type which_spell); +int spell_hunger(spell_type which_spell, bool rod = false); int spell_mana(spell_type which_spell); int spell_difficulty(spell_type which_spell); int spell_power_cap(spell_type spell); |