Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#991 closed bug (fixed (in master))

attacks/round confused if wielding different weapon

Reported by: ChodTheWacko Owned by: magnate
Milestone: 3.1.2 beta Keywords: recall


Savefile attached.
I am currently wielding a '+1 extra attacks' weapon.
If I examine the quarterstaff in my inventory, which should give 2 blows/round, it says:
2 blows/round
With an additional 0 strength and 0 dex you would get 3 blow.

Attachments (1)

crud (50.4 KB) - added by anonymous 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by anonymous

comment:1 Changed 11 years ago by magnate

  • Keywords recall added
  • Milestone changed from Triage to 3.1.2 beta
  • Owner set to magnate
  • Status changed from new to assigned

comment:2 Changed 11 years ago by magnate

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

This was fixed in [5f69795] (SVN r1716). Please reopen if this problem occurs in any later version.

comment:3 Changed 11 years ago by noz

This is still occurring in [8f3fb17] (SVN r1727). It's because the code which checks for other objects giving you extra blows starts with the wielded weapon, so that gets counted, even though you're looking at what would happen wielding something else.

The fix isn't easy, as you can't just start at the LHRing, as the bow might have an effect on the wielded weapon, or the wielded weapon on a bow. What needs to be done really is just to discount the wielded object of the type (weapon/bow) that you're examining.

Please reopen

comment:4 Changed 11 years ago by magnate

Sorry, fixed in [a2ab29e] (SVN r1741).

Note: See TracTickets for help on using tickets.