magefree / mage

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

Game bug occured when ai played Hellkite Courser #10407

Open Gravelord-Anubis opened 1 year ago

Gravelord-Anubis commented 1 year ago

Game exception occurred:

java.lang.IllegalStateException: Target wasn't handled in computer's choose method: mage.target.TargetCard Server version: 1.4.52-V4-beta2 (build: 2023-05-12 14:27) Stack trace: mage.player.ai.ComputerPlayer.choose(ComputerPlayer.java:502) mage.player.ai.ComputerPlayer.choose(ComputerPlayer.java:129) mage.cards.h.HellkiteCourserEffect.apply(HellkiteCourser.java:87) mage.abilities.AbilityImpl.resolveMode(AbilityImpl.java:199) mage.abilities.AbilityImpl.resolve(AbilityImpl.java:183) mage.abilities.TriggeredAbilityImpl.resolve(TriggeredAbilityImpl.java:152) mage.game.stack.StackAbility.resolve(StackAbility.java:85) mage.game.GameImpl.resolve(GameImpl.java:1690) mage.game.GameImpl.playPriority(GameImpl.java:1615) mage.game.turn.Step.priority(Step.java:61) mage.game.turn.Phase.playStep(Phase.java:184) mage.game.turn.Phase.play(Phase.java:89) mage.game.turn.Turn.play(Turn.java:125) mage.game.GameImpl.playTurn(GameImpl.java:1087) mage.game.GameImpl.play(GameImpl.java:997) mage.game.GameImpl.start(GameImpl.java:973) 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)

github-actions[bot] commented 1 year ago

Hellkite Courser - (Gatherer) (Scryfall) (EDHREC)

{4}{R}{R} Creature — Dragon 6/5 Flying When Hellkite Courser enters the battlefield, you may put a commander you own from the command zone onto the battlefield. It gains haste. Return it to the command zone at the beginning of the next end step.