[Hide Content]From 042066b73a26418592e49f815518bfc2c79d81d7 Mon Sep 17 00:00:00 2001
From: lrvs <ivan@diodegames.eu>
Date: Wed, 20 Aug 2014 22:58:23 +0200
Subject: [PATCH] Remove beam is likely to hit you promt from Freezing Cloud
spell if player has Freezing Cloud Immunity mutation.
---
crawl-ref/source/beam.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index ab7d59c..abc7527 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -3199,7 +3199,8 @@ bool bolt::harmless_to_player() const
case BEAM_COLD:
return is_big_cloud
&& (you.mutation[MUT_ICEMAIL]
- || you_worship(GOD_QAZLAL) && !player_under_penance());
+ || you_worship(GOD_QAZLAL) && !player_under_penance()
+ || you.mutation[MUT_FREEZING_CLOUD_IMMUNITY]);
case BEAM_ACID:
return false;
--
2.0.0.9650.gb31f626