forked from External/mage
38 lines
1.3 KiB
Java
38 lines
1.3 KiB
Java
package mage.cards.a;
|
|
|
|
import mage.abilities.effects.common.DamageWithPowerFromOneToAnotherTargetEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.filter.StaticFilters;
|
|
import mage.target.TargetPermanent;
|
|
import mage.target.common.TargetControlledCreaturePermanent;
|
|
import mage.target.common.TargetCreaturePermanent;
|
|
|
|
import java.util.UUID;
|
|
|
|
import static mage.filter.StaticFilters.FILTER_CREATURE_YOU_DONT_CONTROL;
|
|
|
|
/**
|
|
* @author TheElk801
|
|
*/
|
|
public final class AggressiveInstinct extends CardImpl {
|
|
|
|
public AggressiveInstinct(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}");
|
|
|
|
// Target creature you control deals damage equal to its power to target creature you don't control.
|
|
this.getSpellAbility().addEffect(new DamageWithPowerFromOneToAnotherTargetEffect());
|
|
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
|
this.getSpellAbility().addTarget(new TargetPermanent(FILTER_CREATURE_YOU_DONT_CONTROL));
|
|
}
|
|
|
|
private AggressiveInstinct(final AggressiveInstinct card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public AggressiveInstinct copy() {
|
|
return new AggressiveInstinct(this);
|
|
}
|
|
}
|