- Reset targets for ChangeZoneAi SameName logic (hopefully fixes Declaration in Stone AI targeting errors).

This commit is contained in:
Agetian
2016-12-17 15:05:57 +00:00
parent 1da0063310
commit 141f66d54d

View File

@@ -131,6 +131,7 @@ public class ChangeZoneAi extends SpellAbilityAi {
CardPredicates.nameEquals(max.getValue().getKey()), CardPredicates.isTargetableBy(sa));
// list should contain only one element or zero
sa.resetTargets();
for (Card c : list) {
sa.getTargets().add(c);
return true;