mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 06:52:02 -08:00
Fix Sontaran General (#12666)
This commit is contained in:
parent
3a70e0c405
commit
c937856adf
1 changed files with 3 additions and 2 deletions
|
|
@ -14,6 +14,7 @@ import mage.constants.Duration;
|
|||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
import mage.target.targetadjustment.ForEachOpponentTargetsAdjuster;
|
||||
import mage.target.targetpointer.EachTargetPointer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -38,9 +39,9 @@ public final class SontaranGeneral extends CardImpl {
|
|||
|
||||
// Battalion -- Whenever Sontaran General and at least two other creatures attack, for each opponent,
|
||||
// goad up to one target creature that player controls. Those creatures can't block this turn.
|
||||
Ability ability = new BattalionAbility(new GoadTargetEffect()
|
||||
Ability ability = new BattalionAbility(new GoadTargetEffect().setTargetPointer(new EachTargetPointer())
|
||||
.setText("for each opponent, goad up to one target creature that player controls."));
|
||||
ability.addEffect(new CantBlockTargetEffect(Duration.EndOfTurn)
|
||||
ability.addEffect(new CantBlockTargetEffect(Duration.EndOfTurn).setTargetPointer(new EachTargetPointer())
|
||||
.setText("Those creatures can't block this turn."));
|
||||
ability.addTarget(new TargetCreaturePermanent(0, 1));
|
||||
ability.setTargetAdjuster(new ForEachOpponentTargetsAdjuster());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue