Baledin / FlyCasual

Fan-made "Star Wars: X-Wing Miniatures Game" simulator. Updated to include AMG point updates.
MIT License
20 stars 1 forks source link

Aurora sing pilot ability error #29

Open lumbduck opened 3 months ago

lumbduck commented 3 months ago

Fly Casual Release Version Latest (2.5.20240223.03)

Describe the bug A clear and concise description of what the bug is. When transferring a stress token using Aurora Sing's (firespray, separatist) pilot ability, the game threw an index error.

To Reproduce Steps to reproduce the behavior: This error has not been reproduced yet, as this was my first time using Aurora Sing's ability. I will provide as much context as I can.

  1. Start Aurora's engagement as the player character (in this case, AI opponent had completed all of their engagements).
  2. When prompted, elect to use Aurora pilot ability (swap orange/red tokens between two enemies at range 1)
  3. Select enemy ships (in this case, Vader TIE Advanced with no orange/red tokens and Seyn fighter with 1 stress token)
  4. At next prompt, elect to transfer the stress token to Vader
  5. ArgumentOutOfRange exception is thrown (see screenshot)

Expected behavior After transferring the stress token, the engagement should have moved forward to Aurora's attack

Screenshots Error message: Screenshot 2024-06-03 at 1 23 18 PM

Context showing ship layout (Aurora highlighted, Vader at top, and Seyn at bottom in red TIE fighter): Screenshot 2024-06-03 at 1 23 53 PM

Platform/Device (please complete the following information):

Additional context After throwing the exception, the stress token appears to have been correctly transferred (visible in the side bar), but the app accepts no more input other than erroneously allowing you to select and deselect enemies for the Aurora pilot ability (no way to submit, cancel, or otherwise progress the game).

lumbduck commented 2 months ago

I was able to confirm the exact same error message in a different context, so it should be reproducible simply by executing Aurra Sing's pilot ability ( sorry for the autocorrected spellings)