mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +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
|
@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();
|
||||||
|
|
Loading…
Reference in a new issue