From 05affe2dc7100625fbe42dd2d2046fe3a11a22e9 Mon Sep 17 00:00:00 2001 From: xenohedron Date: Tue, 1 Oct 2024 17:35:05 -0400 Subject: [PATCH] text fix --- Mage.Sets/src/mage/cards/d/DevouringHellion.java | 2 +- .../main/java/mage/abilities/effects/common/DevourEffect.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/d/DevouringHellion.java b/Mage.Sets/src/mage/cards/d/DevouringHellion.java index dfe1f3087f7..f9385861199 100644 --- a/Mage.Sets/src/mage/cards/d/DevouringHellion.java +++ b/Mage.Sets/src/mage/cards/d/DevouringHellion.java @@ -27,7 +27,7 @@ public final class DevouringHellion extends CardImpl { // As Devouring Hellion enters the battlefield, you may sacrifice any number of creatures and/or planeswalkers. If you do, it enters with twice that many +1/+1 counters on it. this.addAbility(new SimpleStaticAbility(Zone.ALL, new DevourEffect(2, StaticFilters.FILTER_CONTROLLED_PERMANENT_CREATURE_OR_PLANESWALKER) - .setText("As {this} enters the battlefield, you may sacrifice any number of creatures and/or planeswalkers." + .setText("As {this} enters, you may sacrifice any number of creatures and/or planeswalkers." + " If you do, it enters with twice that many +1/+1 counters on it") )); } diff --git a/Mage/src/main/java/mage/abilities/effects/common/DevourEffect.java b/Mage/src/main/java/mage/abilities/effects/common/DevourEffect.java index 800c54452b5..30cada36483 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/DevourEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/DevourEffect.java @@ -125,6 +125,10 @@ public class DevourEffect extends ReplacementEffectImpl { @Override public String getText(Mode mode) { + if (staticText != null && !staticText.isEmpty()) { + return staticText; + } + String text = "Devour "; String filterMessage = filterDevoured.getMessage();