Skip to content

Commit

Permalink
docs: added additional notes for 616, related to #13062
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 committed Nov 30, 2024
1 parent 0689c56 commit fdbc5d6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Mage/src/main/java/mage/game/permanent/PermanentImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -1255,11 +1255,26 @@ public boolean entersBattlefield(Ability source, Game game, Zone fromZone, boole
}

// own etb event
// 616.1a
// If any of the replacement and/or prevention effects are self-replacement effects (see rule 614.15),
// one of them must be chosen. If not, proceed to rule 616.1b.
if (game.replaceEvent(new EntersTheBattlefieldEvent(this, source, getControllerId(), fromZone, EnterEventType.SELF))) {
return false;
}

// 616.1b
// If any of the replacement and/or prevention effects would modify under whose control an object would
// enter the battlefield, one of them must be chosen. If not, proceed to rule 616.1c.
// TODO: need implementation? See #13062

// 616.1c
// If any of the replacement and/or prevention effects would cause an object to become a copy of another
// object as it enters the battlefield, one of them must be chosen. If not, proceed to rule 616.1d.
// TODO: need implementation? See #13062

// normal etb event
// 616.1d
// Any of the applicable replacement and/or prevention effects may be chosen.
EntersTheBattlefieldEvent event = new EntersTheBattlefieldEvent(this, source, getControllerId(), fromZone);
if (game.replaceEvent(event)) {
return false;
Expand Down

0 comments on commit fdbc5d6

Please sign in to comment.