summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorCharles Otto <ottochar@gmail.com>2009-10-10 23:07:21 -0400
committerCharles Otto <ottochar@gmail.com>2009-10-10 23:24:00 -0400
commite4f58176388fa16d5f76815af0900a35d9e61627 (patch)
tree44f11ae86e2a30d9389de496933ee92e6b1e6df5 /crawl-ref/source/spells1.cc
parentc9a5a4dea4e2dc99e9f50515c71ea71946f003c7 (diff)
downloadcrawl-ref-e4f58176388fa16d5f76815af0900a35d9e61627.tar.gz
crawl-ref-e4f58176388fa16d5f76815af0900a35d9e61627.zip
Patch 2873911 by Jude: add rain clouds
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 69181d7834..183855936b 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -1463,6 +1463,12 @@ void cast_teleport_control(int power)
void cast_ring_of_flames(int power)
{
+ // You shouldn't be able to cast this in the rain. {due}
+ if (in_what_cloud(CLOUD_RAIN))
+ {
+ mpr("Your spell sizzles in the rain.");
+ return;
+ }
_increase_duration(DUR_FIRE_SHIELD,
5 + (power / 10) + (random2(power) / 5), 50,
"The air around you leaps into flame!");