convert from java code to groovy code

master
melvin 2013-03-13 20:59:41 +08:00
parent f2698ac460
commit 85b7c535a2
2 changed files with 5 additions and 16 deletions

View File

@ -1,16 +1,5 @@
package magic.card;
import magic.model.MagicAbility;
import magic.model.MagicGame;
import magic.model.MagicPermanent;
import magic.model.mstatic.MagicLayer;
import magic.model.mstatic.MagicStatic;
import magic.model.target.MagicTargetFilter;
import java.util.Set;
public class Kulrath_Knight {
public static final MagicStatic S2 = new MagicStatic(
[
new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS) {
@Override
@ -21,5 +10,5 @@ public class Kulrath_Knight {
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return target.hasCounters();
}
};
}
}
]

View File

@ -10,4 +10,4 @@ pt=3/3
ability=flying,wither
static=opponent
timing=fmain
requires_card_code
requires_groovy_code