Opened 11 years ago

Closed 10 years ago

#987 closed change (fixed (in master))

Move to fractional blows

Reported by: magnate Owned by: magnate
Milestone: 3.2.0 Keywords: combat


aka "blows work like shots". Each blow takes 100 / 50 / 33 / 25 / 20 / 16 energy. Opportunity to rework the blows table to smooth breakpoints, using other values of energy per blow (e.g. 80, 40 etc.).

Probably needs some sort of flush mechanism to enable players to hold down attack key without killing themselves.

Change History (6)

comment:1 Changed 11 years ago by takkaria

Also some ideas mooted in the thread at

comment:2 Changed 10 years ago by magnate

  • Milestone changed from Future to 3.1.3
  • Owner set to magnate
  • Status changed from new to assigned

comment:3 Changed 10 years ago by magnate

Not yet perfect, but working. Need to check for monster double move bugs, and need to fix the display of blows properly - it's quite difficult to do 2 decimal places using % 100 if the 2nd digit is zero: 3.03 becomes 3.3 ... so at the moment it truncates .01-.09 to .0

comment:4 Changed 10 years ago by magnate

Ok, now working with no double moves from slower monsters, and a correct display to one decimal place. It can doubtless be improved (noz envisages interleaving player and monster attacks, but that's a lot of work). Leaving ticket open until it's merged back into takkaria/angband/master after wider testing.

comment:5 Changed 10 years ago by magnate

  • Status changed from assigned to confirmed

comment:6 Changed 10 years ago by magnate

  • Resolution set to fixed
  • Status changed from confirmed to closed
Note: See TracTickets for help on using tickets.