summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-13 20:40:39 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-13 20:40:39 +0000
commit9fecb788095cc5315ef5f1485e0b736563a21460 (patch)
tree4dd717741b428607d8b91ce4a5dd05044c2e0d2f /crawl-ref/source/effects.cc
parentcab797009b47f77520b8db9f8b427ba9ea14f63c (diff)
downloadcrawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.tar.gz
crawl-ref-9fecb788095cc5315ef5f1485e0b736563a21460.zip
* Add stair repelling as a bad Xom effect.
* Experimentally make tension increase the odds for good effects. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9600 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 509fc8c2c8..2bccb6103a 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -3201,15 +3201,15 @@ void handle_time(long time_delta)
mutagenic_randart = true;
}
- // we take off about .5 points per turn
+ // We take off about .5 points per turn.
if (!you.duration[DUR_INVIS] && !you.duration[DUR_HASTE] && coinflip())
added_contamination--;
- // only punish if contamination caused by mutagenic randarts
- // (haste and invisibility already penalized earlier)
+ // Only punish if contamination caused by mutagenic randarts.
+ // (Haste and invisibility already penalized earlier.)
contaminate_player( added_contamination, mutagenic_randart );
- // only check for badness once every other turn
+ // Only check for badness once every other turn.
if (coinflip())
{
// [ds] Be less harsh with glow mutation; Brent and Mark Mackey note
@@ -3255,7 +3255,7 @@ void handle_time(long time_delta)
beam.explode();
}
- // we want to warp the player, not do good stuff!
+ // We want to warp the player, not do good stuff!
if (one_chance_in(5))
mutate(RANDOM_MUTATION);
else