summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-miscast.h
diff options
context:
space:
mode:
authorWilliam Parker <thewparker@gmail.com>2011-03-22 02:51:48 -0700
committerAdam Borowski <kilobyte@angband.pl>2011-03-22 12:39:48 +0100
commit68a497cee3864d11c5d7c46093c843e3aa2136e8 (patch)
treec700e1dab851f41068a8f387e326993f375d6a97 /crawl-ref/source/spl-miscast.h
parent065c8a66524d6a0b8d38193f839e93bf634f7b47 (diff)
downloadcrawl-ref-68a497cee3864d11c5d7c46093c843e3aa2136e8.tar.gz
crawl-ref-68a497cee3864d11c5d7c46093c843e3aa2136e8.zip
Malign Gateway as a miscast effect; make failed banishment attempts from miscasts degrade into Malign Gateways.
Currently the degradation is silent and most of the code for Malign Gateway creation is duplicated from cast_malign_gateway; it may be desirable to change this.
Diffstat (limited to 'crawl-ref/source/spl-miscast.h')
-rw-r--r--crawl-ref/source/spl-miscast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-miscast.h b/crawl-ref/source/spl-miscast.h
index 8fe2afc4ef..b99bafb7f1 100644
--- a/crawl-ref/source/spl-miscast.h
+++ b/crawl-ref/source/spl-miscast.h
@@ -118,6 +118,7 @@ private:
void _potion_effect(potion_type pot_eff, int pot_pow);
bool _create_monster(monster_type what, int abj_deg, bool alert = false);
bool _send_abyss();
+ bool _malign_gateway();
void _do_poison(int amount);
bool avoid_lethal(int dam);