From cfda69d1ae94baf5e41b318ffd00dd227f8ddf69 Mon Sep 17 00:00:00 2001 From: haranp Date: Mon, 7 May 2007 14:05:46 +0000 Subject: 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 --- crawl-ref/source/spl-util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/spl-util.h') 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); -- cgit v1.2.3-54-g00ecf