summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-summoning.h
diff options
context:
space:
mode:
authorEd Gonzalez <ed.gonzalez3@gmail.com>2013-06-12 03:13:51 -0700
committerEd Gonzalez <ed.gonzalez3@gmail.com>2013-06-12 03:13:51 -0700
commit8e3e18e8898df2c752470f1eb1cfdae82d053695 (patch)
tree10ef359d934cb0b286f802f607e4dcfbfdb5ae83 /crawl-ref/source/spl-summoning.h
parent8793e2d34f3455f35aaa2e218dd353668c3d0565 (diff)
downloadcrawl-ref-8e3e18e8898df2c752470f1eb1cfdae82d053695.tar.gz
crawl-ref-8e3e18e8898df2c752470f1eb1cfdae82d053695.zip
Initial casing for monster spectral weapon.
There's no way for a monster to cast it, even if it were on its spell list, but the spectral weapon code largely is aware of its owner now. Known issues: - The spectral weapon doesn't fade following the defeat of its owner. - Enemy monster spectral weapon attacks freely. - Allied monster spectral weapon never attacks. - Spectral weapon doesn't follow charming/uncharming of its owner.
Diffstat (limited to 'crawl-ref/source/spl-summoning.h')
-rw-r--r--crawl-ref/source/spl-summoning.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-summoning.h b/crawl-ref/source/spl-summoning.h
index c305690722..ff85ffd08b 100644
--- a/crawl-ref/source/spl-summoning.h
+++ b/crawl-ref/source/spl-summoning.h
@@ -92,6 +92,6 @@ void reset_battlesphere(monster* mons);
spret_type cast_fulminating_prism(int pow, const coord_def& where, bool fail);
monster* find_spectral_weapon(const actor* agent);
-spret_type cast_spectral_weapon(int pow, bool fail);
+spret_type cast_spectral_weapon(actor *agent, int pow, god_type god, bool fail);
void end_spectral_weapon(monster* mons, bool killed, bool quiet=false);
#endif