Updated other boost effect for AI outcome

This commit is contained in:
magenoxx 2012-06-29 16:57:25 +04:00
parent 511df3605f
commit 5d397bfbee
5 changed files with 39 additions and 19 deletions

View file

@ -20,7 +20,7 @@ public class BoostOpponentsEffect extends ContinuousEffectImpl<BoostOpponentsEff
}
public BoostOpponentsEffect(int power, int toughness, Constants.Duration duration, FilterCreaturePermanent filter) {
super(duration, Constants.Layer.PTChangingEffects_7, Constants.SubLayer.ModifyPT_7c, Constants.Outcome.BoostCreature);
super(duration, Constants.Layer.PTChangingEffects_7, Constants.SubLayer.ModifyPT_7c, toughness < 0 ? Constants.Outcome.UnboostCreature : Constants.Outcome.BoostCreature);
this.power = power;
this.toughness = toughness;
this.filter = filter;