mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Text fixes (fixes #8399)
This commit is contained in:
parent
ed4bc46164
commit
bcacb870af
2 changed files with 6 additions and 4 deletions
|
@ -19,7 +19,7 @@ public class PayVariableLifeCost extends VariableCostImpl {
|
|||
public PayVariableLifeCost(boolean useAsAdditionalCost) {
|
||||
super(useAsAdditionalCost ? VariableCostType.ADDITIONAL : VariableCostType.NORMAL,
|
||||
"life to pay");
|
||||
this.text = new StringBuilder(useAsAdditionalCost ? "as an additional cost to cast this spell, pay " : "Pay ")
|
||||
this.text = new StringBuilder(useAsAdditionalCost ? "As an additional cost to cast this spell, pay " : "Pay ")
|
||||
.append(xText).append(' ').append("life").toString();
|
||||
}
|
||||
|
||||
|
|
|
@ -2,19 +2,21 @@ package mage.target.common;
|
|||
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
|
||||
/**
|
||||
* @author North
|
||||
*/
|
||||
public class TargetCreaturePermanentAmount extends TargetPermanentAmount {
|
||||
|
||||
private static final FilterCreaturePermanent defaultFilter = new FilterCreaturePermanent("target creatures");
|
||||
|
||||
public TargetCreaturePermanentAmount(int amount) {
|
||||
super(amount, StaticFilters.FILTER_PERMANENT_CREATURE);
|
||||
super(amount, defaultFilter);
|
||||
}
|
||||
|
||||
public TargetCreaturePermanentAmount(DynamicValue amount) {
|
||||
this(amount, StaticFilters.FILTER_PERMANENT_CREATURE);
|
||||
this(amount, defaultFilter);
|
||||
}
|
||||
|
||||
public TargetCreaturePermanentAmount(int amount, FilterPermanent filter) {
|
||||
|
|
Loading…
Reference in a new issue