use of mage.abilities.effects.common.continuous.GainAbilityControllerEffect in project mage by magefree.
the class VeilOfSummerEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
game.addEffect(new GainAbilityControlledEffect(HexproofFromBlueAbility.getInstance(), Duration.EndOfTurn), source);
game.addEffect(new GainAbilityControlledEffect(HexproofFromBlackAbility.getInstance(), Duration.EndOfTurn), source);
game.addEffect(new GainAbilityControllerEffect(HexproofFromBlueAbility.getInstance(), Duration.EndOfTurn), source);
game.addEffect(new GainAbilityControllerEffect(HexproofFromBlackAbility.getInstance(), Duration.EndOfTurn), source);
return true;
}
Aggregations