magarena/release/Magarena/scripts/Gideon_s_Lawkeeper.groovy

18 lines
492 B
Groovy

[
new MagicTapCreatureActivation(
[
MagicCondition.CAN_TAP_CONDITION,
MagicConditionFactory.ManaCost("{W}")
],
new MagicActivationHints(MagicTiming.Tapping),
"Tap") {
@Override
public MagicEvent[] getCostEvent(final MagicPermanent source) {
return [
new MagicPayManaCostTapEvent(source,source.getController(),
MagicManaCost.create("{W}"))
];
}
}
]