magarena/release/Magarena/scripts/Lord_of_the_Unreal.groovy

19 lines
613 B
Groovy

[
new MagicStatic(
MagicLayer.ModPT,
MagicTargetFilter.TARGET_ILLUSION_YOU_CONTROL) {
@Override
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
pt.add(1,1);
}
},
new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_ILLUSION_YOU_CONTROL) {
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.Hexproof);
}
}
]