mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Reset targets for ChangeZoneAi SameName logic (hopefully fixes Declaration in Stone AI targeting errors).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user