mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Fix Agrus Kos free target selection for triggers
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user