Also provide a default message for targeted beams.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8072 c06c8d41-db1a-0410-9941-cceddc491573
TEHVEMSILVFVNVW5NC4PPRUAOUP2K6BTUOHKHQMJZIPIG2RDB4WAC
// For targeted spells, try with the targeted suffix first.
if (in_bounds(pbolt.target) && pbolt.target != monster->pos()
&& (flags & SPFLAG_TARGETING_MASK))
const bool visible_beam = pbolt.type != 0 && pbolt.type != ' '
&& pbolt.name[0] != '0'
&& !pbolt.is_enchantment();
const bool targeted = in_bounds(pbolt.target)
&& pbolt.target != monster->pos()
&& (flags & SPFLAG_TARGETING_MASK);
if (targeted)
Lesser Healing cast real
__NEXT
%%%%
Lesser Healing cast gestures
@The_monster@ briefly glows while making a small gesture.
%%%%
Lesser Healing cast
@The_monster@ briefly glows.
%%%%
Greater Healing cast real
__NEXT
%%%%
Greater Healing cast gestures
@The_monster@ briefly glows brightly while making a large gesture.
%%%%
Greater Healing cast
@The_monster@ briefly glows brightly.
%%%%