Fixed GoadAllEffect from affecting creatures that ETB after it resolves. Closes #9227.

This commit is contained in:
Alex Vasile 2022-07-17 19:41:25 -04:00
parent 8c22db650a
commit 9715021a35
3 changed files with 71 additions and 1 deletions

View file

@ -24,8 +24,13 @@ public class GoadAllEffect extends ContinuousEffectImpl {
}
public GoadAllEffect(Duration duration, FilterPermanent filter) {
this(duration, filter, true);
}
public GoadAllEffect(Duration duration, FilterPermanent filter, boolean affectedObjectsSet) {
super(duration, Layer.RulesEffects, SubLayer.NA, Outcome.Detriment);
this.filter = filter;
this.affectedObjectsSet = affectedObjectsSet;
}
private GoadAllEffect(final GoadAllEffect effect) {