Opened 10 years ago

Closed 10 years ago

#933 closed bug (fixed (in master))

auto-identify doesn't update AC

Reported by: anonymous Owned by:
Milestone: 3.1.2 beta Keywords: id combat player
Cc:

Description

The new identify routines arn't updating AC for unidentified items which are auto-IDed while worn. The base AC for the armor is added to the AC, but the bonuses/penalties arn't added until the armor is removed and re-equipped. I haven't checked if the problem also exists for IDing with scrolls/spells.

to reproduce:
find armor that is psuedo-id'd as "magical"
equip armor and note Cur AC.
fight creatures to figure out AC bonus penalty.
note Cur AC and AC bonus/penalty of armor
un-equip armor and re-equip.
Cur AC will have changed.

AC bonus/penalty will be visible on equipment page, but won't be reflected in the "Cur AC" stat.

running 3.1.1.1599 beta on ubuntu

Change History (2)

comment:1 Changed 10 years ago by takkaria

  • Keywords id combat added; id, combat, removed
  • Milestone changed from Triage to 3.1.2 beta
  • Status changed from new to confirmed

The fix here will be setting the PN_BONUS flag on p_ptr->notice, I believe.

comment:2 Changed 10 years ago by MarbleDice

  • Resolution set to fixed
  • Status changed from confirmed to closed

[2d351f4] (SVN r1748). This bug also affected to-hit and to-dam on the 'C' screen.

Note: See TracTickets for help on using tickets.