diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-21 18:05:35 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-21 18:05:35 +0000 |
commit | 1b6bfb7856cb5590e9e10c1e7317eba775409b21 (patch) | |
tree | 6e02d154e4d254b8ab77a05f3931299c5730d484 /crawl-ref/source/beam.cc | |
parent | 0e472a37cd47225bb6660aa9f7d12320f7cd4582 (diff) | |
download | crawl-ref-1b6bfb7856cb5590e9e10c1e7317eba775409b21.tar.gz crawl-ref-1b6bfb7856cb5590e9e10c1e7317eba775409b21.zip |
Apply a patch by an anonymous contributor to fix the bug with Lee's
Rapid Deconstruction having no effect at low power.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10767 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index b3a4c334e0..855060f95c 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -3075,6 +3075,10 @@ bool bolt::affects_wall(dungeon_feature_type wall) const if (flavour == BEAM_NUKE) return (true); + // Lee's Rapid Deconstruction + if (flavour == BEAM_FRAG) + return (true); + return (false); } @@ -5495,8 +5499,8 @@ bool bolt::explode(bool show_more, bool hole_in_the_middle) #if DEBUG_DIAGNOSTICS mprf(MSGCH_DIAGNOSTICS, - "explosion at (%d, %d) : t=%d c=%d f=%d hit=%d dam=%dd%d", - pos().x, pos().y, type, colour, flavour, hit, damage.num, damage.size); + "explosion at (%d, %d) : t=%d c=%d f=%d hit=%d dam=%dd%d r=%d", + pos().x, pos().y, type, colour, flavour, hit, damage.num, damage.size, r); #endif // make a noise |