summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-08 23:30:48 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-08 23:30:48 +0000
commit7a1c3e204b6aff6c90615b0c30579783d0975877 (patch)
tree452ef0f6476016f31e5e946d567cbf056660a497 /crawl-ref/source/skills2.cc
parent4bfca1ba104c7d445c644543a81fea9614cc2ad1 (diff)
downloadcrawl-ref-7a1c3e204b6aff6c90615b0c30579783d0975877.tar.gz
crawl-ref-7a1c3e204b6aff6c90615b0c30579783d0975877.zip
To make Zin's Revitalisation less of a potion effect, consoliodate the
negative status removal effects into the first 3 steps, and add divine robustness as the last 3 steps (as it counteracts frailty, one of Xom's favored negative mutations). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4936 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/skills2.cc')
-rw-r--r--crawl-ref/source/skills2.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.cc b/crawl-ref/source/skills2.cc
index c8c94d55c0..a670ccf232 100644
--- a/crawl-ref/source/skills2.cc
+++ b/crawl-ref/source/skills2.cc
@@ -2112,6 +2112,7 @@ int calc_hp(bool real_hp)
// frail and robust mutations
hitp *= (10 + player_mutation_level(MUT_ROBUST)
+ + you.attribute[ATTR_DIVINE_ROBUSTNESS]
- player_mutation_level(MUT_FRAIL));
hitp /= 10;