Fix Resurrection Orb (#10395)

This commit is contained in:
xenohedron 2023-06-02 11:51:26 +03:00 committed by GitHub
parent 4ae3f5ed43
commit e9ede209cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ import mage.abilities.common.DiesAttachedTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility; import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.common.delayed.AtTheBeginOfNextEndStepDelayedTriggeredAbility; import mage.abilities.common.delayed.AtTheBeginOfNextEndStepDelayedTriggeredAbility;
import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect; import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect;
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect; import mage.abilities.effects.common.ReturnToBattlefieldUnderOwnerControlAttachedEffect;
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect; import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
import mage.abilities.keyword.EquipAbility; import mage.abilities.keyword.EquipAbility;
import mage.abilities.keyword.LifelinkAbility; import mage.abilities.keyword.LifelinkAbility;
@ -35,7 +35,7 @@ public final class ResurrectionOrb extends CardImpl {
// Whenever equipped creature dies, return that card to the battlefield under its owner's control at the beginning of the next end step. // Whenever equipped creature dies, return that card to the battlefield under its owner's control at the beginning of the next end step.
this.addAbility(new DiesAttachedTriggeredAbility(new CreateDelayedTriggeredAbilityEffect( this.addAbility(new DiesAttachedTriggeredAbility(new CreateDelayedTriggeredAbilityEffect(
new AtTheBeginOfNextEndStepDelayedTriggeredAbility( new AtTheBeginOfNextEndStepDelayedTriggeredAbility(
new ReturnFromGraveyardToBattlefieldTargetEffect(), TargetController.ANY new ReturnToBattlefieldUnderOwnerControlAttachedEffect(), TargetController.ANY
), true ), true
).setText("return that card to the battlefield under its owner's control at the beginning of the next end step"), "equipped creature")); ).setText("return that card to the battlefield under its owner's control at the beginning of the next end step"), "equipped creature"));