summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-29 12:43:34 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-29 12:43:34 +0000
commit996361d167065bc29bef5da248e3d18bd0d9cbab (patch)
treebac3e756a6c0a8d10988563761cdb297652cd9c6 /crawl-ref/source/spl-cast.cc
parent262fc856ccb0dbc4462aa71cfb7f56d81cd9b03d (diff)
downloadcrawl-ref-996361d167065bc29bef5da248e3d18bd0d9cbab.tar.gz
crawl-ref-996361d167065bc29bef5da248e3d18bd0d9cbab.zip
* When Xom decides to cast Magic Mapping or send you on a teleportation
journey, use a random sample of level grids as a guesstimate of the explored portion of the level, and reduce chances for mostly explored levels. * Don't attempt to cast spells you wouldn't be able to cast (e.g. the transformations for undead). * Tweak random uselessness messages as per FR 2595700. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9565 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 085426734a..f8d54c1e02 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1978,9 +1978,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail)
case SPELL_MAGIC_MAPPING:
if (you.level_type == LEVEL_PANDEMONIUM)
- {
mpr("Your Earth magic cannot map Pandemonium.");
- }
else
{
powc = stepdown_value( powc, 10, 10, 40, 45 );