From 945b0cd6507cb5453e099e0cc245706f70c87d98 Mon Sep 17 00:00:00 2001 From: Stefan O'Rear Date: Mon, 2 Nov 2009 00:08:28 -0800 Subject: Implement 'Icemail' mutation for new DS --- crawl-ref/source/ouch.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crawl-ref/source/ouch.cc') diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc index 5fd554d40f..8a06b6357e 100644 --- a/crawl-ref/source/ouch.cc +++ b/crawl-ref/source/ouch.cc @@ -601,6 +601,13 @@ bool expose_player_to_element(beam_type flavour, int strength) { if (you.duration[DUR_CONDENSATION_SHIELD] > 0) remove_condensation_shield(); + + if (you.mutation[MUT_ICEMAIL]) + { + mpr("Your icy envelope dissipates!", MSGCH_DURATION); + you.duration[DUR_ICEMAIL_DEPLETED] = ICEMAIL_TIME; + you.redraw_armour_class = true; + } } if (strength <= 0) -- cgit v1.2.3-54-g00ecf