mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Warrior's Lesson - Fixed tooltip text.
This commit is contained in:
parent
25994e8910
commit
5a454cfad2
1 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,7 @@ package mage.sets.theros;
|
|||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DealsDamageToAPlayerTriggeredAbility;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.DrawCardControllerEffect;
|
||||
import mage.abilities.effects.common.continious.GainAbilityTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -52,7 +53,9 @@ 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.EndOfTurn));
|
||||
Effect effect = new GainAbilityTargetEffect(ability, Duration.EndOfTurn);
|
||||
effect.setText("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.\"");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0,2));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue