B14019 - pyrolisk vs flaming sphere

A 3.4.0 report, currently only the mdamagem gaze case caused the strange
"on fire" message for flaming spheres, but other attacks seemed like they
might result in a similar message, so I updated the damageum and hitmu
cases as well.
This commit is contained in:
cohrs
2002-12-10 05:07:09 +00:00
parent 08ebae982a
commit 68cfa968dd
3 changed files with 6 additions and 0 deletions

View File

@@ -689,6 +689,8 @@ mdamagem(magr, mdef, mattk)
if (vis)
pline("%s is %s!", Monnam(mdef),
mdef->data == &mons[PM_WATER_ELEMENTAL] ? "boiling" :
mdef->data == &mons[PM_FLAMING_SPHERE] ?
"already on fire" :
mattk->aatyp == AT_HUGS ?
"being roasted" : "on fire");
if (pd == &mons[PM_STRAW_GOLEM] ||

View File

@@ -917,6 +917,8 @@ hitmu(mtmp, mattk)
pline("You're %s!",
youmonst.data == &mons[PM_WATER_ELEMENTAL] ?
"boiling" :
youmonst.data == &mons[PM_FLAMING_SPHERE] ?
"already on fire" :
mattk->aatyp == AT_HUGS ? "being roasted" :
"on fire");
if (youmonst.data == &mons[PM_STRAW_GOLEM] ||

View File

@@ -1252,6 +1252,8 @@ register struct attack *mattk;
if (!Blind)
pline("%s is %s!", Monnam(mdef),
mdef->data == &mons[PM_WATER_ELEMENTAL] ? "boiling" :
mdef->data == &mons[PM_FLAMING_SPHERE] ?
"already on fire" :
mattk->aatyp == AT_HUGS ?
"being roasted" : "on fire");
if (pd == &mons[PM_STRAW_GOLEM] ||