mirror of
https://github.com/correl/mage.git
synced 2025-04-08 17:00:07 -09:00
[AFR] fixed Skeletal Swarming boost (fixes #8063)
This commit is contained in:
parent
6fd843686c
commit
33320a85c7
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue