summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-08 10:31:06 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-08 10:31:06 +0000
commitfe7815c7cb2e5e214d66c10b82f7b6543f8f7622 (patch)
tree6d3fbce66002ee33c696ae162f631a3a6cd6df58
parentc933f5690e4e288a483e92479819d21dbc465afa (diff)
downloadcrawl-ref-fe7815c7cb2e5e214d66c10b82f7b6543f8f7622.tar.gz
crawl-ref-fe7815c7cb2e5e214d66c10b82f7b6543f8f7622.zip
Fixed beta 26 bug: Glow contamination has an extremely severe mutation rate.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@363 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/items.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 96b860a63f..c04516a5e4 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -2616,8 +2616,14 @@ void handle_time( long time_delta )
// only check for badness once every other turn
if (coinflip())
{
+ // [ds] Be less harsh with glow mutation; Brent and Mark Mackey note
+ // that the commented out random2(X) <= MC check was a bug. I've
+ // uncommented it but dropped the roll sharply from 150. (Brent used
+ // the original roll of 150 for 4.1.2, but I think players are
+ // sufficiently used to beta 26's unkindness that we can use a lower
+ // roll.)
if (you.magic_contamination >= 5
- /* && random2(150) <= you.magic_contamination */)
+ && random2(50) <= you.magic_contamination)
{
mpr("Your body shudders with the violent release of wild energies!", MSGCH_WARN);