convert from java code to groovy code
parent
37b5bb7d83
commit
f39bdb3df6
|
@ -1,14 +1,5 @@
|
||||||
package magic.card;
|
[
|
||||||
|
new MagicStatic(
|
||||||
import magic.model.MagicGame;
|
|
||||||
import magic.model.MagicPermanent;
|
|
||||||
import magic.model.MagicPowerToughness;
|
|
||||||
import magic.model.mstatic.MagicLayer;
|
|
||||||
import magic.model.mstatic.MagicStatic;
|
|
||||||
import magic.model.target.MagicTargetFilter;
|
|
||||||
|
|
||||||
public class Glen_Elendra_Liege {
|
|
||||||
public static final MagicStatic S1 = new MagicStatic(
|
|
||||||
MagicLayer.ModPT,
|
MagicLayer.ModPT,
|
||||||
MagicTargetFilter.TARGET_BLACK_CREATURE_YOU_CONTROL) {
|
MagicTargetFilter.TARGET_BLACK_CREATURE_YOU_CONTROL) {
|
||||||
@Override
|
@Override
|
||||||
|
@ -19,8 +10,8 @@ public class Glen_Elendra_Liege {
|
||||||
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||||||
return source != target;
|
return source != target;
|
||||||
}
|
}
|
||||||
};
|
},
|
||||||
public static final MagicStatic S2 = new MagicStatic(
|
new MagicStatic(
|
||||||
MagicLayer.ModPT,
|
MagicLayer.ModPT,
|
||||||
MagicTargetFilter.TARGET_BLUE_CREATURE_YOU_CONTROL) {
|
MagicTargetFilter.TARGET_BLUE_CREATURE_YOU_CONTROL) {
|
||||||
@Override
|
@Override
|
||||||
|
@ -31,5 +22,5 @@ public class Glen_Elendra_Liege {
|
||||||
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
||||||
return source != target;
|
return source != target;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
}
|
]
|
|
@ -10,4 +10,4 @@ pt=2/3
|
||||||
ability=flying
|
ability=flying
|
||||||
static=player
|
static=player
|
||||||
timing=fmain
|
timing=fmain
|
||||||
requires_card_code
|
requires_groovy_code
|
||||||
|
|
Loading…
Reference in New Issue