Fixed Spire Barrage

This commit is contained in:
magenoxx 2012-05-30 15:08:06 +04:00
parent f90623effa
commit e79f369144

View file

@ -27,7 +27,6 @@
*/
package mage.sets.zendikar;
import java.util.UUID;
import mage.Constants.CardType;
import mage.Constants.Rarity;
import mage.Constants.TargetController;
@ -37,6 +36,8 @@ import mage.cards.CardImpl;
import mage.filter.common.FilterLandPermanent;
import mage.target.common.TargetCreatureOrPlayer;
import java.util.UUID;
/**
*
* @author North
@ -46,7 +47,7 @@ public class SpireBarrage extends CardImpl<SpireBarrage> {
private static final FilterLandPermanent filter = new FilterLandPermanent("Mountains");
static {
filter.getSubtype().add("Mountains");
filter.getSubtype().add("Mountain");
filter.setTargetController(TargetController.YOU);
}
@ -56,6 +57,7 @@ public class SpireBarrage extends CardImpl<SpireBarrage> {
this.color.setRed(true);
// Spire Barrage deals damage to target creature or player equal to the number of Mountains you control.
this.getSpellAbility().addEffect(new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter)));
this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
}