summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-zap.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-03-02 14:16:01 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-03-02 14:56:49 +0100
commit76809b1cc0fcb9fc4f8217adaa457d1ab6be1a62 (patch)
tree8976e8143a527501d78f2f652c41e6d2a0136794 /crawl-ref/source/spl-zap.h
parentee5e51cb93c3ffe789aa636f25ebf079cef55a46 (diff)
downloadcrawl-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.h3
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