mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 04:39:18 -08:00
* Coordinated Assault - Fixed missing target definition, so the effects can be applied to targets.
This commit is contained in:
parent
44fd58999c
commit
27d81accd8
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ import mage.cards.CardImpl;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
import mage.constants.Duration;
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
|
import mage.target.common.TargetCreaturePermanent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
@ -55,6 +56,7 @@ public class CoordinatedAssault extends CardImpl<CoordinatedAssault> {
|
||||||
this.getSpellAbility().addEffect(effect);
|
this.getSpellAbility().addEffect(effect);
|
||||||
effect = new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, "and gain first strike until end of turn");
|
effect = new GainAbilityTargetEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, "and gain first strike until end of turn");
|
||||||
this.getSpellAbility().addEffect(effect);
|
this.getSpellAbility().addEffect(effect);
|
||||||
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent(0,2));
|
||||||
}
|
}
|
||||||
|
|
||||||
public CoordinatedAssault(final CoordinatedAssault card) {
|
public CoordinatedAssault(final CoordinatedAssault card) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue