Opened 5 years ago

Closed 5 years ago

#1806 closed bug (fixed (in master))

No message when monster is hurt by chaos strike

Reported by: PowerWyrm Owned by:
Milestone: Triage Keywords:
Cc:

Description

The message is masked by the polymorph effect. This is ok when polymorphing succeeds ("The monster changes." is explicit). But if the polymorph fails, you get "The monster is unaffected!", even if said monster takes 300 damage from the spell. In this case, the "pain" message should probably take priority over the effect message.

This is probably the case for all effects. Being "unaffected" should probably be displayed only if the damage is zero or reduced by resistance. In case of full damage (like chaos strike vs polymorphing), the pain message should be displayed.

Change History (2)

comment:1 Changed 5 years ago by PowerWyrm

I just checked again and the problem only happens with chaos strike after all. The fix is trivial: in project_m(), replace line 2594 by

if (typ == GF_OLD_POLY) m_note = MON_MSG_UNAFFECTED;

comment:2 Changed 5 years ago by takkaria

  • Resolution set to fixed (in master)
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.