mirror of
https://github.com/correl/mage.git
synced 2025-03-12 17:00:08 -09:00
- Fixed #8072
This commit is contained in:
parent
64d533b70f
commit
24af3c4437
1 changed files with 3 additions and 6 deletions
|
@ -5,7 +5,6 @@ import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
|
|||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.MorbidCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.dynamicvalue.AdditiveDynamicValue;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
|
@ -35,9 +34,7 @@ public final class SkeletalSwarming extends CardImpl {
|
|||
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent(SubType.SKELETON);
|
||||
private static final FilterCreaturePermanent filter2 = new FilterCreaturePermanent(SubType.SKELETON, "");
|
||||
private static final DynamicValue xValue = new AdditiveDynamicValue(
|
||||
new PermanentsOnBattlefieldCount(filter), StaticValue.get(-1)
|
||||
);
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(filter);
|
||||
|
||||
public SkeletalSwarming(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{B}{G}");
|
||||
|
@ -57,8 +54,8 @@ public final class SkeletalSwarming extends CardImpl {
|
|||
new ConditionalOneShotEffect(
|
||||
new CreateTokenEffect(new SkeletonToken(), 2, true, false),
|
||||
new CreateTokenEffect(new SkeletonToken(), 1, true, false),
|
||||
MorbidCondition.instance, "create a tapped 1/1 black Skeleton creature token. " +
|
||||
"If a creature died this turn, create two of those tokens instead"
|
||||
MorbidCondition.instance, "create a tapped 1/1 black Skeleton creature token. "
|
||||
+ "If a creature died this turn, create two of those tokens instead"
|
||||
), TargetController.YOU, false
|
||||
).addHint(MorbidHint.instance));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue