forked from External/mage
34 lines
856 B
Java
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);
|
|
}
|
|
}
|