diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 22:55:24 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 22:55:24 +0000 |
commit | d752c86b835ebb44452f869e772b3071371d800a (patch) | |
tree | 8b0983930c485d5ad24a27870d86cbe458a78783 /crawl-ref/source/spells4.cc | |
parent | 5c4a95d1102d3e89b1b03f1266acc62a0382d493 (diff) | |
download | crawl-ref-d752c86b835ebb44452f869e772b3071371d800a.tar.gz crawl-ref-d752c86b835ebb44452f869e772b3071371d800a.zip |
Fix Evaporate not being an explosion and going through walls
(range was uninitialized.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8065 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index 8fb66e66a6..fc94aec174 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -1251,6 +1251,8 @@ bool cast_evaporate(int pow, bolt& beem, int pot_idx) beem.hit = you.dex / 2 + roll_dice( 2, you.skills[SK_THROWING] / 2 + 1 ); beem.damage = dice_def( 1, 0 ); // no damage, just producing clouds beem.ench_power = pow; // used for duration only? + beem.is_explosion = true; + beem.range = 8; beem.flavour = BEAM_POTION_STINKING_CLOUD; beam_type tracer_flavour = BEAM_MMISSILE; |