mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
@@ -122,7 +122,6 @@ public class CountersPutAllEffect extends SpellAbilityEffect {
|
||||
if (sa.hasParam("RememberCards")) { // remembers whether counters actually placed or not
|
||||
host.addRemembered(table.columnKeySet());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ public class CountersPutEffect extends SpellAbilityEffect {
|
||||
}
|
||||
// skip the StringBuilder if no targets are chosen ("up to" scenario)
|
||||
if (sa.usesTargeting()) {
|
||||
final List<Card> targetCards = SpellAbilityEffect.getTargetCards(sa);
|
||||
final List<Card> targetCards = getTargetCards(sa);
|
||||
if (targetCards.size() == 0) {
|
||||
return stringBuilder.toString();
|
||||
}
|
||||
@@ -132,7 +132,7 @@ public class CountersPutEffect extends SpellAbilityEffect {
|
||||
}
|
||||
// if use targeting we show all targets and corresponding counters
|
||||
} else if (sa.usesTargeting()) {
|
||||
final List<Card> targetCards = SpellAbilityEffect.getTargetCards(sa);
|
||||
final List<Card> targetCards = getTargetCards(sa);
|
||||
for (int i = 0; i < targetCards.size(); i++) {
|
||||
Card targetCard = targetCards.get(i);
|
||||
stringBuilder.append(targetCard);
|
||||
@@ -151,7 +151,7 @@ public class CountersPutEffect extends SpellAbilityEffect {
|
||||
String what = sa.getParamOrDefault("ChoicesDesc", sa.getParam("Choices"));
|
||||
stringBuilder.append(Lang.nounWithNumeralExceptOne(n, what));
|
||||
} else {
|
||||
final List<Card> targetCards = SpellAbilityEffect.getTargetCards(sa);
|
||||
final List<Card> targetCards = getTargetCards(sa);
|
||||
final Iterator<Card> it = targetCards.iterator();
|
||||
while (it.hasNext()) {
|
||||
final Card targetCard = it.next();
|
||||
|
||||
@@ -2469,7 +2469,7 @@ public class CardFactoryUtil {
|
||||
String repeffstr = "Event$ Destroy | ActiveZones$ Battlefield | ValidCard$ Card.EnchantedBy | Secondary$ True"
|
||||
+ " | Description$ Umbra armor (" + inst.getReminderText() + ")";
|
||||
|
||||
String abprevDamage = "DB$ DealDamage | Defined$ ReplacedCard | Remove$ All ";
|
||||
String abprevDamage = "DB$ DealDamage | Defined$ ReplacedCard | Remove$ All";
|
||||
String abdestroy = "DB$ Destroy | Defined$ Self";
|
||||
|
||||
SpellAbility sa = AbilityFactory.getAbility(abprevDamage, card);
|
||||
|
||||
Reference in New Issue
Block a user