mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
[WHO] Implement The Master, Multiplied (#11356)
This commit is contained in:
parent
7c27e0b999
commit
30b1ef5491
6 changed files with 135 additions and 10 deletions
|
|
@ -23,12 +23,15 @@ import org.apache.log4j.Logger;
|
|||
public class MyriadAbility extends AttacksTriggeredAbility {
|
||||
|
||||
public MyriadAbility() {
|
||||
super(new MyriadEffect(), false,
|
||||
"myriad <i>(Whenever this creature attacks, for each opponent other than the defending player, "
|
||||
+ "put a token that's a copy of this creature onto the battlefield tapped and attacking "
|
||||
+ "that player or a planeswalker they control. Exile those tokens at the end of combat.)</i>",
|
||||
SetTargetPointer.PLAYER
|
||||
);
|
||||
this(true);
|
||||
}
|
||||
|
||||
public MyriadAbility(boolean showAbilityHint) {
|
||||
super(new MyriadEffect(), false, "myriad" + (showAbilityHint ?
|
||||
" <i>(Whenever this creature attacks, for each opponent other than the defending player, " +
|
||||
"put a token that's a copy of this creature onto the battlefield tapped and attacking " +
|
||||
"that player or a planeswalker they control. Exile those tokens at the end of combat.)</i>" : ""),
|
||||
SetTargetPointer.PLAYER);
|
||||
}
|
||||
|
||||
protected MyriadAbility(final MyriadAbility ability) {
|
||||
|
|
|
|||
|
|
@ -1931,7 +1931,9 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
}
|
||||
boolean successfullyMoved = ZonesHandler.moveCard(zoneChangeInfo, game, source);
|
||||
//20180810 - 701.3d
|
||||
detachAllAttachments(game);
|
||||
if (successfullyMoved) {
|
||||
detachAllAttachments(game);
|
||||
}
|
||||
return successfullyMoved;
|
||||
}
|
||||
return false;
|
||||
|
|
@ -1945,7 +1947,9 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
|
||||
boolean successfullyMoved = ZonesHandler.moveCard(zcInfo, game, source);
|
||||
//20180810 - 701.3d
|
||||
detachAllAttachments(game);
|
||||
if (successfullyMoved) {
|
||||
detachAllAttachments(game);
|
||||
}
|
||||
return successfullyMoved;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue