- Added Equipoise

This commit is contained in:
swordshine
2014-05-27 12:51:56 +00:00
parent df0e320a5f
commit c07f8d5e9b
4 changed files with 34 additions and 0 deletions

View File

@@ -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,

View File

@@ -38,6 +38,9 @@ public class CleanUpEffect extends SpellAbilityEffect {
if (sa.hasParam("ClearCoinFlips")) {
source.clearFlipResult();
}
if (sa.hasParam("ClearChosenCard")) {
source.getChosenCard().clear();
}
}
}