mirror of
https://github.com/correl/mage.git
synced 2025-04-11 01:01:05 -09:00
Fix Veteran Soldier. Closes #9028
This commit is contained in:
parent
e1ed210b6e
commit
a5d53cdb5d
2 changed files with 2 additions and 2 deletions
Mage.Sets/src/mage/cards/v
Mage/src/main/java/mage/abilities/common
|
@ -60,7 +60,7 @@ class VeteranSoldierEffect extends OneShotEffect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
|
for (UUID opponentId : game.getOpponents(source.getControllerId(), true)) {
|
||||||
if (game.getPlayer(opponentId) != null) {
|
if (game.getPlayer(opponentId) != null) {
|
||||||
new SoldierToken().putOntoBattlefield(
|
new SoldierToken().putOntoBattlefield(
|
||||||
1, game, source, source.getControllerId(),
|
1, game, source, source.getControllerId(),
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class AttacksOpponentWithMostLifeTriggeredAbility extends TriggeredAbilit
|
||||||
Player defender = game.getPlayer(game.getCombat().getDefenderId(getSourceId()));
|
Player defender = game.getPlayer(game.getCombat().getDefenderId(getSourceId()));
|
||||||
return defender != null
|
return defender != null
|
||||||
&& game
|
&& game
|
||||||
.getOpponents(getControllerId())
|
.getOpponents(getControllerId(), true)
|
||||||
.stream()
|
.stream()
|
||||||
.map(game::getPlayer)
|
.map(game::getPlayer)
|
||||||
.filter(Objects::nonNull)
|
.filter(Objects::nonNull)
|
||||||
|
|
Loading…
Add table
Reference in a new issue