magarena/release/Magarena/scripts/Jund_Hackblade.groovy

19 lines
706 B
Groovy
Raw Normal View History

[
2013-04-01 07:38:08 -07:00
new MagicStatic(MagicLayer.ModPT) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
if (MagicCondition.CONTROL_ANOTHER_MULTICOLORED_PERMANENT.accept(permanent)) {
pt.add(1,1);
}
}
},
new MagicStatic(MagicLayer.Ability) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
2013-04-01 07:38:08 -07:00
if (MagicCondition.CONTROL_ANOTHER_MULTICOLORED_PERMANENT.accept(permanent)) {
flags.add(MagicAbility.Haste);
}
}
}
]