Fix Caves of Chaos Adventurer (closes #10326) (#10329)

This commit is contained in:
xenohedron 2023-05-07 21:36:56 -04:00 committed by GitHub
parent 1cb737537e
commit 5a99a3afa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,10 +86,10 @@ class CavesOfChaosAdventurerEffect extends OneShotEffect {
player.moveCards(card, Zone.EXILED, source, game); player.moveCards(card, Zone.EXILED, source, game);
if (CompletedDungeonWatcher.checkPlayer(source.getControllerId(), game)) { if (CompletedDungeonWatcher.checkPlayer(source.getControllerId(), game)) {
game.addEffect(new PlayFromNotOwnHandZoneTargetEffect( game.addEffect(new PlayFromNotOwnHandZoneTargetEffect(
Zone.EXILED, TargetController.YOU, Duration.Custom, true Zone.EXILED, TargetController.YOU, Duration.EndOfTurn, true
).setTargetPointer(new FixedTarget(card, game)), source); ).setTargetPointer(new FixedTarget(card, game)), source);
} else { } else {
CardUtil.makeCardPlayable(game, source, card, Duration.Custom, true); CardUtil.makeCardPlayable(game, source, card, Duration.EndOfTurn, false);
} }
return true; return true;
} }