Fix Agrus Kos free target selection for triggers

This commit is contained in:
TRT
2023-01-27 10:34:56 +01:00
parent bf96fa792e
commit 639c20123c
2 changed files with 2 additions and 2 deletions

View File

@@ -1081,7 +1081,7 @@ public class PlayerControllerAi extends PlayerController {
@Override @Override
public void orderAndPlaySimultaneousSa(List<SpellAbility> activePlayerSAs) { public void orderAndPlaySimultaneousSa(List<SpellAbility> activePlayerSAs) {
for (final SpellAbility sa : getAi().orderPlaySa(activePlayerSAs)) { for (final SpellAbility sa : getAi().orderPlaySa(activePlayerSAs)) {
if (sa.isTrigger()) { if (sa.isTrigger() && !sa.isCopied()) {
if (prepareSingleSa(sa.getHostCard(), sa, true)) { if (prepareSingleSa(sa.getHostCard(), sa, true)) {
ComputerUtil.playStack(sa, player, getGame()); ComputerUtil.playStack(sa, player, getGame());
} }

View File

@@ -1935,7 +1935,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
} }
for (int i = orderedSAs.size() - 1; i >= 0; i--) { for (int i = orderedSAs.size() - 1; i >= 0; i--) {
final SpellAbility next = orderedSAs.get(i); final SpellAbility next = orderedSAs.get(i);
if (next.isTrigger()) { if (next.isTrigger() && !next.isCopied()) {
HumanPlay.playSpellAbility(this, player, next); HumanPlay.playSpellAbility(this, player, next);
} else { } else {
if (next.isCopied()) { if (next.isCopied()) {