magarena/release/Magarena/scripts/Lord_of_Atlantis.groovy

27 lines
961 B
Groovy
Raw Normal View History

2013-05-17 22:53:27 -07:00
[
new MagicStatic(
MagicLayer.Ability,
MagicTargetFilter.TARGET_MERFOLK_CREATURE) {
2012-10-30 06:45:35 -07:00
@Override
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
flags.add(MagicAbility.Islandwalk);
2012-10-30 06:45:35 -07:00
}
@Override
public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
return source != target;
}
2013-05-17 22:53:27 -07:00
},
new MagicStatic(
2012-10-30 06:45:35 -07:00
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;
}
2013-05-17 22:53:27 -07:00
}
]