summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godwrath.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-13 15:38:23 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-13 17:19:02 -0700
commitd22ebac678fa1c1d0a60048a72ba445e3ed190d1 (patch)
treea63ccd59b4bb01408be9fc5843c20f2f878e2cd2 /crawl-ref/source/godwrath.cc
parent5562ea36cc1ba917da155a9dd93e6bf71d022771 (diff)
downloadcrawl-ref-d22ebac678fa1c1d0a60048a72ba445e3ed190d1.tar.gz
crawl-ref-d22ebac678fa1c1d0a60048a72ba445e3ed190d1.zip
Separate 'permanent' and 'temporary' monster hit dice
As part of a wider scheme to make draining temporary.
Diffstat (limited to 'crawl-ref/source/godwrath.cc')
-rw-r--r--crawl-ref/source/godwrath.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc
index acc37b75f5..e1b9a20e5d 100644
--- a/crawl-ref/source/godwrath.cc
+++ b/crawl-ref/source/godwrath.cc
@@ -466,7 +466,7 @@ static bool _makhleb_retribution()
avatar->mname = "the fury of Makhleb";
avatar->flags |= MF_NAME_REPLACE;
avatar->attitude = ATT_HOSTILE;
- avatar->hit_dice = you.experience_level;
+ avatar->set_hit_dice(you.experience_level);
spell_type spell = SPELL_NO_SPELL;
const int severity = min(random_range(you.experience_level / 14,
@@ -1020,7 +1020,7 @@ static bool _vehumet_retribution()
avatar->mname = "the wrath of Vehumet";
avatar->flags |= MF_NAME_REPLACE;
avatar->attitude = ATT_HOSTILE;
- avatar->hit_dice = you.experience_level;
+ avatar->set_hit_dice(you.experience_level);
spell_type spell = SPELL_NO_SPELL;
const int severity = min(random_range(1 + you.experience_level / 5,