mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added Equipoise
This commit is contained in:
@@ -59,6 +59,10 @@ public class ChooseCardEffect extends SpellAbilityEffect {
|
||||
final String numericAmount = sa.getParamOrDefault("Amount", "1");
|
||||
final int validAmount = StringUtils.isNumeric(numericAmount) ? Integer.parseInt(numericAmount) : CardFactoryUtil.xCount(host, host.getSVar(numericAmount));
|
||||
|
||||
if (validAmount <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (final Player p : tgtPlayers) {
|
||||
if (sa.hasParam("EachBasicType")) {
|
||||
// Get all lands,
|
||||
|
||||
@@ -38,6 +38,9 @@ public class CleanUpEffect extends SpellAbilityEffect {
|
||||
if (sa.hasParam("ClearCoinFlips")) {
|
||||
source.clearFlipResult();
|
||||
}
|
||||
if (sa.hasParam("ClearChosenCard")) {
|
||||
source.getChosenCard().clear();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user