on3iro / aeons-end-randomizer

🧙🏻‍♀️Awesome Companion App for Aeons End: https://aeons-end-randomizer.de 🧙🏽‍♂️
MIT License
43 stars 24 forks source link

[Bug] Mages are visible even after recruiting new mages in the mages randomizer #455

Closed sarathas closed 2 years ago

sarathas commented 2 years ago

Describe the bug In the "Mages" section of the randomizer, after I click "Recruit Mages", some of previously rolled mages are still visible. THis results in more than x mages being displayed.

To Reproduce Steps to reproduce the behavior:

  1. Go to the 'Mages' tab of the 'Randomizer'
  2. Select '4' as the amount of mages rolled (the bug is present with all amounts, but visible the more mages you select)
  3. 'Recruit mages' multiple times
  4. See that more than 4 mages are present. First 5, then 6, 7 and so on. Some of the previously recruited mages stay present while the last x are rerolled.

Expected behavior The previous selection is cleared, 4 new mages are displayed.

Screenshots aer_bug

Desktop (please complete the following information):

Smartphone (please complete the following information):

sarathas commented 2 years ago

This behaviour only seems to happen with mages that are present in multiple expansions (basically every mage since New Age since those have a new form in Legacy of Gravehold).