mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
- Little fixes to 2 cards.
This commit is contained in:
parent
e7a311f04d
commit
da5d3bface
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue