- BFZ: Added Conduit of Ruin

This commit is contained in:
swordshine
2015-09-08 13:30:36 +00:00
parent 4c22ab201f
commit d865e37a6f

View File

@@ -235,8 +235,11 @@ public class ManaCostAdjustment {
if (activator == null ) { if (activator == null ) {
return; return;
} }
if (CardLists.filterControlledBy(activator.getGame().getStack().getSpellsCastThisTurn(), CardCollection list = CardLists.filterControlledBy(activator.getGame().getStack().getSpellsCastThisTurn(), activator);
activator).size() > 0) { if (params.containsKey("ValidCard")) {
list = CardLists.getValidCards(list, params.get("ValidCard"), hostCard.getController(), hostCard);
}
if (list.size() > 0) {
return; return;
} }
} }
@@ -380,8 +383,11 @@ public class ManaCostAdjustment {
if (activator == null ) { if (activator == null ) {
return; return;
} }
if (CardLists.filterControlledBy(activator.getGame().getStack().getSpellsCastThisTurn(), CardCollection list = CardLists.filterControlledBy(activator.getGame().getStack().getSpellsCastThisTurn(), activator);
activator).size() > 0) { if (params.containsKey("ValidCard")) {
list = CardLists.getValidCards(list, params.get("ValidCard"), hostCard.getController(), hostCard);
}
if (list.size() > 0) {
return; return;
} }
} }