mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Act of Treason, Slave of Bolas and Threaten to AF_GainControl
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
Name:Act of Treason
|
Name:Act of Treason
|
||||||
ManaCost:2 R
|
ManaCost:2 R
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn. (It can attack this turn.)
|
Text:no text
|
||||||
|
A:SP$GainControl|Cost$2 R|Tgt$TgtC|LoseControl$EOT|Untap$True|AddKWs$Haste|SpellDescription$Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn.
|
||||||
|
SVar:PlayMain1:TRUE
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/act_of_treason.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/act_of_treason.jpg
|
||||||
End
|
End
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
Name:Slave of Bolas
|
Name:Slave of Bolas
|
||||||
ManaCost:3 UR B
|
ManaCost:3 UR B
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:Gain control of target creature. Untap that creature. It gains haste until end of turn. Sacrifice it at the beginning of the next end step.
|
Text:no text
|
||||||
|
A:SP$GainControl|Cost$3 UR B|Tgt$TgtC|LoseControl$EOT|Untap$True|AddKWs$Haste & At the beginning of the end step, sacrifice CARDNAME. |SpellDescription$Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn.
|
||||||
|
SVar:PlayMain1:TRUE
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/slave_of_bolas.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/slave_of_bolas.jpg
|
||||||
End
|
End
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
Name:Threaten
|
Name:Threaten
|
||||||
ManaCost:2 R
|
ManaCost:2 R
|
||||||
Types:Sorcery
|
Types:Sorcery
|
||||||
Text:Untap target creature and gain control of it until end of turn. That creature gains haste until end of turn. (It can attack this turn.)
|
Text:no text
|
||||||
|
A:SP$GainControl|Cost$2 R|Tgt$TgtC|LoseControl$EOT|Untap$True|AddKWs$Haste|SpellDescription$Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn.
|
||||||
|
SVar:PlayMain1:True
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://resources.wizards.com/magic/cards/9ed/en-us/card83472.jpg
|
SVar:Picture:http://resources.wizards.com/magic/cards/9ed/en-us/card83472.jpg
|
||||||
End
|
End
|
||||||
|
|||||||
@@ -31,15 +31,14 @@ public class AbilityFactory_GainControl {
|
|||||||
AF = newAF;
|
AF = newAF;
|
||||||
params = AF.getMapParams();
|
params = AF.getMapParams();
|
||||||
hostCard = AF.getHostCard();
|
hostCard = AF.getHostCard();
|
||||||
if (params.containsKey("LoseControl"))
|
if (params.containsKey("LoseControl")) {
|
||||||
lose = new ArrayList<String>(Arrays.asList(params.get("LoseControl").split(",")));
|
lose = new ArrayList<String>(Arrays.asList(params.get("LoseControl").split(",")));
|
||||||
|
}
|
||||||
if(params.containsKey("Untap")) {
|
if(params.containsKey("Untap")) {
|
||||||
bUntap = true;
|
bUntap = true;
|
||||||
}
|
}
|
||||||
if(params.containsKey("TapOnLose")) {
|
if(params.containsKey("TapOnLose")) {
|
||||||
//if(params.get("Untap").equals("True")) {
|
|
||||||
bTapOnLose = true;
|
bTapOnLose = true;
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
if(params.containsKey("AddKWs")) {
|
if(params.containsKey("AddKWs")) {
|
||||||
kws = new ArrayList<String>(Arrays.asList(params.get("AddKWs").split(" & ")));
|
kws = new ArrayList<String>(Arrays.asList(params.get("AddKWs").split(" & ")));
|
||||||
|
|||||||
@@ -660,7 +660,7 @@ public class CardFactory_Sorceries {
|
|||||||
card.addSpellAbility(spell_two);
|
card.addSpellAbility(spell_two);
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
/*
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Threaten") || cardName.equals("Act of Treason") || cardName.equals("Slave of Bolas")) {
|
else if(cardName.equals("Threaten") || cardName.equals("Act of Treason") || cardName.equals("Slave of Bolas")) {
|
||||||
final PlayerZone[] orig = new PlayerZone[1];
|
final PlayerZone[] orig = new PlayerZone[1];
|
||||||
@@ -750,6 +750,7 @@ public class CardFactory_Sorceries {
|
|||||||
|
|
||||||
card.setSVar("PlayMain1", "TRUE");
|
card.setSVar("PlayMain1", "TRUE");
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
*/
|
||||||
|
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Insurrection")) {
|
else if(cardName.equals("Insurrection")) {
|
||||||
@@ -7524,8 +7525,6 @@ public class CardFactory_Sorceries {
|
|||||||
maxCards = Math.min(maxCards, num);
|
maxCards = Math.min(maxCards, num);
|
||||||
|
|
||||||
//opponent moves this many cards to graveyard
|
//opponent moves this many cards to graveyard
|
||||||
PlayerZone oppLib = AllZone.getZone(Constant.Zone.Library, opp);
|
|
||||||
|
|
||||||
opp.mill(maxCards);
|
opp.mill(maxCards);
|
||||||
|
|
||||||
//then, move revealed cards to bottom of library
|
//then, move revealed cards to bottom of library
|
||||||
|
|||||||
Reference in New Issue
Block a user