2013-02-07 21:11:43 -08:00
|
|
|
[
|
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) {
|
2013-06-03 23:00:42 -07:00
|
|
|
final MagicPermanentFilterImpl filter = new MagicOtherPermanentTargetFilter(MagicTargetFilter.TARGET_MULTICOLOR_PERMANENT, source);
|
|
|
|
if (source.getController().controlsPermanent(filter)) {
|
2013-04-01 07:38:08 -07:00
|
|
|
pt.add(1,1);
|
|
|
|
}
|
2013-06-23 18:29:26 -07:00
|
|
|
}
|
2013-04-01 07:38:08 -07:00
|
|
|
},
|
2013-02-07 21:11:43 -08:00
|
|
|
new MagicStatic(MagicLayer.Ability) {
|
|
|
|
@Override
|
|
|
|
public void modAbilityFlags(final MagicPermanent source,final MagicPermanent permanent,final Set<MagicAbility> flags) {
|
2013-06-03 23:00:42 -07:00
|
|
|
final MagicPermanentFilterImpl filter = new MagicOtherPermanentTargetFilter(MagicTargetFilter.TARGET_MULTICOLOR_PERMANENT, source);
|
|
|
|
if (source.getController().controlsPermanent(filter)) {
|
2013-02-07 21:11:43 -08:00
|
|
|
flags.add(MagicAbility.Haste);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|