foul-magics/Mage.Sets/src/mage/cards/a/AboutFace.java
2018-06-02 17:59:49 +02:00

34 lines
856 B
Java

package mage.cards.a;
import java.util.UUID;
import mage.abilities.effects.common.continuous.SwitchPowerToughnessTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.target.common.TargetCreaturePermanent;
/**
*
* @author Backfir3
*/
public final class AboutFace extends CardImpl {
public AboutFace(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{R}");
this.getSpellAbility().addEffect(new SwitchPowerToughnessTargetEffect(Duration.EndOfTurn));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
public AboutFace(final AboutFace card) {
super(card);
}
@Override
public AboutFace copy() {
return new AboutFace(this);
}
}