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