- Little fixes to 2 cards.

This commit is contained in:
Jeff 2014-11-20 17:30:21 -06:00
parent e7a311f04d
commit da5d3bface
2 changed files with 2 additions and 0 deletions

View file

@ -105,6 +105,7 @@ class CemeteryPucaEffect extends OneShotEffect {
ContinuousEffect effect = new GainAbilityTargetEffect(new DiesCreatureTriggeredAbility(new DoIfCostPaid(new CemeteryPucaEffect(), new ManaCostsImpl("{1}")), false, new FilterCreaturePermanent("a creature"), true), Duration.WhileOnBattlefield); ContinuousEffect effect = new GainAbilityTargetEffect(new DiesCreatureTriggeredAbility(new DoIfCostPaid(new CemeteryPucaEffect(), new ManaCostsImpl("{1}")), false, new FilterCreaturePermanent("a creature"), true), Duration.WhileOnBattlefield);
effect.setTargetPointer(new FixedTarget(copyToCreature.getId())); effect.setTargetPointer(new FixedTarget(copyToCreature.getId()));
game.addEffect(effect, source); game.addEffect(effect, source);
return true;
} }
} }
return false; return false;

View file

@ -150,6 +150,7 @@ class DreamSalvageEffect extends OneShotEffect {
&& watcher != null && watcher != null
&& watcher.getAmountCardsDiscarded(targetOpponent.getId()) > 0) { && watcher.getAmountCardsDiscarded(targetOpponent.getId()) > 0) {
controller.drawCards(watcher.getAmountCardsDiscarded(targetOpponent.getId()), game); controller.drawCards(watcher.getAmountCardsDiscarded(targetOpponent.getId()), game);
return true;
} }
return false; return false;
} }