1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-08 17:00:07 -09:00

[AFR] fixed Skeletal Swarming boost (fixes )

This commit is contained in:
Evan Kranzler 2021-07-27 19:40:36 -04:00
parent 6fd843686c
commit 33320a85c7

View file

@ -35,7 +35,9 @@ 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(), StaticValue.get(-1));
private static final DynamicValue xValue = new AdditiveDynamicValue(
new PermanentsOnBattlefieldCount(filter), StaticValue.get(-1)
);
public SkeletalSwarming(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{B}{G}");
@ -46,7 +48,7 @@ public final class SkeletalSwarming extends CardImpl {
).setText("each Skeleton you control has trample"));
ability.addEffect(new AttacksIfAbleAllEffect(filter2).setText(", attacks each combat if able"));
ability.addEffect(new BoostControlledEffect(
xValue, xValue, Duration.WhileOnBattlefield, filter2, false
xValue, StaticValue.get(0), Duration.WhileOnBattlefield, filter2, false
).setText(", and gets +X/+0, where X is the number of other Skeletons you control"));
this.addAbility(ability);