mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
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();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Costs<Cost> getCosts() {
|
||||||
|
Costs<Cost> alterCosts = new CostsImpl<>();
|
||||||
|
alterCosts.addAll(alternateCosts);
|
||||||
|
return alterCosts;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue