summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-12-25 13:22:48 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-12-25 13:22:48 +1000
commite711d4b1bb15d82886af6fbf557d63e74f2b5fd0 (patch)
tree2d52b0ebf028be58db570f87e7282d0ff1fbb6f4 /crawl-ref/source/spells2.h
parent750012d6a9fc992d5651acd58a4eaff69dac106c (diff)
downloadcrawl-ref-e711d4b1bb15d82886af6fbf557d63e74f2b5fd0.tar.gz
crawl-ref-e711d4b1bb15d82886af6fbf557d63e74f2b5fd0.zip
A start at a dLua spells library.
Provides wrappers for non-player Toxic Radiance and Ozocubu's Refrigeration. These are basically just an adjustment of kill categories and messages to allow them to be used as background effects in WizLabs (Ozocubu's and Olgreb's). Hopefully a wrapper for monster (and possibly player)-cast bolt structures can also be included, which could then be accessed with the (planned) Lua traps functionality.
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r--crawl-ref/source/spells2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h
index c85b9ea605..64349079de 100644
--- a/crawl-ref/source/spells2.h
+++ b/crawl-ref/source/spells2.h
@@ -24,8 +24,8 @@ bool vampiric_drain(int pow, const dist &vmove);
int detect_creatures(int pow, bool telepathic = false);
int detect_items(int pow);
int detect_traps(int pow);
-void cast_refrigeration(int pow);
-void cast_toxic_radiance(void);
+void cast_refrigeration(int pow, bool non_player = false);
+void cast_toxic_radiance(bool non_player = false);
void drain_life(int pow);
bool restore_stat(unsigned char which_stat, unsigned char stat_gain,