mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
text fix
This commit is contained in:
parent
06be26e98a
commit
05affe2dc7
2 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
// 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,
|
this.addAbility(new SimpleStaticAbility(Zone.ALL,
|
||||||
new DevourEffect(2, StaticFilters.FILTER_CONTROLLED_PERMANENT_CREATURE_OR_PLANESWALKER)
|
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")
|
+ " If you do, it enters with twice that many +1/+1 counters on it")
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,10 @@ public class DevourEffect extends ReplacementEffectImpl {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getText(Mode mode) {
|
public String getText(Mode mode) {
|
||||||
|
if (staticText != null && !staticText.isEmpty()) {
|
||||||
|
return staticText;
|
||||||
|
}
|
||||||
|
|
||||||
String text = "Devour ";
|
String text = "Devour ";
|
||||||
|
|
||||||
String filterMessage = filterDevoured.getMessage();
|
String filterMessage = filterDevoured.getMessage();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue