mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed Failure // Comply returning to hand together with the targeted spell on stack.
This commit is contained in:
@@ -365,7 +365,8 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
* a {@link forge.game.spellability.SpellAbility} object.
|
* a {@link forge.game.spellability.SpellAbility} object.
|
||||||
*/
|
*/
|
||||||
private void changeKnownOriginResolve(final SpellAbility sa) {
|
private void changeKnownOriginResolve(final SpellAbility sa) {
|
||||||
Iterable<Card> tgtCards = getTargetCards(sa);
|
final boolean onlySpells = sa.hasParam("OnlySpells");
|
||||||
|
Iterable<Card> tgtCards = !onlySpells ? getTargetCards(sa) : new CardCollection();
|
||||||
final TargetRestrictions tgt = sa.getTargetRestrictions();
|
final TargetRestrictions tgt = sa.getTargetRestrictions();
|
||||||
final Player player = sa.getActivatingPlayer();
|
final Player player = sa.getActivatingPlayer();
|
||||||
final Card hostCard = sa.getHostCard();
|
final Card hostCard = sa.getHostCard();
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Failure
|
|||||||
ManaCost:1 U
|
ManaCost:1 U
|
||||||
AlternateMode: Split
|
AlternateMode: Split
|
||||||
Types:Instant
|
Types:Instant
|
||||||
A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Card | TgtZone$ Stack | Origin$ Stack | Fizzle$ True | Destination$ Hand | SpellDescription$ Return target spell to its owner's hand.
|
A:SP$ ChangeZone | Cost$ 1 U | ValidTgts$ Card | OnlySpells$ True | TgtZone$ Stack | Origin$ Stack | Fizzle$ True | Destination$ Hand | SpellDescription$ Return target spell to its owner's hand.
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/failure_comply.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/failure_comply.jpg
|
||||||
Oracle:Return target spell to its owner's hand.
|
Oracle:Return target spell to its owner's hand.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user