mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
- Fixed #5460
This commit is contained in:
parent
3960ad7444
commit
d6dfeebe0d
1 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,6 @@ import mage.abilities.Ability;
|
||||||
import mage.abilities.common.SimpleActivatedAbility;
|
import mage.abilities.common.SimpleActivatedAbility;
|
||||||
import mage.abilities.costs.Cost;
|
import mage.abilities.costs.Cost;
|
||||||
import mage.abilities.costs.common.RemoveVariableCountersSourceCost;
|
import mage.abilities.costs.common.RemoveVariableCountersSourceCost;
|
||||||
import mage.abilities.costs.common.RemoveVariableCountersTargetCost;
|
|
||||||
import mage.abilities.costs.common.TapSourceCost;
|
import mage.abilities.costs.common.TapSourceCost;
|
||||||
import mage.abilities.effects.common.continuous.GainControlTargetEffect;
|
import mage.abilities.effects.common.continuous.GainControlTargetEffect;
|
||||||
import mage.abilities.keyword.EvolveAbility;
|
import mage.abilities.keyword.EvolveAbility;
|
||||||
|
@ -79,8 +78,8 @@ enum SimicManipulatorAdjuster implements TargetAdjuster {
|
||||||
if (sourcePermanent != null) {
|
if (sourcePermanent != null) {
|
||||||
int xValue = 0;
|
int xValue = 0;
|
||||||
for (Cost cost : ability.getCosts()) {
|
for (Cost cost : ability.getCosts()) {
|
||||||
if (cost instanceof RemoveVariableCountersTargetCost) {
|
if (cost instanceof RemoveVariableCountersSourceCost) {
|
||||||
xValue = ((RemoveVariableCountersTargetCost) cost).getAmount();
|
xValue = ((RemoveVariableCountersSourceCost) cost).getAmount();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue