mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Update AngelicVoices.java
This commit is contained in:
parent
4f0a371152
commit
5fd056f5a7
1 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.condition.InvertCondition;
|
||||
import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
|
@ -12,7 +12,6 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
|
@ -20,8 +19,9 @@ import mage.filter.predicate.mageobject.CardTypePredicate;
|
|||
import mage.filter.predicate.mageobject.ColorPredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AngelicVoices extends CardImpl {
|
||||
|
@ -38,15 +38,15 @@ public final class AngelicVoices extends CardImpl {
|
|||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
}
|
||||
|
||||
private static final Condition condition = new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter));
|
||||
|
||||
public AngelicVoices(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{W}{W}");
|
||||
|
||||
// Creatures you control get +1/+1 as long as you control no nonartifact, nonwhite creatures.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new ConditionalContinuousEffect(
|
||||
new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield),
|
||||
new InvertCondition(new PermanentsOnTheBattlefieldCondition(filter)),
|
||||
new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield), condition,
|
||||
"Creatures you control get +1/+1 as long as you control no nonartifact, nonwhite creatures."
|
||||
)
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue