- RegenerateSourceEffect() will now be discarded if the source permanent is blinked or changes zone.

This commit is contained in:
jeffwadsworth 2020-08-01 16:12:58 -05:00
parent 2a35f833a7
commit 121e1043ab

View file

@ -71,7 +71,7 @@ public class RegenerateSourceEffect extends ReplacementEffectImpl {
@Override @Override
public boolean applies(GameEvent event, Ability source, Game game) { public boolean applies(GameEvent event, Ability source, Game game) {
// The regeneration shield is discarded if the permanent is blinked or changes zone // The regeneration effect is discarded if the permanent is blinked or changes zone
if (event.getType() == GameEvent.EventType.ZONE_CHANGE if (event.getType() == GameEvent.EventType.ZONE_CHANGE
&& event.getTargetId() == source.getSourceId()) { && event.getTargetId() == source.getSourceId()) {
discard(); discard();