summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-12-08 11:58:33 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-12-08 12:31:03 +0530
commit75777448f4845a4cace92e63c4766ce67b779a1d (patch)
tree11e215cb70be2e13653e660bfcd8b4214f27d083 /crawl-ref/source/beam.h
parent3304bd4758742fc9252be3015e25803f05340016 (diff)
downloadcrawl-ref-75777448f4845a4cace92e63c4766ce67b779a1d.tar.gz
crawl-ref-75777448f4845a4cace92e63c4766ce67b779a1d.zip
Make monster tracers round up average expected damage so that monsters like oklob plants will use ranged attacks on high-AC targets.
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index 6ab921df6f..6188fa963f 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -231,6 +231,7 @@ private:
void step();
bool hit_wall();
+ bool damage_ignores_armour() const;
bool apply_hit_funcs(actor* victim, int dmg, int corpse = -1);
bool apply_dmg_funcs(actor* victim, int &dmg,
std::vector<std::string> &messages);