diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-21 20:29:47 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-21 20:29:47 +0000 |
commit | 098bf70e230495780d0f779fd622c91718f3acce (patch) | |
tree | cbfc328fc5f86357ea36c214c48dfa49a6e8ef94 /crawl-ref/source/beam.cc | |
parent | 558369bbce7f220ad75eccc666d600662bc04ba1 (diff) | |
download | crawl-ref-098bf70e230495780d0f779fd622c91718f3acce.tar.gz crawl-ref-098bf70e230495780d0f779fd622c91718f3acce.zip |
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
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 5 |
1 files changed, 1 insertions, 4 deletions
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); |