Opened 7 years ago

Closed 7 years ago

#1623 closed bug (fixed (in v4))

Monster memory not updated if brand is resisted

Reported by: magnate Owned by: magnate
Milestone: v4 Keywords: combat
Cc:

Description

This is an error in the slay rewrite: the learn_flags only deals with flags learned on the attacking object, and if there are none (because you already knew it was branded with fire, say) then monster lore is not updated (even if you didn't know that critter was fire immune). Thanks CunningGabe? for spotting this one.

Change History (1)

comment:1 Changed 7 years ago by magnate

  • Resolution set to fixed (in v4)
  • Status changed from new to closed
  • Summary changed from Monster memory not updated if brand flag is already known to Monster memory not updated if brand is resisted

Actually that wasn't the problem. The problem, in improve_attack_modifier, was that l_ptr was only updated if the slay or brand was effective. So you never learned about monster immunity this way, which you should. [a20bccb]

Note: See TracTickets for help on using tickets.