summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-summoning.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-01-21 20:43:34 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-01-21 22:11:39 -0700
commitce86bbf1374fe8894466314c116b39bd0b2fbf3b (patch)
tree9a991b8acf991c15e4307539ff5ad7b6b0ecde10 /crawl-ref/source/spl-summoning.h
parent889f32d1afad941cdf3a3fa9d877aee8947f1f02 (diff)
downloadcrawl-ref-ce86bbf1374fe8894466314c116b39bd0b2fbf3b.tar.gz
crawl-ref-ce86bbf1374fe8894466314c116b39bd0b2fbf3b.zip
Demonspawn warmongers: Grand Avatar.
Listed in the proposal as Icon of Greatness. A grand avatar behaves similarly to both a spectral weapon and a battlesphere in that it attacks targets the caster and its nearby allies either attack in melee or by battlesphere-triggered conjurations; it is only guaranteed to attack if the triggerer does at least 15 damage, though it may trigger randomly below that threshold.
Diffstat (limited to 'crawl-ref/source/spl-summoning.h')
-rw-r--r--crawl-ref/source/spl-summoning.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-summoning.h b/crawl-ref/source/spl-summoning.h
index eb5c47b16d..b7d11a51d8 100644
--- a/crawl-ref/source/spl-summoning.h
+++ b/crawl-ref/source/spl-summoning.h
@@ -19,6 +19,9 @@
#define SW_TARGET_MID "sw_target_mid"
#define SW_READIED "sw_readied"
#define SW_TRACKING "sw_tracking"
+#define GA_TARGET_MID "ga_target_mid"
+#define GA_MELEE "ga_melee"
+#define GA_SPELL "ga_spell"
spret_type cast_summon_butterflies(int pow, god_type god = GOD_NO_GOD,
bool fail = false);
@@ -105,6 +108,10 @@ bool trigger_spectral_weapon(actor* agent, const actor* target);
bool confirm_attack_spectral_weapon(monster* mons, const actor *defender);
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 summoned_monster(const monster* mons, const actor* caster,
spell_type spell);
bool summons_are_capped(spell_type spell);