mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- BFZ: Added Conduit of Ruin
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user