- Added Fate Transfer

This commit is contained in:
swordshine
2013-05-23 00:20:54 +00:00
parent fb559e7140
commit 65c77759db
3 changed files with 17 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ public class RepeatEachEffect extends SpellAbilityEffect {
if (sa.hasParam("RepeatCounters")) {
Card target = sa.getTargetCard();
if (target == null) {
target = AbilityUtils.getDefinedCards(sa.getSourceCard(), sa.getParam("Defined"), sa).get(0);
}
Set<CounterType> types = new HashSet<CounterType>(target.getCounters().keySet());
for (CounterType type : types) {
StringBuilder sb = new StringBuilder();