- Fixed "CounterType$ Any" in AF CounterRemove.

- GTC: Added Thrull Parasite by PowerClaws.
This commit is contained in:
Sloth
2013-01-18 19:36:59 +00:00
parent 6d577dabfd
commit 7cd3a66f7b

View File

@@ -61,13 +61,15 @@ public class CountersRemoveEffect extends SpellEffect {
counterAmount = AbilityFactory.calculateAmount(sa.getSourceCard(), sa.getParam("CounterNum"), sa);
}
CounterType counterType;
CounterType counterType = null;
try {
counterType = AbilityFactory.getCounterType(type, sa);
} catch (Exception e) {
System.out.println("Counter type doesn't match, nor does an SVar exist with the type name.");
return;
if (!type.matches("Any")) {
System.out.println("Counter type doesn't match, nor does an SVar exist with the type name.");
return;
}
}
final Target tgt = sa.getTarget();