forked from External/mage
40 lines
1.3 KiB
Java
40 lines
1.3 KiB
Java
|
|
package mage.cards.p;
|
|
|
|
import java.util.UUID;
|
|
import mage.abilities.dynamicvalue.DynamicValue;
|
|
import mage.abilities.dynamicvalue.common.DomainValue;
|
|
import mage.abilities.dynamicvalue.common.SignInversionDynamicValue;
|
|
import mage.abilities.effects.Effect;
|
|
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.Duration;
|
|
|
|
/**
|
|
*
|
|
* @author LoneFox
|
|
|
|
*/
|
|
public final class PlanarDespair extends CardImpl {
|
|
|
|
public PlanarDespair(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{B}{B}");
|
|
|
|
// Domain - All creatures get -1/-1 until end of turn for each basic land type among lands you control.
|
|
DynamicValue dv = new SignInversionDynamicValue(new DomainValue());
|
|
Effect effect = new BoostAllEffect(dv, dv, Duration.EndOfTurn);
|
|
effect.setText("Domain - All creatures get -1/-1 until end of turn for each basic land type among lands you control.");
|
|
this.getSpellAbility().addEffect(effect);
|
|
}
|
|
|
|
private PlanarDespair(final PlanarDespair card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public PlanarDespair copy() {
|
|
return new PlanarDespair(this);
|
|
}
|
|
}
|