reverted change to SacrificeTargetCost

This commit is contained in:
North 2011-10-06 20:08:55 +03:00
parent 104ead30af
commit f6b75537f6

View file

@ -60,7 +60,7 @@ public class SacrificeTargetCost extends CostImpl<SacrificeTargetCost> {
@Override @Override
public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana) { public boolean pay(Ability ability, Game game, UUID sourceId, UUID controllerId, boolean noMana) {
if (targets.chooseTargets(Outcome.Sacrifice, controllerId, ability, game)) { if (targets.choose(Outcome.Sacrifice, controllerId, game)) {
for (UUID targetId: targets.get(0).getTargets()) { for (UUID targetId: targets.get(0).getTargets()) {
Permanent permanent = game.getPermanent(targetId); Permanent permanent = game.getPermanent(targetId);
if (permanent == null) if (permanent == null)