From 93662227610b53a04cf54a4d0aaf67a49efcdacc Mon Sep 17 00:00:00 2001 From: htrajan Date: Sat, 18 Apr 2020 14:18:19 -0700 Subject: [PATCH] combine into one ability and show correct rules text --- Mage.Sets/src/mage/cards/s/SanctuaryBlade.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Mage.Sets/src/mage/cards/s/SanctuaryBlade.java b/Mage.Sets/src/mage/cards/s/SanctuaryBlade.java index ffb42ebb7e..287ca9060c 100644 --- a/Mage.Sets/src/mage/cards/s/SanctuaryBlade.java +++ b/Mage.Sets/src/mage/cards/s/SanctuaryBlade.java @@ -31,12 +31,14 @@ public final class SanctuaryBlade extends CardImpl { // As Sanctuary Blade becomes attached to a creature, choose a color. this.addAbility(new AttachedToCreatureSourceTriggeredAbility(new ChooseColorEffect(Outcome.Benefit), false)); - // Equipped creature gets +2/+0 + // Equipped creature gets +2/+0 and has protection from the last chosen color. Effect boostEffect = new BoostEquippedEffect(2, 0); - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, boostEffect)); - - // and has protection from the last chosen color - this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ProtectionChosenColorAttachedEffect(false))); + boostEffect.concatBy("."); + SimpleStaticAbility ability = new SimpleStaticAbility(Zone.BATTLEFIELD, boostEffect); + ProtectionChosenColorAttachedEffect protectionEfect = new ProtectionChosenColorAttachedEffect(false); + protectionEfect.setText("and has protection from the last chosen color."); + ability.addEffect(protectionEfect); + this.addAbility(ability); // Equip {3} this.addAbility(new EquipAbility(Outcome.BoostCreature, new GenericManaCost(3)));