Merge branch 'patch' into 'master'

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

See merge request core-developers/forge!322
This commit is contained in:
Michael Kamensky
2018-03-26 18:16:15 +00:00

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());