forked from External/mage
AddCountersTargetEffect set outcome of -1/-1 counter to unboost for AI handling.
This commit is contained in:
parent
d388750e54
commit
383bc47ffd
1 changed files with 2 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ import java.util.UUID;
|
|||
import mage.abilities.Mode;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.counters.CounterType;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
|
|
@ -52,7 +53,7 @@ public class AddCountersTargetEffect extends OneShotEffect<AddCountersTargetEffe
|
|||
private DynamicValue amount;
|
||||
|
||||
public AddCountersTargetEffect(Counter counter) {
|
||||
this(counter, Outcome.Benefit);
|
||||
this(counter, counter.getName().equals(CounterType.M1M1.getName()) ? Outcome.UnboostCreature: Outcome.Benefit);
|
||||
}
|
||||
|
||||
public AddCountersTargetEffect(Counter counter, DynamicValue amount) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue