mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
Allow to set custom text for provoke ability.
This commit is contained in:
parent
636fdb0afb
commit
a74e0c2ed3
2 changed files with 7 additions and 3 deletions
|
@ -41,13 +41,13 @@ import mage.constants.CardType;
|
||||||
public class TwilekSeductess extends CardImpl {
|
public class TwilekSeductess extends CardImpl {
|
||||||
|
|
||||||
public TwilekSeductess(UUID ownerId, CardSetInfo setInfo) {
|
public TwilekSeductess(UUID ownerId, CardSetInfo setInfo) {
|
||||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G}");
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
||||||
this.subtype.add("Twi'lek");
|
this.subtype.add("Twi'lek");
|
||||||
this.power = new MageInt(2);
|
this.power = new MageInt(2);
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
// Whenever Twi'lek Seductess attacks, you may have target creature defending player controls untap and block it if able.
|
// Whenever Twi'lek Seductess attacks, you may have target creature defending player controls untap and block it if able.
|
||||||
this.addAbility(new ProvokeAbility());
|
this.addAbility(new ProvokeAbility("Whenever {this} attacks, you may have target creature defending player controls untap and block it if able."));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,11 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
public class ProvokeAbility extends AttacksTriggeredAbility {
|
public class ProvokeAbility extends AttacksTriggeredAbility {
|
||||||
|
|
||||||
public ProvokeAbility() {
|
public ProvokeAbility() {
|
||||||
super(new UntapTargetEffect(), true, "Provoke <i>(Whenever this attacks, you may have target creature defending player controls untap and block it if able.)</i>");
|
this("Provoke <i>(Whenever this attacks, you may have target creature defending player controls untap and block it if able.)</i>");
|
||||||
|
}
|
||||||
|
|
||||||
|
public ProvokeAbility(String text) {
|
||||||
|
super(new UntapTargetEffect(), true, text);
|
||||||
this.addEffect(new ProvokeRequirementEffect());
|
this.addEffect(new ProvokeRequirementEffect());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue