[DSC] Implement Persistent Constrictor

This commit is contained in:
theelk801 2024-09-13 11:13:36 -04:00
parent 6a5210afb3
commit 7f8c7a2c89
3 changed files with 91 additions and 0 deletions

View file

@ -83,6 +83,8 @@ public enum TargetController {
return card.isOwnedBy(input.getSource().getControllerId());
case SOURCE_TARGETS:
return card.isOwnedBy(input.getSource().getFirstTarget());
case ACTIVE:
return card.isOwnedBy(game.getActivePlayerId());
case MONARCH:
return card.isOwnedBy(game.getMonarchId());
case ANY:
@ -126,6 +128,8 @@ public enum TargetController {
return player.getId().equals(input.getSource().getControllerId());
case SOURCE_TARGETS:
return player.getId().equals(input.getSource().getFirstTarget());
case ACTIVE:
return game.isActivePlayer(player.getId());
case MONARCH:
return player.getId().equals(game.getMonarchId());
default: