forked from External/mage
35 lines
1.1 KiB
Java
35 lines
1.1 KiB
Java
package mage.cards.r;
|
|
|
|
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.common.TargetControlledCreaturePermanent;
|
|
import mage.target.common.TargetCreaturePermanent;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author fireshoes
|
|
*/
|
|
public final class RabidBite extends CardImpl {
|
|
|
|
public RabidBite(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 TargetCreaturePermanent(StaticFilters.FILTER_CREATURE_YOU_DONT_CONTROL));
|
|
}
|
|
|
|
private RabidBite(final RabidBite card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public RabidBite copy() {
|
|
return new RabidBite(this);
|
|
}
|
|
}
|