forked from External/mage
Fix #8757
This commit is contained in:
parent
e24952a4a6
commit
c074561048
1 changed files with 6 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
package mage.cards.g;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
|
@ -15,11 +15,15 @@ import mage.filter.StaticFilters;
|
|||
*/
|
||||
public final class GruesomeFate extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue
|
||||
= new PermanentsOnBattlefieldCount(StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED);
|
||||
|
||||
public GruesomeFate(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
|
||||
|
||||
// Each opponent loses 1 life for each creature you control.
|
||||
this.getSpellAbility().addEffect(new LoseLifeOpponentsEffect(new PermanentsOnBattlefieldCount(StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED)));
|
||||
this.getSpellAbility().addEffect(new LoseLifeOpponentsEffect(xValue)
|
||||
.setText("each opponent loses 1 life for each creature you control"));
|
||||
}
|
||||
|
||||
private GruesomeFate(final GruesomeFate card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue