summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-22 21:57:35 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-22 21:57:35 +0000
commitea78e3b88da2c70285b09f34c9c5d8230280405b (patch)
treeb4de694fd30792e67bf1ebde5e3f770794992949 /crawl-ref/source/xom.cc
parentf7cb474e41b75c37273b79d4fe5e7e24da81950d (diff)
downloadcrawl-ref-ea78e3b88da2c70285b09f34c9c5d8230280405b.tar.gz
crawl-ref-ea78e3b88da2c70285b09f34c9c5d8230280405b.zip
Swap '.' and '!' in the targetting interface.
Forbid bats wearing hats/caps or rings. (That makes amulets the only type of equipment Vampires can keep on when transforming.) To make up for it, increase their damage stats again. Also fix it being possible to (un)equip the allowed items in Tiles while in bat form. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6055 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index a933a075a3..8a27691849 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -117,10 +117,11 @@ static const char* _get_xom_speech(const std::string key)
if (result.empty())
result = getSpeakString("Xom general effect");
- if (!result.empty())
- return (result.c_str());
+ if (result.empty())
+ return ("Xom makes something happen.");
- return ("Xom makes something happen.");
+// mprf(MSGCH_DIAGNOSTICS, "Xom speech result: %s", result.c_str());
+ return (result.c_str());
}
static void _xom_is_stimulated(int maxinterestingness,