summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-20 21:41:15 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-20 21:41:15 +0000
commit266bf3090d34f03bbf4f54b19bb2563225ef4cd3 (patch)
tree33e6b8590b0be72091120bb5a93997f82c15d1f9 /crawl-ref/source/spells1.cc
parent8cd4205a9eb0ac8a7f8d05bf92689e08f739ac41 (diff)
downloadcrawl-ref-266bf3090d34f03bbf4f54b19bb2563225ef4cd3.tar.gz
crawl-ref-266bf3090d34f03bbf4f54b19bb2563225ef4cd3.zip
Clean Zin's Vitalisation up a bit more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5159 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index c1a9cebdba..60775e86bb 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -1023,9 +1023,9 @@ stamina_robustness:
you.attribute[ATTR_DIVINE_ROBUSTNESS]++;
you.duration[DUR_DIVINE_ROBUSTNESS] +=
- (step == 1) ? (you.skills[SK_INVOCATIONS] * 2) :
- (step == 3) ? (you.skills[SK_INVOCATIONS])
- : (you.skills[SK_INVOCATIONS] / 2);
+ (estep == 0) ? (you.skills[SK_INVOCATIONS] * 2) :
+ (estep == 1) ? (you.skills[SK_INVOCATIONS])
+ : (you.skills[SK_INVOCATIONS] / 2);
const int old_hp_max = you.hp_max;
calc_hp();