PlayersCommittee / gemp-swccg-public

Online Play system for SWCCG
https://gemp.starwarsccg.org/
MIT License
27 stars 29 forks source link

Beggar not working correctly #731

Open andytalaga opened 6 months ago

andytalaga commented 6 months ago

Describe the bug

Beggar asks how many times you would like to spend force from your opponent. After the third time it goes through but GEMP thinks you spent more than 1 force because you clicked spend force three times even though only one force ended up getting used. Beggar goes to the lost pile.

To Reproduce

Steps to reproduce the behavior:

  1. Deploy Beggar to a Tatooine site
  2. Click to play a card and use beggar to use opponent's force.
  3. Try to use 1 of their force
  4. it will loop you through clicking okay and how much force would you like to use. Leave it on 1 force.
  5. Opponent will use one force.
  6. game log will show that you used 1 force but you activated Beggar multiple times.
  7. Beggar goes lost at the end of the turn.

Game Replay ID:

Expected behavior

Beggar should use 1 force and stay in play. ## **Screenshots**

Client Platform

Desktop (please complete the following information): played on windows in Google chrome version 120

Smartphone (please complete the following information):

Additional context

Add any other context about the problem here.

Leverandon commented 4 months ago

This error re-occured during Retro League play a couple of days ago.

https://gemp.starwarsccg.org/gemp-swccg/game.html?replayId=hdwgitm$wd2zjfgbgyp1ehxv

On turn 9 the Light Side player activated Beggar and used none of the opponent's Force. He then activated Beggar again, used one of the opponent's Force and played Traffic Control. Beggar was lost at the end of the turn.