summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-14 15:04:48 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-14 15:04:48 +0000
commit26d250351778496b0bf2975ffc0c250b33b4dbd4 (patch)
treefe46665f8934f131937cf7b3447c5120bb34d3b5 /crawl-ref/source/spells2.cc
parent5f0047a46771cbb691ed76feb3a66d8bbbaf674d (diff)
downloadcrawl-ref-26d250351778496b0bf2975ffc0c250b33b4dbd4.tar.gz
crawl-ref-26d250351778496b0bf2975ffc0c250b33b4dbd4.zip
Fixing bugs:
- butterflies stay confused, even when reentering levels (Bug 1793061) - Hunters with Bow/Crossbow don't get Shields skill (FR 1762819), it sends the wrong message - abominations count as undead regardless of colour, at least the ones created via Twisted Resurrection (Bug 1784326) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2087 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index fce14a13dd..58113f4026 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -477,7 +477,8 @@ void cast_twisted(int power, beh_type corps_beh, int corps_hit)
|| num_corpses < (coinflip() ? 3 : 2))
{
mpr("The spell fails.");
- mpr("The corpses collapse into a pulpy mess.");
+ mprf("The corpse%s collapse%s into a pulpy mess.",
+ num_corpses > 1 ? "s": "", num_corpses > 1 ? "": "s");
return;
}
@@ -498,6 +499,9 @@ void cast_twisted(int power, beh_type corps_beh, int corps_hit)
mpr("The corpses collapse into a pulpy mess.");
else
{
+ // This was probably intended, but it's really boring. (jpeg)
+ // Use menv[mon].number instead (set in create_monster)
+// menv[mon].colour = colour;
mpr("The heap of corpses melds into an agglomeration of writhing flesh!");
if (type_resurr == MONS_ABOMINATION_LARGE)
{