forked from External/mage
fixed EntersBattlefieldTappedAbility - singleton was a bad idea
This commit is contained in:
parent
428609ab8b
commit
a99ef071c8
15 changed files with 24 additions and 27 deletions
|
|
@ -135,10 +135,13 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
if (!player.chooseTarget(ability.getEffects().get(0).getOutcome(), newTarget, ability, game))
|
||||
newTarget.addTarget(targetId, ability, game);
|
||||
}
|
||||
else {
|
||||
newTarget.addTarget(targetId, ability, game);
|
||||
}
|
||||
}
|
||||
target.getTargets().clear();
|
||||
target.clearChosen();
|
||||
for (UUID newTargetId: newTarget.getTargets()) {
|
||||
target.getTargets().add(newTargetId);
|
||||
target.addTarget(newTargetId, ability, game);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue