summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/goditem.cc
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-02-10 16:29:47 -0330
committerDracoOmega <draco_omega@live.com>2013-03-20 20:34:12 -0230
commita6578962e08591e0aaead642e2ff769ba2fae857 (patch)
tree631f8b9ed32de26ef2fe50611c86648463ee4dc2 /crawl-ref/source/goditem.cc
parent4a87d9e014726449575e0de62e9d92202351d05d (diff)
downloadcrawl-ref-a6578962e08591e0aaead642e2ff769ba2fae857.tar.gz
crawl-ref-a6578962e08591e0aaead642e2ff769ba2fae857.zip
Replace scrolls of unholy creation with (revised) scrolls of summoning
The small abomination created by scrolls of unholy creation was effectively useless past the very early game, and often not even worth the trouble of having it around. Instead, scrolls of summoning now summon 2d2 shadow creatures (with slightly increased duration compared to the spell). This should hopefully make them a consumable worth actually using, commensurate with their rarity.
Diffstat (limited to 'crawl-ref/source/goditem.cc')
-rw-r--r--crawl-ref/source/goditem.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc
index abb256c8b3..534c3809ad 100644
--- a/crawl-ref/source/goditem.cc
+++ b/crawl-ref/source/goditem.cc
@@ -109,7 +109,7 @@ bool is_unholy_item(const item_def& item)
retval = is_demonic(item);
break;
case OBJ_SCROLLS:
- retval = (item.sub_type == SCR_UNHOLY_CREATION);
+ retval = (item.sub_type == SCR_SUMMONING);
break;
case OBJ_BOOKS:
case OBJ_RODS:
@@ -175,9 +175,6 @@ bool is_corpse_violating_item(const item_def& item)
retval = (item_brand == SPWPN_REAPING);
break;
}
- case OBJ_SCROLLS:
- retval = (item.sub_type == SCR_UNHOLY_CREATION);
- break;
case OBJ_BOOKS:
case OBJ_RODS:
retval = _is_bookrod_type(item, is_corpse_violating_spell);
@@ -276,7 +273,7 @@ bool is_chaotic_item(const item_def& item)
retval = (item.sub_type == POT_MUTATION);
break;
case OBJ_SCROLLS:
- retval = (item.sub_type == SCR_UNHOLY_CREATION);
+ retval = (item.sub_type == SCR_SUMMONING);
break;
case OBJ_BOOKS:
case OBJ_RODS: