diff options
author | Charles Otto <ottochar@gmail.com> | 2009-11-15 00:11:40 -0500 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-11-15 23:46:23 -0500 |
commit | 2cc88f46f53a765e1cfaf7214a08540421f7f694 (patch) | |
tree | 4d50fa28008d8a4d3af62f0632a4ec1ad3a14992 /crawl-ref/source/spl-mis.cc | |
parent | 08a05ceabdeee2bdb7f6257b9e5e5ae845159ab2 (diff) | |
download | crawl-ref-2cc88f46f53a765e1cfaf7214a08540421f7f694.tar.gz crawl-ref-2cc88f46f53a765e1cfaf7214a08540421f7f694.zip |
Modify DUR_LIQUID_FLAMES to count delay instead of turns
Decrease (and increase) sticky flames duration by the players delay
instead of using perceived turns. This is a behavioral change,
previously sticky flame did damage proportional to delay but the
counter was only decreased once per perceived turn. Compared to the
old behavior slow players take less damage and fast players take more
damage over the course of the sticky flame.
Diffstat (limited to 'crawl-ref/source/spl-mis.cc')
-rw-r--r-- | crawl-ref/source/spl-mis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-mis.cc b/crawl-ref/source/spl-mis.cc index 78882d374c..dcc7c1764d 100644 --- a/crawl-ref/source/spl-mis.cc +++ b/crawl-ref/source/spl-mis.cc @@ -2110,7 +2110,7 @@ void MiscastEffect::_fire(int severity) do_msg(); if (target->atype() == ACT_PLAYER) - you.duration[DUR_LIQUID_FLAMES] += random2avg(7, 3) + 1; + napalm_player(random2avg(7,3) + 1); else { monsters* mon_target = target_as_monster(); |