- Reset the activations so that flickering a planeswalker can activate the loyalty ability again

This commit is contained in:
swordshine
2018-03-26 22:47:45 +08:00
parent 18a0ec2f67
commit ab96026176

View File

@@ -460,6 +460,10 @@ public class GameAction {
unattachCardLeavingBattlefield(copied);
// Remove all changed keywords
copied.removeAllChangedText(game.getNextTimestamp());
// reset activations
for (SpellAbility ab : copied.getSpellAbilities()) {
ab.getRestrictions().resetTurnActivations();
}
} else if (toBattlefield) {
// reset timestamp in changezone effects so they have same timestamp if ETB simutaneously
copied.setTimestamp(game.getNextTimestamp());