diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-19 21:59:56 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-19 21:59:56 +0000 |
commit | f2e1abc584a801b0ebf3c595d63752f5eda7708b (patch) | |
tree | 5660c08bc834b0287238d4f5e5eba5d9d1e8c91f /crawl-ref/source/item_use.cc | |
parent | 96edac1d649d50f9cfacf317c88007783657c55f (diff) | |
download | crawl-ref-f2e1abc584a801b0ebf3c595d63752f5eda7708b.tar.gz crawl-ref-f2e1abc584a801b0ebf3c595d63752f5eda7708b.zip |
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
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |