magarena/release/Magarena/scripts/Gnarled_Effigy.groovy

17 lines
435 B
Groovy

[
new MagicWeakenCreatureActivation(
[
MagicCondition.CAN_TAP_CONDITION,
MagicConditionFactory.ManaCost("{4}")
],
new MagicActivationHints(MagicTiming.Removal),
"-1/-1") {
@Override
public MagicEvent[] getCostEvent(final MagicPermanent source) {
return [
new MagicPayManaCostTapEvent(source,"{4}")
];
}
}
]