- Fixed issue with GainControl. Added Unwilling Recruit.

This commit is contained in:
jendave
2011-08-07 01:08:33 +00:00
parent 8b2a12c681
commit 8fd487203e
3 changed files with 16 additions and 3 deletions

1
.gitattributes vendored
View File

@@ -7584,6 +7584,7 @@ res/cardsfolder/unstable_mutation.txt -text svneol=native#text/plain
res/cardsfolder/unsummon.txt -text svneol=native#text/plain
res/cardsfolder/untamed_might.txt -text svneol=native#text/plain
res/cardsfolder/untamed_wilds.txt -text svneol=native#text/plain
res/cardsfolder/unwilling_recruit.txt -text svneol=native#text/plain
res/cardsfolder/unwinding_clock.txt -text svneol=native#text/plain
res/cardsfolder/unworthy_dead.txt -text svneol=native#text/plain
res/cardsfolder/unyaro_bee_sting.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,10 @@
Name:Unwilling Recruit
ManaCost:X R R R
Types:Sorcery
Text:no text
A:SP$ GainControl | Cost$ X R R R | ValidTgts$ Creature | TgtPrompt$ Select target creature | LoseControl$ EOT | SubAbility$ SVar=DBPump | SpellDescription$ Gain control of target creature until end of turn. Untap that creature. It gets +X/+0 and gains haste until end of turn.
SVar:DBPump:DB$Pump | Defined$ Targeted | NumAtt$ X | KW$ Haste
SVar:X:Count$xPaid
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/unwilling_recruit.jpg
End

View File

@@ -335,9 +335,11 @@ public class AbilityFactory_GainControl {
if(null == c) return;
if(AllZoneUtil.isCardInPlay(c)) {
if(c.getController() != c.getOwner()) {
AllZone.GameAction.changeController(new CardList(c), c.getController(), c.getController().getOpponent());
c.setSickness(true);
}
if(bTapOnLose) c.tap();