forked from External/mage
Fixed canPlay method to care abou alternate casting costs.
This commit is contained in:
parent
63208c33ed
commit
a15deab99d
1 changed files with 8 additions and 0 deletions
|
|
@ -188,4 +188,12 @@ public class AlternativeCostSourceAbility extends StaticAbility<AlternativeCostS
|
|||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Costs<Cost> getCosts() {
|
||||
Costs<Cost> alterCosts = new CostsImpl<>();
|
||||
alterCosts.addAll(alternateCosts);
|
||||
return alterCosts;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue