diff --git a/.gitattributes b/.gitattributes index 6323c0b4b0c..750e7272992 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1665,6 +1665,7 @@ res/cardsfolder/c/chain_lightning.txt -text res/cardsfolder/c/chain_of_plasma.txt -text res/cardsfolder/c/chain_of_vapor.txt -text res/cardsfolder/c/chain_reaction.txt svneol=native#text/plain +res/cardsfolder/c/chain_stasis.txt -text res/cardsfolder/c/chainbreaker.txt svneol=native#text/plain res/cardsfolder/c/chained_throatseeker.txt svneol=native#text/plain res/cardsfolder/c/chainer_dementia_master.txt svneol=native#text/plain diff --git a/res/cardsfolder/c/chain_stasis.txt b/res/cardsfolder/c/chain_stasis.txt new file mode 100644 index 00000000000..81a62ef1aeb --- /dev/null +++ b/res/cardsfolder/c/chain_stasis.txt @@ -0,0 +1,9 @@ +Name:Chain Stasis +ManaCost:U +Types:Instant +A:SP$ TapOrUntap | Cost$ U | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBCopy | SpellDescription$ You may tap or untap target creature. Then that creature's controller may pay 2 U. If the player does, he or she may copy this spell and may choose a new target for that copy. +SVar:DBCopy:DB$ CopySpellAbility | Defined$ Parent | Controller$ TargetedController | UnlessPayer$ TargetedController | UnlessCost$ 2 U | UnlessSwitched$ True | StackDescription$ Then that creature's controller may pay 2 U. If the player does, he or she may copy this spell and may choose a new target for that copy. +SVar:RemAIDeck:True +SVar:Picture:http://www.wizards.com/global/images/magic/general/chain_stasis.jpg +Oracle:You may tap or untap target creature. Then that creature's controller may pay {2}{U}. If the player does, he or she may copy this spell and may choose a new target for that copy. +SetInfo:HML Rare \ No newline at end of file diff --git a/src/main/java/forge/card/ability/ai/TapAiBase.java b/src/main/java/forge/card/ability/ai/TapAiBase.java index 3be8f8faca0..4dabe0b4cd5 100644 --- a/src/main/java/forge/card/ability/ai/TapAiBase.java +++ b/src/main/java/forge/card/ability/ai/TapAiBase.java @@ -292,6 +292,7 @@ public abstract class TapAiBase extends SpellAbilityAi { return true; } else { + tgt.resetTargets(); if (tapPrefTargeting(ai, source, tgt, sa, mandatory)) { return true; } else if (mandatory) {