summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-05-28 03:45:14 -0500
committergammafunk <gammafunk@gmail.com>2014-05-28 12:50:50 -0500
commit474ca70ed42f27c2b1982d7c7637e5815c89be55 (patch)
tree066ee8d171d2026ac0396b1dabd6f5ded72f4a67 /crawl-ref/source/cloud.cc
parentafd1d1232c60c598fa064e3417b928de33d77a49 (diff)
downloadcrawl-ref-474ca70ed42f27c2b1982d7c7637e5815c89be55.tar.gz
crawl-ref-474ca70ed42f27c2b1982d7c7637e5815c89be55.zip
Rework demonspawn mutation tiers involving conservation
Since scroll/potion conservation is no longer relevant, I've split the flame/freezing cloud immunities that were part of icemail/fire blood into their own mutations. We now give these as the second mutation in both the tier-2 and tier-3 fire/ice mutation sets.
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 8d35e17ba5..35a5a08534 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -834,7 +834,7 @@ static bool _actor_cloud_immune(const actor *act, const cloud_struct &cloud)
return act->is_fiery()
|| player &&
(you.duration[DUR_FIRE_SHIELD]
- || you.mutation[MUT_IGNITE_BLOOD]
+ || you.mutation[MUT_FLAME_CLOUD_IMMUNITY]
#if TAG_MAJOR_VERSION == 34
|| you.species == SP_DJINNI
#endif
@@ -843,7 +843,7 @@ static bool _actor_cloud_immune(const actor *act, const cloud_struct &cloud)
return act->res_holy_fire() > 0;
case CLOUD_COLD:
return act->is_icy()
- || (player && you.mutation[MUT_ICEMAIL]);
+ || (player && you.mutation[MUT_FREEZING_CLOUD_IMMUNITY]);
case CLOUD_MEPHITIC:
return act->res_poison() > 0 || act->is_unbreathing();
case CLOUD_POISON: