use of mage.abilities.condition.common.SourceRemainsInZoneCondition in project mage by magefree.
the class SowerOfTemptationGainControlEffect method apply.
@Override
public boolean apply(Game game, Ability source) {
ConditionalContinuousEffect effect = new ConditionalContinuousEffect(new GainControlTargetEffect(Duration.Custom), new SourceRemainsInZoneCondition(Zone.BATTLEFIELD), "gain control of target creature for as long as {this} remains on the battlefield");
game.addEffect(effect, source);
return false;
}
Aggregations