Fixed Firesong and Sunspeaker's first ability staying active through Frogify effects (bug# 7137) (#7149)

This commit is contained in:
weirddan455 2020-10-26 08:17:19 -05:00 committed by GitHub
parent 08d92831f1
commit b52415b737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ public class GainAbilitySpellsEffect extends ContinuousEffectImpl {
private final FilterObject filter; private final FilterObject filter;
public GainAbilitySpellsEffect(Ability ability, FilterObject filter) { public GainAbilitySpellsEffect(Ability ability, FilterObject filter) {
super(Duration.Custom, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.AddAbility); super(Duration.WhileOnBattlefield, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.AddAbility);
this.ability = ability; this.ability = ability;
this.filter = filter; this.filter = filter;
staticText = filter.getMessage() + " have " + ability.getRule(); staticText = filter.getMessage() + " have " + ability.getRule();