diff --git a/release/Magarena/scripts/Telekinetic_Sliver.groovy b/release/Magarena/scripts/Telekinetic_Sliver.groovy deleted file mode 100644 index f3de1ee994..0000000000 --- a/release/Magarena/scripts/Telekinetic_Sliver.groovy +++ /dev/null @@ -1,45 +0,0 @@ - -def TelekineticTap = new MagicPermanentActivation( - new MagicActivationHints(MagicTiming.Tapping), - "Tap" -) { - - @Override - public Iterable getCostEvent(final MagicPermanent source) { - return [ - new MagicTapEvent(source) - ]; - } - - @Override - public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) { - return new MagicEvent( - source, - MagicTargetChoice.NEG_TARGET_PERMANENT, - MagicTapTargetPicker.Tap, - this, - "Tap target permanent\$." - ); - } - - @Override - public void executeEvent(final MagicGame game, final MagicEvent event) { - event.processTargetPermanent(game,new MagicPermanentAction() { - public void doAction(final MagicPermanent permanent) { - game.doAction(new MagicTapAction(permanent,true)); - } - }); - } -}; - -[ - new MagicStatic( - MagicLayer.Ability, - MagicTargetFilter.TARGET_SLIVER - ) { - @Override - public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set flags) { - permanent.addAbility(TelekineticTap); - } - } -] diff --git a/release/Magarena/scripts/Telekinetic_Sliver.txt b/release/Magarena/scripts/Telekinetic_Sliver.txt index d894fff1c1..9427b8a332 100644 --- a/release/Magarena/scripts/Telekinetic_Sliver.txt +++ b/release/Magarena/scripts/Telekinetic_Sliver.txt @@ -7,6 +7,6 @@ type=Creature subtype=Sliver cost={2}{U}{U} pt=2/2 +ability=lord all slivers have pay {T} Tap target permanent. static=all timing=main -requires_groovy_code