fixed EntersBattlefieldTappedAbility - singleton was a bad idea

This commit is contained in:
BetaSteward 2010-11-25 04:42:30 +00:00
parent 428609ab8b
commit a99ef071c8
15 changed files with 24 additions and 27 deletions

View file

@ -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;