From f2e1abc584a801b0ebf3c595d63752f5eda7708b Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 19 Jan 2009 21:59:56 +0000 Subject: Expand immolation and cleansing flame as well, so that monsters may be able to use scrolls of immolation or holy word in the future. Also, add a power parameter to immolation, so that it can be reused for an exploding Tome of Destruction. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8599 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 882845c031..0dd08b3ef8 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -4290,7 +4290,7 @@ static bool _vorpalise_weapon() case SPWPN_FLAMING: mprf("%s is engulfed in an explosion of flames!", itname.c_str()); - immolation(IMMOLATION_SPELL); + immolation(10, IMMOLATION_SPELL, you.pos(), true, &you); break; case SPWPN_FREEZING: @@ -4908,7 +4908,7 @@ void read_scroll(int slot) set_ident_type(scroll, ID_KNOWN_TYPE); dec_inv_item_quantity(item_slot, 1); - immolation(IMMOLATION_SCROLL, alreadyknown); + immolation(10, IMMOLATION_SCROLL, you.pos(), alreadyknown, &you); break; } -- cgit v1.2.3-54-g00ecf