mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
- Fixed #5762
This commit is contained in:
parent
b32228a693
commit
8ba38c90a5
1 changed files with 4 additions and 4 deletions
|
@ -8,18 +8,18 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterSpell;
|
||||
import mage.filter.predicate.mageobject.NumberOfTargetsPredicate;
|
||||
import mage.target.TargetSpell;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.filter.FilterStackObject;
|
||||
import mage.target.TargetStackObject;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BoltBend extends CardImpl {
|
||||
|
||||
private static final FilterSpell filter = new FilterSpell("spell with a single target");
|
||||
private static final FilterStackObject filter = new FilterStackObject("spell or ability with a single target");
|
||||
|
||||
static {
|
||||
filter.add(new NumberOfTargetsPredicate(1));
|
||||
|
@ -35,7 +35,7 @@ public final class BoltBend extends CardImpl {
|
|||
|
||||
// Change the target of target spell or ability with a single target.
|
||||
this.getSpellAbility().addEffect(new ChooseNewTargetsTargetEffect(true, true));
|
||||
this.getSpellAbility().addTarget(new TargetSpell(filter));
|
||||
this.getSpellAbility().addTarget(new TargetStackObject(filter));
|
||||
}
|
||||
|
||||
private BoltBend(final BoltBend card) {
|
||||
|
|
Loading…
Reference in a new issue