summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transform.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-13 08:52:04 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-13 08:52:04 -0700
commit74961bfa77b7e862025f62474f7cdacad4ae3cda (patch)
treeb93dcb041a6d9c0fd2a6ade8bc62a1513163ff11 /crawl-ref/source/transform.cc
parenta8837e0b6c084ee95719f41bb46c8555a5f82c30 (diff)
downloadcrawl-ref-74961bfa77b7e862025f62474f7cdacad4ae3cda.tar.gz
crawl-ref-74961bfa77b7e862025f62474f7cdacad4ae3cda.zip
Adjustments to Shadow Form.
Miasma is gone; miasma is more strongly associated with necromancy than anything related to darkness or shadows - see e.g. Corpse Rot, death drakes, etc. Fog still fires on every form of taking damage. Instead, the player is invisible when they are in shadow form (there's no glow cost for this; the costs of activating/maintaining the ability are supposed to be a sufficient counterbalance, but they might need to be adjusted further to make this so). The transformation power has been halved; on average now it lasts around 70 turns instead of lasting around 100 turns. This may need to be adjusted downwards further.
Diffstat (limited to 'crawl-ref/source/transform.cc')
-rw-r--r--crawl-ref/source/transform.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/crawl-ref/source/transform.cc b/crawl-ref/source/transform.cc
index 1ca2793057..a37b759b83 100644
--- a/crawl-ref/source/transform.cc
+++ b/crawl-ref/source/transform.cc
@@ -1173,6 +1173,10 @@ bool transform(int pow, transformation_type which_trans, bool involuntary,
case TRAN_SHADOW:
drain_exp(true, 25, true);
+ if (you.invisible())
+ mpr("You fade into the shadows.");
+ else
+ mpr("You feel less conspicuous.");
break;
default:
@@ -1335,8 +1339,13 @@ void untransform(bool skip_wielding, bool skip_move)
case TRAN_JELLY:
case TRAN_PORCUPINE:
case TRAN_WISP:
+ break;
+
case TRAN_SHADOW:
- mprf(MSGCH_DURATION, "Your transformation has ended.");
+ if (you.invisible())
+ mprf(MSGCH_DURATION, "You feel less shadowy.");
+ else
+ mprf(MSGCH_DURATION, "You emerge from the shadows.");
break;
case TRAN_APPENDAGE: