summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-summoning.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-22 22:06:56 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-22 22:06:56 -0700
commit934f89028ea657c131806b0c683771e182617a37 (patch)
tree5de9cd658f231f6c1ff764e0feb48717dfd12e68 /crawl-ref/source/spl-summoning.h
parent317cdd5a35c0f4166581cb1254b176f4894cbb1d (diff)
downloadcrawl-ref-934f89028ea657c131806b0c683771e182617a37.tar.gz
crawl-ref-934f89028ea657c131806b0c683771e182617a37.zip
Trigger grand avatar on ranged attacks (tenofswords).
Also contains some merging of duplicate code.
Diffstat (limited to 'crawl-ref/source/spl-summoning.h')
-rw-r--r--crawl-ref/source/spl-summoning.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-summoning.h b/crawl-ref/source/spl-summoning.h
index b7d11a51d8..b7f9f53cd3 100644
--- a/crawl-ref/source/spl-summoning.h
+++ b/crawl-ref/source/spl-summoning.h
@@ -110,7 +110,8 @@ void reset_spectral_weapon(monster* mons);
void grand_avatar_reset(monster* mons);
bool grand_avatar_check_melee(monster* mons, actor* target);
-void trigger_grand_avatar(monster* mons, actor* victim, spell_type spell);
+void trigger_grand_avatar(monster* mons, actor* victim, spell_type spell,
+ const int old_hp);
void summoned_monster(const monster* mons, const actor* caster,
spell_type spell);