Fixed bug of Tribute to Hunger where target was not required.

This commit is contained in:
LevelX2 2013-05-22 22:35:36 +02:00
parent 2e15772385
commit 278e7771ed

View file

@ -96,6 +96,7 @@ class TributeToHungerEffect extends OneShotEffect<TributeToHungerEffect> {
filter.add(new CardTypePredicate(CardType.CREATURE));
filter.add(new ControllerPredicate(TargetController.YOU));
TargetControlledPermanent target = new TargetControlledPermanent(1, 1, filter, false);
target.setRequired(true);
if (target.canChoose(player.getId(), game)) {
player.choose(Outcome.Sacrifice, target, source.getSourceId(), game);