summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-damage.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2014-03-12 19:31:22 -0230
committerDracoOmega <draco_omega@live.com>2014-03-12 19:52:19 -0230
commitbf4633e106d6a075d979cfa5fcaea3369de175f0 (patch)
tree29b0a3d5881f5cde3b9887420b35e290eeb944a6 /crawl-ref/source/spl-damage.cc
parentc7b2e23013d25a2b1de8051457f80216cdf55cfb (diff)
downloadcrawl-ref-bf4633e106d6a075d979cfa5fcaea3369de175f0.tar.gz
crawl-ref-bf4633e106d6a075d979cfa5fcaea3369de175f0.zip
Rescale DUR_POISONING from 4 times damage to 100 times damage
This is aimed at reducing some rounding errors for non-10 aut actions, and probably makes the scale clearer to read in any case.
Diffstat (limited to 'crawl-ref/source/spl-damage.cc')
-rw-r--r--crawl-ref/source/spl-damage.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-damage.cc b/crawl-ref/source/spl-damage.cc
index 35f4626841..c58dfb706f 100644
--- a/crawl-ref/source/spl-damage.cc
+++ b/crawl-ref/source/spl-damage.cc
@@ -1658,7 +1658,7 @@ static int _ignite_poison_player(coord_def where, int pow, int, actor *agent)
// natural poison (meaning that poisoned kobolds are not affected much
// worse than poisoned members of other races), but step down heavily beyond
// light poisoning (or we could easily one-shot a heavily poisoned character)
- str = max(str, (int)stepdown((double)you.duration[DUR_POISONING]/20, 2.25));
+ str = max(str, (int)stepdown((double)you.duration[DUR_POISONING]/500, 2.25));
int damage = roll_dice(str, 5 + pow/7);
if (damage)