mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[LTR] Fix Morgul-Knife Wound text (#10477)
This commit is contained in:
parent
7c70add7fd
commit
8d99524660
1 changed files with 6 additions and 4 deletions
|
@ -6,6 +6,7 @@ import mage.abilities.common.SimpleStaticAbility;
|
|||
import mage.abilities.costs.common.PayLifeCost;
|
||||
import mage.abilities.effects.common.AttachEffect;
|
||||
import mage.abilities.effects.common.DoIfCostPaid;
|
||||
import mage.abilities.effects.common.DoUnlessControllerPaysEffect;
|
||||
import mage.abilities.effects.common.ExileSourceEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostEnchantedEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
|
||||
|
@ -37,10 +38,11 @@ public final class MorgulKnifeWound extends CardImpl {
|
|||
// Enchanted creature gets -3/-0 and has "At the beginning of your upkeep, exile this creature unless you pay 2 life."
|
||||
Ability ability = new SimpleStaticAbility(new BoostEnchantedEffect(-3, 0));
|
||||
ability.addEffect(new GainAbilityAttachedEffect(new BeginningOfUpkeepTriggeredAbility(
|
||||
new DoIfCostPaid(
|
||||
null, new ExileSourceEffect(), new PayLifeCost(2)
|
||||
.setText("exile this creature unless you pay 2 life")
|
||||
), TargetController.YOU, false
|
||||
new DoUnlessControllerPaysEffect(
|
||||
new ExileSourceEffect(),
|
||||
new PayLifeCost(2),
|
||||
"Pay 2 life to prevent {this} from being exiled?"
|
||||
).setText("exile {this} unless you pay 2 life"), TargetController.YOU, false
|
||||
), AttachmentType.AURA).setText("and has \"At the beginning of your upkeep, exile this creature unless you pay 2 life.\""));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue