diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-15 20:21:51 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-15 20:30:38 -0800 |
commit | 1b490890d245da181d79e8730f1357759028eb9e (patch) | |
tree | c4ea08e956117652c8c4653565274a0bb34a0bfb /crawl-ref/source/mon-cast.h | |
parent | 9f3f309821f3705f7129529fba62a992c01cce84 (diff) | |
download | crawl-ref-1b490890d245da181d79e8730f1357759028eb9e.tar.gz crawl-ref-1b490890d245da181d79e8730f1357759028eb9e.zip |
Bug #2896412: Breath broken after polymorph
If a wizard or priest is polymorphed into a monster without hands, then
when it casts a spell preserved across the polymorph (rather than any
innate ability or spell) then to avoid getting weird messages (like
"Harold breaths UNSEEN BEAM at you") the first lookup key for
dat/database/monspell.txt is "polymorphed wizard" or
"polymorphed priest."
NOTE: There should probably be a greater variety of messages depending
on shpae, like "quadruped wizard" and "blob wizard".
Diffstat (limited to 'crawl-ref/source/mon-cast.h')
-rw-r--r-- | crawl-ref/source/mon-cast.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-cast.h b/crawl-ref/source/mon-cast.h index 390f563875..896c377ceb 100644 --- a/crawl-ref/source/mon-cast.h +++ b/crawl-ref/source/mon-cast.h @@ -20,8 +20,9 @@ bool handle_mon_spell(monsters *monster, bolt &beem); bolt mons_spells(monsters *mons, spell_type spell_cast, int power, bool check_validity = false); void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast, - bool do_noise = true); -void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast); + bool do_noise = true, bool special_ability = false); +void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast, + bool special_ability = false); bool setup_mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast, bool check_validity = false); |