forked from External/mage
Replace many custom CostImpl classes with common ones. Fix some wrong text. Fix #9679
This commit is contained in:
parent
58d252876a
commit
5e10c3a279
20 changed files with 211 additions and 689 deletions
|
|
@ -26,8 +26,9 @@ public class ExileTargetCost extends CostImpl {
|
|||
List<Permanent> permanents = new ArrayList<>();
|
||||
|
||||
public ExileTargetCost(TargetControlledPermanent target) {
|
||||
target.setNotTarget(true);
|
||||
this.addTarget(target);
|
||||
this.text = "Exile " + target.getTargetName();
|
||||
this.text = "exile " + target.getTargetName();
|
||||
}
|
||||
|
||||
public ExileTargetCost(TargetControlledPermanent target, boolean noText) {
|
||||
|
|
@ -61,7 +62,7 @@ public class ExileTargetCost extends CostImpl {
|
|||
// so return state here is not important because the user indended to exile the target anyway
|
||||
}
|
||||
player.moveCardsToExile(
|
||||
cards.getCards(game), source, game, false,
|
||||
cards.getCards(game), source, game, true,
|
||||
CardUtil.getExileZoneId(game, source),
|
||||
CardUtil.getSourceName(game, source)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue