Gideon from GTC - 1st ability will work

This commit is contained in:
Maxmtg
2013-06-20 17:46:47 +00:00
parent 9c5a38ac70
commit 8a50df0e06
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ public class SaTargetRountines {
// Cards
protected List<Card> getTargetCards(SpellAbility sa) { return getCards(false, "Defined", sa); }
protected List<Card> getTargetCards(SpellAbility sa, String definedParam) { return getCards(false, definedParam, sa); }
protected List<Card> getDefinedCardsOrTargeted(SpellAbility sa) { return getCards(true, "Defined", sa); }
protected List<Card> getDefinedCardsOrTargeted(SpellAbility sa, String definedParam) { return getCards(true, definedParam, sa); }
private List<Card> getCards(boolean definedFirst, String definedParam, SpellAbility sa) {

View File

@@ -90,7 +90,7 @@ public class CountersPutEffect extends SpellAbilityEffect {
}
}
List<Card> tgtCards = getTargetCards(sa);
List<Card> tgtCards = getDefinedCardsOrTargeted(sa);
for (final Card tgtCard : tgtCards) {
counterAmount = (sa.usesTargeting() && sa.hasParam("DividedAsYouChoose")) ? sa.getTargetRestrictions().getDividedValue(tgtCard) : counterAmount;