mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Converted Dark Confidant and Tutelage to script.
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
Name:Dark Confidant
|
Name:Dark Confidant
|
||||||
ManaCost:1 B
|
ManaCost:1 B
|
||||||
Types:Creature Human Wizard
|
Types:Creature Human Wizard
|
||||||
Text:At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost.
|
Text:no text
|
||||||
PT:2/1
|
PT:2/1
|
||||||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost.
|
||||||
|
SVar:TrigDig:AB$Dig | Cost$ 0 | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLose
|
||||||
|
SVar:DBLose:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
||||||
|
SVar:X:Remembered$CardManaCost
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_confidant.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_confidant.jpg
|
||||||
SetInfo:RAV|Rare|http://magiccards.info/scans/en/rav/81.jpg
|
SetInfo:RAV|Rare|http://magiccards.info/scans/en/rav/81.jpg
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
Name:Dark Tutelage
|
Name:Dark Tutelage
|
||||||
ManaCost:2 B
|
ManaCost:2 B
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost.
|
Text:no text
|
||||||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost.
|
||||||
|
SVar:TrigDig:AB$Dig | Cost$ 0 | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card | DestinationZone$ Hand | RememberChanged$ True | SubAbility$ DBLose
|
||||||
|
SVar:DBLose:DB$LoseLife | LifeAmount$ X | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
|
||||||
|
SVar:X:Remembered$CardManaCost
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
SVar:RemRandomDeck:True
|
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_tutelage.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/dark_tutelage.jpg
|
||||||
SetInfo:M11|Rare|http://magiccards.info/scans/en/m11/90.jpg
|
SetInfo:M11|Rare|http://magiccards.info/scans/en/m11/90.jpg
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ public class Upkeep implements java.io.Serializable {
|
|||||||
upkeep_Masticore();
|
upkeep_Masticore();
|
||||||
upkeep_Eldrazi_Monument();
|
upkeep_Eldrazi_Monument();
|
||||||
upkeep_Blaze_Counters();
|
upkeep_Blaze_Counters();
|
||||||
upkeep_Dark_Confidant(); // keep this one semi-last
|
//upkeep_Dark_Confidant(); // keep this one semi-last
|
||||||
upkeep_Power_Surge();
|
upkeep_Power_Surge();
|
||||||
upkeep_AI_Aluren();
|
upkeep_AI_Aluren();
|
||||||
// experimental, AI abuse aluren
|
// experimental, AI abuse aluren
|
||||||
@@ -1957,7 +1957,7 @@ public class Upkeep implements java.io.Serializable {
|
|||||||
/**
|
/**
|
||||||
* <p>upkeep_Dark_Confidant.</p>
|
* <p>upkeep_Dark_Confidant.</p>
|
||||||
*/
|
*/
|
||||||
private static void upkeep_Dark_Confidant() {
|
/*private static void upkeep_Dark_Confidant() {
|
||||||
final Player player = AllZone.getPhase().getPlayerTurn();
|
final Player player = AllZone.getPhase().getPlayerTurn();
|
||||||
|
|
||||||
CardList list = AllZoneUtil.getPlayerCardsInPlay(player);
|
CardList list = AllZoneUtil.getPlayerCardsInPlay(player);
|
||||||
@@ -1989,7 +1989,7 @@ public class Upkeep implements java.io.Serializable {
|
|||||||
AllZone.getStack().addSimultaneousStackEntry(ability);
|
AllZone.getStack().addSimultaneousStackEntry(ability);
|
||||||
|
|
||||||
} // for
|
} // for
|
||||||
} // upkeep_Dark_Confidant()
|
} // upkeep_Dark_Confidant()*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>upkeep_Suspend.</p>
|
* <p>upkeep_Suspend.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user