summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-zap.h
diff options
context:
space:
mode:
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