mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- Fixed issue with GainControl. Added Unwilling Recruit.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
10
res/cardsfolder/unwilling_recruit.txt
Normal file
10
res/cardsfolder/unwilling_recruit.txt
Normal 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
|
||||
@@ -335,9 +335,11 @@ public class AbilityFactory_GainControl {
|
||||
if(null == c) return;
|
||||
|
||||
if(AllZoneUtil.isCardInPlay(c)) {
|
||||
AllZone.GameAction.changeController(new CardList(c), c.getController(), c.getController().getOpponent());
|
||||
|
||||
c.setSickness(true);
|
||||
if(c.getController() != c.getOwner()) {
|
||||
AllZone.GameAction.changeController(new CardList(c), c.getController(), c.getController().getOpponent());
|
||||
c.setSickness(true);
|
||||
}
|
||||
|
||||
|
||||
if(bTapOnLose) c.tap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user