mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Myriad - Fixed a bug that the token was also created to attack the definding player.
This commit is contained in:
parent
82688fd6f2
commit
03c766a485
2 changed files with 9 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ class MyriadEffect extends OneShotEffect {
|
|||
}
|
||||
List<Permanent> tokens = new ArrayList<>();
|
||||
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
|
||||
if (playerId != defendingPlayerId && controller.hasOpponent(playerId, game)) {
|
||||
if (!playerId.equals(defendingPlayerId) && controller.hasOpponent(playerId, game)) {
|
||||
Player opponent = game.getPlayer(playerId);
|
||||
if (opponent != null && controller.chooseUse(Outcome.PutCreatureInPlay,
|
||||
"Put a copy of " + sourceObject.getIdName() + " onto battlefield attacking " + opponent.getName() + "?", source, game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue