diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-07 14:05:46 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-07 14:05:46 +0000 |
commit | cfda69d1ae94baf5e41b318ffd00dd227f8ddf69 (patch) | |
tree | 8bf2606134d56b1a58e1206d2d7331fe3a0518db /crawl-ref/source/spl-util.h | |
parent | fa0e36a06cd154cc1d529dd7645ae47fab8af000 (diff) | |
download | crawl-ref-cfda69d1ae94baf5e41b318ffd00dd227f8ddf69.tar.gz crawl-ref-cfda69d1ae94baf5e41b318ffd00dd227f8ddf69.zip |
Spell power strings now reflect power caps.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1413 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 25335d0530..3c480d8668 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -25,8 +25,10 @@ struct spell_desc unsigned int disciplines; // bitfield unsigned int flags; // bitfield unsigned int level; + int power_cap; const char *target_prompt; + // If a monster is casting this, does it need a tracer? bool ms_needs_tracer; @@ -53,6 +55,8 @@ int spell_mana(spell_type which_spell); // * called from: chardump - it_use3 - player - spell - spl-book - // * spells0 - spells3 int spell_difficulty(spell_type which_spell); +int spell_power_cap(spell_type spell); + const char *get_spell_target_prompt( spell_type which_spell ); bool spell_needs_tracer(spell_type spell); |