forked from External/mage
Tokens rework: fixed morph support, fixed test (related to #10139)
This commit is contained in:
parent
94819ff91c
commit
3986196aa4
6 changed files with 110 additions and 66 deletions
|
|
@ -1185,9 +1185,9 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
@Override
|
||||
public boolean entersBattlefield(Ability source, Game game, Zone fromZone, boolean fireEvent) {
|
||||
controlledFromStartOfControllerTurn = false;
|
||||
if (this.isFaceDown(game)) {
|
||||
if (this.isFaceDown(game)) { // ?? add morphed/manifested here ??
|
||||
// remove some attributes here, because first apply effects comes later otherwise abilities (e.g. color related) will unintended trigger
|
||||
MorphAbility.setPermanentToFaceDownCreature(this, game);
|
||||
MorphAbility.setPermanentToFaceDownCreature(this, this, game);
|
||||
}
|
||||
|
||||
if (game.replaceEvent(new EntersTheBattlefieldEvent(this, source, getControllerId(), fromZone, EnterEventType.SELF))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue