mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
text fix
This commit is contained in:
parent
d5b582c1b3
commit
3bc28d63c3
2 changed files with 6 additions and 7 deletions
|
|
@ -11,7 +11,6 @@ import mage.constants.CommanderCardType;
|
|||
import mage.constants.Outcome;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
|
|
@ -24,6 +23,7 @@ import mage.util.CardUtil;
|
|||
|
||||
/**
|
||||
* "Put a {filter} card from {zone 1} or {zone 2} onto the battlefield.
|
||||
* TODO: Refactor, see #11213
|
||||
*
|
||||
* @author TheElk801, Alex-Vasile
|
||||
*/
|
||||
|
|
@ -65,10 +65,6 @@ public class PutCardFromOneOfTwoZonesOntoBattlefieldEffect extends OneShotEffect
|
|||
this(filterCard, tapped, effectToApplyOnPermanent, Zone.HAND, Zone.GRAVEYARD);
|
||||
}
|
||||
|
||||
public PutCardFromOneOfTwoZonesOntoBattlefieldEffect(FilterCard filterCard, Zone zone1, Zone zone2) {
|
||||
this(filterCard, false, null, zone1, zone2);
|
||||
}
|
||||
|
||||
private PutCardFromOneOfTwoZonesOntoBattlefieldEffect(final PutCardFromOneOfTwoZonesOntoBattlefieldEffect effect) {
|
||||
super(effect);
|
||||
this.filterCard = effect.filterCard;
|
||||
|
|
@ -156,6 +152,9 @@ public class PutCardFromOneOfTwoZonesOntoBattlefieldEffect extends OneShotEffect
|
|||
|
||||
@Override
|
||||
public String getText(Mode mode) {
|
||||
if (staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
return "you may put " + CardUtil.addArticle(this.filterCard.getMessage()) +
|
||||
" from your hand or graveyard onto the battlefield" +
|
||||
(this.tapped ? " tapped" : "") +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue