From 098bf70e230495780d0f779fd622c91718f3acce Mon Sep 17 00:00:00 2001 From: haranp Date: Sat, 21 Mar 2009 20:29:47 +0000 Subject: Change default bolts to use 1 range, not 2, when hitting a target. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9528 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 8fd7839844..628de6c4b5 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4988,14 +4988,11 @@ int bolt::range_used_on_hit(const actor* victim) const // Plant spit. else if (flavour == BEAM_ACID) used = BEAM_STOP; - // Lava doesn't go far, but it goes through most stuff. - else if (flavour == BEAM_LAVA) - used = 1; // Lightning goes through things. else if (flavour == BEAM_ELECTRICITY) used = 0; else - used = 2; + used = 1; if (in_explosion_phase) return (used); -- cgit v1.2.3-54-g00ecf