summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-19 16:27:53 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-19 16:27:53 +0000
commit09368bdee93d7cfeef2f2f6483a3d301239a6bff (patch)
tree98b35f6dfeb3aa1d584203a28bca7c9adf6dc5e7 /crawl-ref/source/spells1.cc
parent7027d6e07332bbdf6322e4d0c1c7aed78c2231bc (diff)
downloadcrawl-ref-09368bdee93d7cfeef2f2f6483a3d301239a6bff.tar.gz
crawl-ref-09368bdee93d7cfeef2f2f6483a3d301239a6bff.zip
Added an invocable power to train Invocations for Lugonu (previously the first
power that could train Invocations was the 7mp demon summon). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1061 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index ae7546c451..81abfc781b 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -121,14 +121,15 @@ int blink(void)
return (1);
} // end blink()
-void random_blink(bool allow_partial_control)
+void random_blink(bool allow_partial_control, bool override_abyss)
{
int tx, ty;
bool succ = false;
if (scan_randarts(RAP_PREVENT_TELEPORTATION))
mpr("You feel a weird sense of stasis.");
- else if (you.level_type == LEVEL_ABYSS && !one_chance_in(3))
+ else if (you.level_type == LEVEL_ABYSS
+ && !override_abyss && !one_chance_in(3))
{
mpr("The power of the Abyss keeps you in your place!");
}