mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
- RegenerateSourceEffect() will now be discarded if the source permanent is blinked or changes zone.
This commit is contained in:
parent
2a35f833a7
commit
121e1043ab
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ public class RegenerateSourceEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
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
|
||||
&& event.getTargetId() == source.getSourceId()) {
|
||||
discard();
|
||||
|
|
Loading…
Reference in a new issue