forked from External/mage
[BLB] Implement Mind Spiral
This commit is contained in:
parent
8ed32d03f0
commit
12aa81cbf4
3 changed files with 62 additions and 0 deletions
|
|
@ -3,10 +3,12 @@ package mage.abilities.decorator;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.Effects;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
import mage.target.targetpointer.TargetPointer;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
|
|
@ -110,6 +112,13 @@ public class ConditionalOneShotEffect extends OneShotEffect {
|
|||
+ CardUtil.getTextWithFirstCharLowerCase(otherwiseEffects.getText(mode));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Effect setTargetPointer(TargetPointer targetPointer) {
|
||||
effects.setTargetPointer(targetPointer);
|
||||
otherwiseEffects.setTargetPointer(targetPointer);
|
||||
return super.setTargetPointer(targetPointer);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Condition getCondition() {
|
||||
return condition;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue