From 487e80ffa4d3e30e73ae20aae57711d125492758 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Mon, 12 Oct 2009 22:53:57 +0200 Subject: Let missiles go past bushes. --- crawl-ref/source/beam.cc | 7 +++++++ crawl-ref/source/dat/descript/monsters.txt | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 33f810a08b..9fcd2eb859 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4591,6 +4591,13 @@ void bolt::affect_monster(monsters* mon) return; } + // Missiles go past bushes. + if (!is_beam && mon->type == MONS_BUSH) + { + apply_hit_funcs(mon, 0); + return; + } + // Fire storm creates these, so we'll avoid affecting them if (name == "great blast of fire" && mon->type == MONS_FIRE_VORTEX) { diff --git a/crawl-ref/source/dat/descript/monsters.txt b/crawl-ref/source/dat/descript/monsters.txt index 870c96c8f7..618a85040a 100644 --- a/crawl-ref/source/dat/descript/monsters.txt +++ b/crawl-ref/source/dat/descript/monsters.txt @@ -414,7 +414,7 @@ A viscous liquid, flowing along the floor in search of organic matter to corrode %%%% bush -A woody plant that, unlike trees, can be removed even with bare hands. It looks dry enough to be easily set on fire. +A woody plant that, unlike trees, can be removed even with bare hands. It looks dry enough to be easily set on fire, and it isn't very dense so arrows are likely to go past it. %%%% water moccasin -- cgit v1.2.3-54-g00ecf