Failing test for continuous effects

This commit is contained in:
magenoxx 2012-06-30 09:11:36 +04:00
parent b9139ca4c9
commit 02d41fd65f
2 changed files with 34 additions and 0 deletions

View file

@ -75,10 +75,12 @@ public class TamiyoTheMoonSage extends CardImpl<TamiyoTheMoonSage> {
ability.addEffect(new SkipNextUntapTargetEffect());
ability.addTarget(new TargetPermanent());
this.addAbility(ability);
// -2: Draw a card for each tapped creature target player controls.
ability = new LoyaltyAbility(new DrawCardControllerEffect(new TappedCreaturesControlledByTargetCount()), -2);
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
// -8: You get an emblem with "You have no maximum hand size" and "Whenever a card is put into your graveyard from anywhere, you may return it to your hand."
this.addAbility(new LoyaltyAbility(new GetEmblemEffect(new TamiyoTheMoonSageEmblem()), -8));
}