mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Fix Turbulent Dreams. (#6269)
More specifically get the value of X from the discard cost not the mana cost and correctly set it to target exactly x permanents. Fixes https://github.com/magefree/mage/issues/6264
This commit is contained in:
parent
6674ca5d20
commit
def8ef0a26
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ enum TurbulentDreamsAdjuster implements TargetAdjuster {
|
|||
|
||||
@Override
|
||||
public void adjustTargets(Ability ability, Game game) {
|
||||
Target target = new TargetPermanent(0, ability.getManaCostsToPay().getX(), filter, false);
|
||||
Target target = new TargetPermanent(ability.getCosts().getVariableCosts().get(0).getAmount(), filter);
|
||||
ability.addTarget(target);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue