27 lines
961 B
Groovy
27 lines
961 B
Groovy
[
|
|
new MagicStatic(
|
|
MagicLayer.Ability,
|
|
MagicTargetFilter.TARGET_MERFOLK_CREATURE) {
|
|
@Override
|
|
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
|
flags.add(MagicAbility.Islandwalk);
|
|
}
|
|
@Override
|
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
|
return source != target;
|
|
}
|
|
},
|
|
new MagicStatic(
|
|
MagicLayer.ModPT,
|
|
MagicTargetFilter.TARGET_MERFOLK_CREATURE) {
|
|
@Override
|
|
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
|
|
pt.add(1,1);
|
|
}
|
|
@Override
|
|
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
|
|
return source != target;
|
|
}
|
|
}
|
|
]
|