[KTK] Added 4 black cards.

This commit is contained in:
emerald000 2014-09-08 21:46:09 -04:00
parent 6e13b3ec14
commit f57d22501a
6 changed files with 395 additions and 6 deletions

View file

@ -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();