diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2013-11-28 19:56:19 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2013-11-28 20:12:05 -0700 |
commit | 531d946fa38e23c5cef47898586bf3a5b90e7fc0 (patch) | |
tree | 56567a55dd7bd80ed14220730a8410a67ab3ad12 /crawl-ref/source/spl-summoning.h | |
parent | 4f8b3e73b329242eeb1144be69fb676461c9d2da (diff) | |
download | crawl-ref-531d946fa38e23c5cef47898586bf3a5b90e7fc0.tar.gz crawl-ref-531d946fa38e23c5cef47898586bf3a5b90e7fc0.zip |
Cap monster summons.
This has most noticeably been an issue with, say, Ilsuiw's water
elementals (or old-and-then-new-again elemental wellsprings) and
Sojobo's air elementals; it tended to get extremely spammy and tedious.
There are some monster spells for which I've set the cap fairly high -
perhaps unnecessarily so; these can be tinkered with as necessary.
Diffstat (limited to 'crawl-ref/source/spl-summoning.h')
-rw-r--r-- | crawl-ref/source/spl-summoning.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-summoning.h b/crawl-ref/source/spl-summoning.h index 31b6f01893..9e0c5f85f9 100644 --- a/crawl-ref/source/spl-summoning.h +++ b/crawl-ref/source/spl-summoning.h @@ -107,7 +107,8 @@ 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); -bool summoned_monster(monster* mons, actor* caster, spell_type spell); +void summoned_monster(const monster* mons, const actor* caster, + spell_type spell); bool summons_are_capped(spell_type spell); int summons_limit(spell_type spell); |