convert from java code to groovy code
parent
a1cca6c084
commit
0fb28adee8
|
@ -1,15 +1,5 @@
|
|||
package magic.card;
|
||||
|
||||
import magic.data.TokenCardDefinitions;
|
||||
import magic.model.MagicGame;
|
||||
import magic.model.MagicPermanent;
|
||||
import magic.model.MagicPlayer;
|
||||
import magic.model.action.MagicPlayTokensAction;
|
||||
import magic.model.event.MagicEvent;
|
||||
import magic.model.trigger.MagicWhenDiesTrigger;
|
||||
|
||||
public class Symbiotic_Beast {
|
||||
public static final MagicWhenDiesTrigger T = new MagicWhenDiesTrigger() {
|
||||
[
|
||||
new MagicWhenDiesTrigger() {
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicPermanent permanent) {
|
||||
return new MagicEvent(
|
||||
|
@ -18,7 +8,6 @@ public class Symbiotic_Beast {
|
|||
"PN puts four 1/1 green Insect creature tokens onto the battlefield."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(
|
||||
final MagicGame game,
|
||||
|
@ -30,5 +19,5 @@ public class Symbiotic_Beast {
|
|||
4
|
||||
));
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
]
|
|
@ -8,4 +8,4 @@ subtype=Insect,Beast
|
|||
cost={4}{G}{G}
|
||||
pt=4/4
|
||||
timing=main
|
||||
requires_card_code
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue