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:
@@ -689,6 +689,8 @@ mdamagem(magr, mdef, mattk)
|
|||||||
if (vis)
|
if (vis)
|
||||||
pline("%s is %s!", Monnam(mdef),
|
pline("%s is %s!", Monnam(mdef),
|
||||||
mdef->data == &mons[PM_WATER_ELEMENTAL] ? "boiling" :
|
mdef->data == &mons[PM_WATER_ELEMENTAL] ? "boiling" :
|
||||||
|
mdef->data == &mons[PM_FLAMING_SPHERE] ?
|
||||||
|
"already on fire" :
|
||||||
mattk->aatyp == AT_HUGS ?
|
mattk->aatyp == AT_HUGS ?
|
||||||
"being roasted" : "on fire");
|
"being roasted" : "on fire");
|
||||||
if (pd == &mons[PM_STRAW_GOLEM] ||
|
if (pd == &mons[PM_STRAW_GOLEM] ||
|
||||||
|
|||||||
@@ -917,6 +917,8 @@ hitmu(mtmp, mattk)
|
|||||||
pline("You're %s!",
|
pline("You're %s!",
|
||||||
youmonst.data == &mons[PM_WATER_ELEMENTAL] ?
|
youmonst.data == &mons[PM_WATER_ELEMENTAL] ?
|
||||||
"boiling" :
|
"boiling" :
|
||||||
|
youmonst.data == &mons[PM_FLAMING_SPHERE] ?
|
||||||
|
"already on fire" :
|
||||||
mattk->aatyp == AT_HUGS ? "being roasted" :
|
mattk->aatyp == AT_HUGS ? "being roasted" :
|
||||||
"on fire");
|
"on fire");
|
||||||
if (youmonst.data == &mons[PM_STRAW_GOLEM] ||
|
if (youmonst.data == &mons[PM_STRAW_GOLEM] ||
|
||||||
|
|||||||
@@ -1252,6 +1252,8 @@ register struct attack *mattk;
|
|||||||
if (!Blind)
|
if (!Blind)
|
||||||
pline("%s is %s!", Monnam(mdef),
|
pline("%s is %s!", Monnam(mdef),
|
||||||
mdef->data == &mons[PM_WATER_ELEMENTAL] ? "boiling" :
|
mdef->data == &mons[PM_WATER_ELEMENTAL] ? "boiling" :
|
||||||
|
mdef->data == &mons[PM_FLAMING_SPHERE] ?
|
||||||
|
"already on fire" :
|
||||||
mattk->aatyp == AT_HUGS ?
|
mattk->aatyp == AT_HUGS ?
|
||||||
"being roasted" : "on fire");
|
"being roasted" : "on fire");
|
||||||
if (pd == &mons[PM_STRAW_GOLEM] ||
|
if (pd == &mons[PM_STRAW_GOLEM] ||
|
||||||
|
|||||||
Reference in New Issue
Block a user