mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
Fixed Spire Barrage
This commit is contained in:
parent
f90623effa
commit
e79f369144
1 changed files with 4 additions and 2 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue