convert from java code to groovy code
parent
f2698ac460
commit
85b7c535a2
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
]
|
|
@ -10,4 +10,4 @@ pt=3/3
|
|||
ability=flying,wither
|
||||
static=opponent
|
||||
timing=fmain
|
||||
requires_card_code
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue