mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 20:32:06 -08:00
[KTK] Added 4 black cards.
This commit is contained in:
parent
6e13b3ec14
commit
f57d22501a
6 changed files with 395 additions and 6 deletions
|
|
@ -82,10 +82,11 @@ public class DoIfCostPaid extends OneShotEffect {
|
|||
protected String getCostText() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String costText = cost.getText();
|
||||
if (costText != null &&
|
||||
!costText.toLowerCase().startsWith("discard")
|
||||
if (costText != null
|
||||
&& !costText.toLowerCase().startsWith("discard")
|
||||
&& !costText.toLowerCase().startsWith("sacrifice")
|
||||
&& !costText.toLowerCase().startsWith("remove")) {
|
||||
&& !costText.toLowerCase().startsWith("remove")
|
||||
&& !costText.toLowerCase().startsWith("pay")) {
|
||||
sb.append("pay ");
|
||||
}
|
||||
return sb.append(costText).toString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue