mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
* Fixed that the new early way to add counters to permanents entering the battlefield (e.g. used for Undying) checked effects while the permanents was not already set to Zone battlefield. That caused e.g. the ability of Tatterkite not to work at that time.
This commit is contained in:
parent
0368c5287a
commit
eb3aef7ee5
4 changed files with 64 additions and 38 deletions
|
|
@ -602,10 +602,10 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
|||
PermanentCard permanent = new PermanentCard(this, event.getPlayerId(), game);
|
||||
// make sure the controller of all continuous effects of this card are switched to the current controller
|
||||
game.getContinuousEffects().setController(objectId, event.getPlayerId());
|
||||
// check if there are counters to add to the permanent (e.g. from non replacement effects like Persist)
|
||||
checkForCountersToAdd(permanent, game);
|
||||
game.addPermanent(permanent);
|
||||
setZone(Zone.BATTLEFIELD, game);
|
||||
// check if there are counters to add to the permanent (e.g. from non replacement effects like Persist)
|
||||
checkForCountersToAdd(permanent, game);
|
||||
game.setScopeRelevant(true);
|
||||
permanent.setTapped(tapped);
|
||||
permanent.setFaceDown(facedown, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue