- Added Chain Stasis.

This commit is contained in:
Sloth
2013-06-03 13:51:52 +00:00
parent 74a281035d
commit bc389221bf
3 changed files with 11 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -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

View File

@@ -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

View File

@@ -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) {