magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.88k stars 772 forks source link

Casting Cabal Therapy in Oops! deck causes an error #11427

Open buildmaster668 opened 11 months ago

buildmaster668 commented 11 months ago

Not a programmer but here's the error message:

Game exception occurred:

java.lang.IllegalArgumentException: Wrong code usage. Choices must contains some values Server version: 1.4.52-V6-beta7 (build: 2023-11-18 11:37) Stack trace: mage.player.human.HumanPlayer.choose(HumanPlayer.java:474) mage.abilities.effects.common.ChooseACardNameEffect$TypeOfName.getChoice(ChooseACardNameEffect.java:65) mage.abilities.effects.common.ChooseACardNameEffect$TypeOfName.getChoice(ChooseACardNameEffect.java:54) mage.abilities.effects.common.ChooseACardNameEffect.apply(ChooseACardNameEffect.java:131) mage.abilities.AbilityImpl.resolveMode(AbilityImpl.java:192) mage.abilities.AbilityImpl.resolve(AbilityImpl.java:179) mage.game.stack.Spell.resolve(Spell.java:291) mage.game.GameImpl.resolve(GameImpl.java:1717) mage.game.GameImpl.playPriority(GameImpl.java:1642) mage.game.turn.Step.priority(Step.java:67) mage.game.turn.Phase.playStep(Phase.java:204) mage.game.turn.Phase.play(Phase.java:90) mage.game.turn.Turn.play(Turn.java:137) mage.game.GameImpl.playTurn(GameImpl.java:1091) mage.game.GameImpl.play(GameImpl.java:998) mage.game.GameImpl.start(GameImpl.java:974) mage.server.game.GameWorker.call(GameWorker.java:34) java.util.concurrent.FutureTask.run(FutureTask.java:266) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748)

jeffwadsworth commented 11 months ago

[[Cabal Therapy]]

github-actions[bot] commented 11 months ago

Cabal Therapy - (Gatherer) (Scryfall) (EDHREC)

{B} Sorcery Choose a nonland card name. Target player reveals their hand and discards all cards with that name. Flashback—Sacrifice a creature. (You may cast this card from your graveyard for its flashback cost. Then exile it.)

jeffwadsworth commented 11 months ago

Do you recall what you chose?

buildmaster668 commented 11 months ago

Do you recall what you chose?

Iirc the error occured before the menu came up. If I did choose something it was probably Force of Will or Endurance.