Accessibility: more message locations
This commit is contained in:
@@ -361,7 +361,7 @@ m_cure_self(struct monst *mtmp, int dmg)
|
||||
{
|
||||
if (mtmp->mhp < mtmp->mhpmax) {
|
||||
if (canseemon(mtmp))
|
||||
pline("%s looks better.", Monnam(mtmp));
|
||||
pline_mon(mtmp, "%s looks better.", Monnam(mtmp));
|
||||
/* note: player healing does 6d4; this used to do 1d8 */
|
||||
if ((mtmp->mhp += d(3, 6)) > mtmp->mhpmax)
|
||||
mtmp->mhp = mtmp->mhpmax;
|
||||
@@ -565,7 +565,7 @@ cast_wizard_spell(struct monst *mtmp, int dmg, int spellnum)
|
||||
case MGC_DISAPPEAR: /* makes self invisible */
|
||||
if (!mtmp->minvis && !mtmp->invis_blkd) {
|
||||
if (canseemon(mtmp))
|
||||
pline("%s suddenly %s!", Monnam(mtmp),
|
||||
pline_mon(mtmp, "%s suddenly %s!", Monnam(mtmp),
|
||||
!See_invisible ? "disappears" : "becomes transparent");
|
||||
mon_set_minvis(mtmp);
|
||||
if (cansee(mtmp->mx, mtmp->my) && !canspotmon(mtmp))
|
||||
@@ -790,7 +790,7 @@ cast_cleric_spell(struct monst *mtmp, int dmg, int spellnum)
|
||||
fmt = "%s summons %s!";
|
||||
}
|
||||
if (fmt)
|
||||
pline(fmt, Monnam(mtmp), what);
|
||||
pline_mon(mtmp, fmt, Monnam(mtmp), what);
|
||||
|
||||
dmg = 0;
|
||||
break;
|
||||
@@ -993,7 +993,7 @@ buzzmu(struct monst *mtmp, struct attack *mattk)
|
||||
if (lined_up(mtmp) && rn2(3)) {
|
||||
nomul(0);
|
||||
if (canseemon(mtmp))
|
||||
pline("%s zaps you with a %s!", Monnam(mtmp),
|
||||
pline_mon(mtmp, "%s zaps you with a %s!", Monnam(mtmp),
|
||||
flash_str(BZ_OFS_AD(mattk->adtyp), FALSE));
|
||||
gb.buzzer = mtmp;
|
||||
buzz(BZ_M_SPELL(BZ_OFS_AD(mattk->adtyp)), (int) mattk->damn,
|
||||
|
||||
Reference in New Issue
Block a user