summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/goditem.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-03-15 22:02:28 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-03-15 22:02:51 -0600
commit06cfa3b5d85c0a9268ad7ed1f6a3ab3114b216e6 (patch)
treecfaf32210598355a1a903220abdcf20dd8f94925 /crawl-ref/source/goditem.cc
parent332c3c91e4c3930ab997c300285f42d379c47d0f (diff)
downloadcrawl-ref-06cfa3b5d85c0a9268ad7ed1f6a3ab3114b216e6.tar.gz
crawl-ref-06cfa3b5d85c0a9268ad7ed1f6a3ab3114b216e6.zip
Mark rod of clouds as possibly evil and possibly fiery (johnnyzero).
...since it gives negative energy clouds and clouds of flame.
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r--crawl-ref/source/goditem.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc
index 32edb5b111..9e41d8276f 100644
--- a/crawl-ref/source/goditem.cc
+++ b/crawl-ref/source/goditem.cc
@@ -145,8 +145,11 @@ bool is_potentially_evil_item(const item_def& item)
return true;
break;
case OBJ_RODS:
- if (item.sub_type == ROD_DESTRUCTION)
+ if (item.sub_type == ROD_DESTRUCTION
+ || item.sub_type == ROD_CLOUDS)
+ {
return true;
+ }
break;
default:
break;
@@ -436,8 +439,11 @@ static bool _is_potentially_fiery_item(const item_def& item)
return true;
break;
case OBJ_RODS:
- if (item.sub_type == ROD_DESTRUCTION)
+ if (item.sub_type == ROD_DESTRUCTION
+ || item.sub_type == ROD_CLOUDS)
+ {
return true;
+ }
break;
default:
break;