summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-10 18:38:24 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-10 18:38:24 +0000
commit4bd4e54c8f73f474104e26b78bede21625f1d1ef (patch)
tree58dc3b0d3baf438e8fc037fd92231fd2c0f699bd /crawl-ref/source/spl-cast.h
parent567cf0316aef7e75f8d7f9306b897f12c5b9f4e7 (diff)
downloadcrawl-ref-4bd4e54c8f73f474104e26b78bede21625f1d1ef.tar.gz
crawl-ref-4bd4e54c8f73f474104e26b78bede21625f1d1ef.zip
Add comments documenting exceptions to the general rule of making
monster-creating spell (mis)casts produce god gifts. The exceptions are all natural phenomena treated as monsters: ball lightning, spatial vortices, and fire vortices. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5708 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.h')
-rw-r--r--crawl-ref/source/spl-cast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.h b/crawl-ref/source/spl-cast.h
index 26ca68c99a..c1fe93cc6e 100644
--- a/crawl-ref/source/spl-cast.h
+++ b/crawl-ref/source/spl-cast.h
@@ -72,8 +72,8 @@ spret_type your_spells(spell_type spell, int powc = 0, bool allow_fail = true);
* called from: acr - decks - fight - it_use2 - it_use3 - item_use - items -
* misc - mstuff2 - religion - spell - spl-book - spells4
* *********************************************************************** */
-void miscast_effect( unsigned int sp_type, int mag_pow, int mag_fail,
- int force_effect, const char *cause = NULL );
+void miscast_effect(unsigned int sp_type, int mag_pow, int mag_fail,
+ int force_effect, const char *cause = NULL);
const char* failure_rate_to_string( int fail );