14 lines
469 B
Groovy
14 lines
469 B
Groovy
[
|
|
new MagicStatic(MagicLayer.Ability) {
|
|
@Override
|
|
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
|
for (final MagicPermanent target : permanent.getOpponent().getPermanents()) {
|
|
if (target.hasSubType(MagicSubType.Human)) {
|
|
flags.add(MagicAbility.Haste);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|