diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-03-02 14:16:01 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-03-02 14:56:49 +0100 |
commit | 76809b1cc0fcb9fc4f8217adaa457d1ab6be1a62 (patch) | |
tree | 8976e8143a527501d78f2f652c41e6d2a0136794 /crawl-ref/source/spl-zap.h | |
parent | ee5e51cb93c3ffe789aa636f25ebf079cef55a46 (diff) | |
download | crawl-ref-76809b1cc0fcb9fc4f8217adaa457d1ab6be1a62.tar.gz crawl-ref-76809b1cc0fcb9fc4f8217adaa457d1ab6be1a62.zip |
spell_zap_power_cap: Translates zap power cap to spell power.
Diffstat (limited to 'crawl-ref/source/spl-zap.h')
-rw-r--r-- | crawl-ref/source/spl-zap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-zap.h b/crawl-ref/source/spl-zap.h index 4591a63d5e..8f85743b5e 100644 --- a/crawl-ref/source/spl-zap.h +++ b/crawl-ref/source/spl-zap.h @@ -6,4 +6,7 @@ zap_type spell_to_zap(spell_type spell); // Translate from spell to zap power (usually identical). int spell_zap_power(spell_type spell, int powc); +// Zaps have their own cap -- translate to spell power. +int spell_zap_power_cap(spell_type spell); + #endif |