mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
Added test.
This commit is contained in:
parent
c3624d5bce
commit
d2031d81f3
2 changed files with 36 additions and 7 deletions
|
|
@ -47,10 +47,10 @@ import mage.filter.predicate.mageobject.ColorlessPredicate;
|
|||
*/
|
||||
public class SwarmSurge extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Colorless creatures you control");
|
||||
private static final FilterCreaturePermanent FILTER = new FilterCreaturePermanent("Colorless creatures you control");
|
||||
|
||||
static {
|
||||
filter.add(new ColorlessPredicate());
|
||||
FILTER.add(new ColorlessPredicate());
|
||||
}
|
||||
|
||||
public SwarmSurge(UUID ownerId) {
|
||||
|
|
@ -66,7 +66,7 @@ public class SwarmSurge extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new BoostControlledEffect(2, 0, Duration.EndOfTurn));
|
||||
|
||||
// Colorless creatures you control also gain first strike until end of turn.
|
||||
Effect effect = new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, filter);
|
||||
Effect effect = new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, FILTER);
|
||||
effect.setText("Colorless creatures you control also gain first strike until end of turn");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue