Ticket #30081

Magic Eater Regeneration Bug

Open Date: 2012-11-13 07:15 Last Update: 2020-12-21 08:23

Reporter:
(Anonymous)
Owner:
Type:
Status:
Closed
Component:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

In dungeon.c the regenmagic() function has a bug: new_mana = ((long)p_ptr->magic_num2i+adj_mag_manaA_INT+13) * percent / 8;

should be new_mana = ((long)p_ptr->magic_num2i+adj_mag_mana[p_ptr->stat_ind[A_INT]]+13) * percent / 8;

Ticket History (3/4 Histories)

2012-11-13 07:15 Updated by: None
  • New Ticket "Magic Eater Regeneration Bug" created
2012-11-13 08:21 Updated by: deskull
  • Owner Update from (None) to deskull
Comment

Thank you for your point out. I will fix it.

2013-02-03 13:43 Updated by: iks
  • Ticket Close date is changed to 2013-02-03 13:43
  • Status Update from Open to Closed
Comment

Fixed. See also #20138.

2020-12-21 08:23 Updated by: deskull

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login