Opened 7 years ago

Closed 7 years ago

#1581 closed bug (fixed (in v4))

Make alloc_max checks use p_ptr->depth

Reported by: magnate Owned by: magnate
Milestone: v4 Keywords: items affixes
Cc:

Description

At the moment the legality of affixes checks alloc_min and alloc_max against the passed-in effective generation level (which is depth modified by various factors, all of which increase it). This works well for generating OOD items/affixes, but less well for maxima. Checking alloc_max against p_ptr->depth instead of level would solve this problem neatly.

Change History (2)

comment:1 Changed 7 years ago by magnate

  • Status changed from new to assigned

Highlighted by a dl99 GV full of average items: http://angband.oook.cz/forum/showthread.php?t=5092

comment:2 Changed 7 years ago by magnate

  • Resolution set to fixed (in v4)
  • Status changed from assigned to closed

[r19c1109d]

Note: See TracTickets for help on using tickets.