summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index cbdd7309d4..2c8f655f44 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -2110,12 +2110,10 @@ int calc_hp(bool real_hp)
}
}
- // robust mutations and divine robustness don't stack
- const int robust = std::min(player_mutation_level(MUT_ROBUST)
- + you.attribute[ATTR_DIVINE_ROBUSTNESS], 3);
-
// frail and robust mutations, and divine robustness
- hitp *= (10 + robust - player_mutation_level(MUT_FRAIL));
+ hitp *= (10 + player_mutation_level(MUT_ROBUST)
+ + you.attribute[ATTR_DIVINE_ROBUSTNESS]
+ - player_mutation_level(MUT_FRAIL));
hitp /= 10;
you.hp_max = hitp;