mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
* Undiscovered Paradise - Fixed that it was not returned to hand on untap step (fixes #2693).
This commit is contained in:
parent
04a857ad3d
commit
61dd62b148
3 changed files with 71 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ import mage.target.targetpointer.FixedTarget;
|
|||
public class UndiscoveredParadise extends CardImpl {
|
||||
|
||||
public UndiscoveredParadise(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
|
||||
// {T}: Add one mana of any color to your mana pool. During your next untap step, as you untap your permanents, return Undiscovered Paradise to its owner's hand.
|
||||
Ability ability = new AnyColorManaAbility();
|
||||
|
|
@ -85,7 +85,7 @@ class UndiscoveredParadiseEffect extends OneShotEffect {
|
|||
if (permanent != null) {
|
||||
Effect effect = new ReturnToHandTargetEffect();
|
||||
effect.setTargetPointer(new FixedTarget(permanent, game));
|
||||
game.addDelayedTriggeredAbility(new AtBeginningOfUntapDelayedTriggeredAbility(effect));
|
||||
game.addDelayedTriggeredAbility(new AtBeginningOfUntapDelayedTriggeredAbility(effect), source);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue