mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Test and fix for Whipflare
This commit is contained in:
parent
365bd2a50e
commit
3b647ab68b
2 changed files with 42 additions and 2 deletions
|
|
@ -27,13 +27,14 @@
|
|||
*/
|
||||
package mage.sets.newphyrexia;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
|
|
@ -44,7 +45,6 @@ public class Whipflare extends CardImpl<Whipflare> {
|
|||
|
||||
static {
|
||||
filter.getNotCardType().add(CardType.ARTIFACT);
|
||||
filter.setNotCardType(true);
|
||||
}
|
||||
|
||||
public Whipflare(UUID ownerId) {
|
||||
|
|
@ -52,6 +52,8 @@ public class Whipflare extends CardImpl<Whipflare> {
|
|||
this.expansionSetCode = "NPH";
|
||||
|
||||
this.color.setRed(true);
|
||||
|
||||
// Whipflare deals 2 damage to each nonartifact creature.
|
||||
this.getSpellAbility().addEffect(new DamageAllEffect(2, filter));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue