Improved SacrificeTargetCost

This commit is contained in:
North 2011-10-05 22:01:09 +03:00
parent fc182e2978
commit d05636e20c

View file

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