mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[ANA] - implemented Blinding Radiance
This commit is contained in:
parent
2b411b9c92
commit
e9fa44f354
1 changed files with 40 additions and 0 deletions
40
Mage.Sets/src/mage/cards/b/BlindingRadiance.java
Normal file
40
Mage.Sets/src/mage/cards/b/BlindingRadiance.java
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
package mage.cards.b;
|
||||||
|
|
||||||
|
import mage.abilities.effects.common.TapAllEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.ComparisonType;
|
||||||
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
|
import mage.filter.common.FilterOpponentsCreaturePermanent;
|
||||||
|
import mage.filter.predicate.mageobject.ToughnessPredicate;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author JayDi85
|
||||||
|
*/
|
||||||
|
public final class BlindingRadiance extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterCreaturePermanent filter = new FilterOpponentsCreaturePermanent("creatures your opponents control with toughness 2 or less");
|
||||||
|
static {
|
||||||
|
filter.add(new ToughnessPredicate(ComparisonType.FEWER_THAN, 3));
|
||||||
|
}
|
||||||
|
|
||||||
|
public BlindingRadiance(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{W}");
|
||||||
|
|
||||||
|
// Tap all creatures your opponents control with toughness 2 or less.
|
||||||
|
TapAllEffect effect = new TapAllEffect(filter);
|
||||||
|
this.getSpellAbility().addEffect(effect);
|
||||||
|
}
|
||||||
|
|
||||||
|
public BlindingRadiance(final BlindingRadiance card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BlindingRadiance copy() {
|
||||||
|
return new BlindingRadiance(this);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue