Description |
From c0bd1939763652f2d19e8e36a3540bcf4cc973d4 Mon Sep 17 00:00:00 2001
From: Chris Oelmueller <chris.oelmueller@gmail.com>
Date: Wed, 5 Mar 2014 05:04:49 +0100
Subject: Make slow heal less annoying
---
crawl-ref/source/effects.cc | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index caecd38..6a54c4c 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2141,13 +2141,9 @@ static void _recover_stats(int time_delta)
}
}
- // Slow heal mutation. Applied last.
- // Each level reduces your stat recovery by one third.
- if (player_mutation_level(MUT_SLOW_HEALING) > 0
- && x_chance_in_y(player_mutation_level(MUT_SLOW_HEALING), 3))
- {
+ // Slow heal 3 mutation stops stat recovery.
+ if (player_mutation_level(MUT_SLOW_HEALING) == 3)
recovery = false;
- }
// Rate of recovery equals one level of MUT_DETERIORATION.
if (recovery && x_chance_in_y(4, 200))
--
1.9.0
|
Attached Files |
0001-Make-slow-heal-less-annoying.patch [^] (1,096 bytes) 2014-03-05 05:10 [Show Content] [Hide Content]From c0bd1939763652f2d19e8e36a3540bcf4cc973d4 Mon Sep 17 00:00:00 2001
From: Chris Oelmueller <chris.oelmueller@gmail.com>
Date: Wed, 5 Mar 2014 05:04:49 +0100
Subject: Make slow heal less annoying
---
crawl-ref/source/effects.cc | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index caecd38..6a54c4c 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2141,13 +2141,9 @@ static void _recover_stats(int time_delta)
}
}
- // Slow heal mutation. Applied last.
- // Each level reduces your stat recovery by one third.
- if (player_mutation_level(MUT_SLOW_HEALING) > 0
- && x_chance_in_y(player_mutation_level(MUT_SLOW_HEALING), 3))
- {
+ // Slow heal 3 mutation stops stat recovery.
+ if (player_mutation_level(MUT_SLOW_HEALING) == 3)
recovery = false;
- }
// Rate of recovery equals one level of MUT_DETERIORATION.
if (recovery && x_chance_in_y(4, 200))
--
1.9.0
|