forked from External/mage
Fixed that Haste effects given to Obzedat on enters the battlefield stayed after going back to hand and recasting of it.
This commit is contained in:
parent
dc0d5a4bc8
commit
d1082293a8
4 changed files with 12 additions and 6 deletions
|
|
@ -109,6 +109,9 @@ public class GainAbilitySourceEffect extends ContinuousEffectImpl<GainAbilitySou
|
|||
permanent.addAbility(ability, source.getSourceId(), game);
|
||||
return true;
|
||||
}
|
||||
if (duration.equals(Duration.Custom)) {
|
||||
this.discard();
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue