This commit is contained in:
xenohedron 2024-10-01 17:35:05 -04:00
parent 06be26e98a
commit 05affe2dc7
2 changed files with 5 additions and 1 deletions

View file

@ -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")
));
}

View file

@ -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();