mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
* Warriors' Lesson - Fixed that the duration of the given effect correctly lasts only until end of turn.
This commit is contained in:
parent
949e861efd
commit
9252ca604a
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ public class WarriorsLesson extends CardImpl<WarriorsLesson> {
|
|||
|
||||
// Until end of turn, up to two target creatures you control each gain "Whenever this creature deals combat damage to a player, draw a card."
|
||||
Ability ability = new DealsDamageToAPlayerTriggeredAbility(new DrawCardControllerEffect(1),false);
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(ability, Duration.EndOfGame));
|
||||
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(ability, Duration.EndOfTurn));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0,2));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue