Update oracles with AFR release

This commit is contained in:
Lyu Zong-Hong
2021-07-23 15:31:40 +09:00
parent a42d64353e
commit a3372980e5
32 changed files with 93 additions and 89 deletions

View File

@@ -1832,10 +1832,10 @@ public class CardFactoryUtil {
if (sa.hasParam("NextRoom")) { if (sa.hasParam("NextRoom")) {
boolean first = true; boolean first = true;
StringBuilder nextRoomParam = new StringBuilder(); StringBuilder nextRoomParam = new StringBuilder();
trigStr.append(" ( "); trigStr.append(" (Leads to: ");
for (String nextRoomSVar : sa.getParam("NextRoom").split(",")) { for (String nextRoomSVar : sa.getParam("NextRoom").split(",")) {
if (!first) { if (!first) {
trigStr.append(" or "); trigStr.append(", ");
nextRoomParam.append(","); nextRoomParam.append(",");
} }
String nextRoomName = saMap.get(nextRoomSVar).getParam("RoomName"); String nextRoomName = saMap.get(nextRoomSVar).getParam("RoomName");

View File

@@ -5,6 +5,6 @@ PT:3/4
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigPump | TriggerDescription$ Psionic Spells When CARDNAME enters the battlefield, choose target instant or sorcery card in your graveyard, then ABILITY T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigPump | TriggerDescription$ Psionic Spells When CARDNAME enters the battlefield, choose target instant or sorcery card in your graveyard, then ABILITY
SVar:TrigPump:DB$ Pump | ValidTgts$ Instant.YouOwn,Sorcery.YouOwn | TgtZone$ Graveyard | TgtPrompt$ Choose target instant or sorcery card in your graveyard | SubAbility$ DBRollDice SVar:TrigPump:DB$ Pump | ValidTgts$ Instant.YouOwn,Sorcery.YouOwn | TgtZone$ Graveyard | TgtPrompt$ Choose target instant or sorcery card in your graveyard | SubAbility$ DBRollDice
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBLibrary,10-20:DBHand | SpellDescription$ roll a d20. SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBLibrary,10-20:DBHand | SpellDescription$ roll a d20.
SVar:DBLibrary:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Library | LibraryPosition$ 0 | Optional$ True | SpellDescription$ 1-9 VERT You may put that card on top of your library. SVar:DBLibrary:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Library | LibraryPosition$ 0 | Optional$ True | SpellDescription$ 19 VERT You may put that card on top of your library.
SVar:DBHand:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | SpellDescription$ 10-20 VERT Return that card to your hand. SVar:DBHand:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | SpellDescription$ 1020 VERT Return that card to your hand.
Oracle:Psionic Spells — When Aberrant Mind Sorcerer enters the battlefield, choose target instant or sorcery card in your graveyard, then roll a d20.\n1-9 | You may put that card on top of your library.\n10-20 | Return that card to your hand. Oracle:Psionic Spells — When Aberrant Mind Sorcerer enters the battlefield, choose target instant or sorcery card in your graveyard, then roll a d20.\n19 | You may put that card on top of your library.\n1020 | Return that card to your hand.

View File

@@ -3,6 +3,6 @@ ManaCost:1 U
Types:Creature Elf Wizard Types:Creature Elf Wizard
PT:2/1 PT:2/1
A:AB$ RollDice | Cost$ 5 U | Sides$ 20 | ResultSubAbilities$ 1-9:DBDraw,10-20:DBDig | PrecostDesc$ Search the Room — | SpellDescription$ Roll a d20. A:AB$ RollDice | Cost$ 5 U | Sides$ 20 | ResultSubAbilities$ 1-9:DBDraw,10-20:DBDig | PrecostDesc$ Search the Room — | SpellDescription$ Roll a d20.
SVar:DBDraw:DB$ Draw | NumCards$ 1 | SpellDescription$ 1-9 VERT Draw a card. SVar:DBDraw:DB$ Draw | NumCards$ 1 | SpellDescription$ 19 VERT Draw a card.
SVar:DBDig:DB$ Dig | DigNum$ 3 | ChangeNum$ 1 | SpellDescription$ 10-20 VERT Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. SVar:DBDig:DB$ Dig | DigNum$ 3 | ChangeNum$ 1 | SpellDescription$ 1020 VERT Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
Oracle:Search the Room — {5}{U}: Roll a d20.\n1-9 | Draw a card.\n10-20 | Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order. Oracle:Search the Room — {5}{U}: Roll a d20.\n19 | Draw a card.\n1020 | Look at the top three cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.

View File

@@ -2,8 +2,8 @@ Name:Berserker's Frenzy
ManaCost:2 R ManaCost:2 R
Types:Instant Types:Instant
A:SP$ RollDice | ActivationPhases$ Upkeep->Declare Attackers | Amount$ 2 | Sides$ 20 | IgnoreLower$ 1 | ResultSubAbilities$ 1-14:MustBlock,15-20:ChooseBlock | SpellDescription$ Cast this spell only before combat or during combat before blockers are declared. Roll two d20 and ignore the lower roll. A:SP$ RollDice | ActivationPhases$ Upkeep->Declare Attackers | Amount$ 2 | Sides$ 20 | IgnoreLower$ 1 | ResultSubAbilities$ 1-14:MustBlock,15-20:ChooseBlock | SpellDescription$ Cast this spell only before combat or during combat before blockers are declared. Roll two d20 and ignore the lower roll.
SVar:MustBlock:DB$ ChooseCard | Choices$ Creature | Amount$ X | MinAmount$ 0 | ChoiceTitle$ Choose any number of creatures | SubAbility$ DBPump | SpellDescription$ 1-14 VERT Choose any number of creatures. They block this turn if able. SVar:MustBlock:DB$ ChooseCard | Choices$ Creature | Amount$ X | MinAmount$ 0 | ChoiceTitle$ Choose any number of creatures | SubAbility$ DBPump | SpellDescription$ 114 VERT Choose any number of creatures. They block this turn if able.
SVar:DBPump:DB$ Pump | Defined$ ChosenCard | KW$ HIDDEN CARDNAME blocks each combat if able. SVar:DBPump:DB$ Pump | Defined$ ChosenCard | KW$ HIDDEN CARDNAME blocks each combat if able.
SVar:X:Count$Valid Creature SVar:X:Count$Valid Creature
SVar:ChooseBlock:DB$ DeclareCombatants | DeclareBlockers$ True | Until$ EndOfTurn | SpellDescription$ 15-20 VERT You choose which creatures block this turn and how those creatures block. SVar:ChooseBlock:DB$ DeclareCombatants | DeclareBlockers$ True | Until$ EndOfTurn | SpellDescription$ 1520 VERT You choose which creatures block this turn and how those creatures block.
Oracle:Cast this spell only before combat or during combat before blockers are declared.\nRoll two d20 and ignore the lower roll.\n1-14 | Choose any number of creatures. They block this turn if able.\n15-20 | You choose which creatures block this turn and how those creatures block. Oracle:Cast this spell only before combat or during combat before blockers are declared.\nRoll two d20 and ignore the lower roll.\n114 | Choose any number of creatures. They block this turn if able.\n1520 | You choose which creatures block this turn and how those creatures block.

View File

@@ -4,10 +4,10 @@ Types:Creature Human Shaman
PT:4/3 PT:4/3
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Wild Magic Surge — Whenever CARDNAME attacks, ABILITY T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Wild Magic Surge — Whenever CARDNAME attacks, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Exile1,10-19:Exile2,20:Exile3 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Exile1,10-19:Exile2,20:Exile3 | SpellDescription$ roll a d20.
SVar:Exile1:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ 1-9 VERT Exile the top card of your library. You may play it this turn. SVar:Exile1:DB$ Dig | Defined$ You | DigNum$ 1 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ 19 VERT Exile the top card of your library. You may play it this turn.
SVar:Exile2:DB$ Dig | Defined$ You | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ 10-19 VERT Exile the top two cards of your library. You may play them this turn. SVar:Exile2:DB$ Dig | Defined$ You | DigNum$ 2 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ 1019 VERT Exile the top two cards of your library. You may play them this turn.
SVar:Exile3:DB$ Dig | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ 20 VERT Exile the top three cards of your library. You may play them this turn. SVar:Exile3:DB$ Dig | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBEffect | SpellDescription$ 20 VERT Exile the top three cards of your library. You may play them this turn.
SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup SVar:DBEffect:DB$ Effect | StaticAbilities$ STPlay | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup
SVar:STPlay:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Exile | Affected$ Card.IsRemembered | MayPlay$ True | Description$ You may play the card(s) this turn. SVar:STPlay:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Exile | Affected$ Card.IsRemembered | MayPlay$ True | Description$ You may play the card(s) this turn.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
Oracle:Wild Magic Surge — Whenever Chaos Channeler attacks, roll a d20.\n1-9 | Exile the top card of your library. You may play it this turn.\n10-19 | Exile the top two cards of your library. You may play them this turn.\n20 | Exile the top three cards of your library. You may play them this turn. Oracle:Wild Magic Surge — Whenever Chaos Channeler attacks, roll a d20.\n19 | Exile the top card of your library. You may play it this turn.\n1019 | Exile the top two cards of your library. You may play them this turn.\n20 | Exile the top three cards of your library. You may play them this turn.

View File

@@ -3,7 +3,7 @@ ManaCost:3
Types:Artifact Types:Artifact
A:AB$ Mana | Cost$ T SubCounter<1/COMPONENT> | Amount$ 2 | Produced$ Combo AnyDifferent | SpellDescription$ Add two mana of different colors. A:AB$ Mana | Cost$ T SubCounter<1/COMPONENT> | Amount$ 2 | Produced$ Combo AnyDifferent | SpellDescription$ Add two mana of different colors.
A:AB$ RollDice | Cost$ T | Sides$ 20 | ResultSubAbilities$ 1-9:PutOne,10-20:PutTwo | SpellDescription$ Roll a d20. A:AB$ RollDice | Cost$ T | Sides$ 20 | ResultSubAbilities$ 1-9:PutOne,10-20:PutTwo | SpellDescription$ Roll a d20.
SVar:PutOne:DB$ PutCounter | Defined$ Self | CounterType$ COMPONENT | CounterNum$ 1 | SpellDescription$ 1-9 VERT Put a component counter on CARDNAME. SVar:PutOne:DB$ PutCounter | Defined$ Self | CounterType$ COMPONENT | CounterNum$ 1 | SpellDescription$ 19 VERT Put a component counter on CARDNAME.
SVar:PutTwo:DB$ PutCounter | Defined$ Self | CounterType$ COMPONENT | CounterNum$ 2 | SpellDescription$ 10-20 VERT Put two component counters on CARDNAME. SVar:PutTwo:DB$ PutCounter | Defined$ Self | CounterType$ COMPONENT | CounterNum$ 2 | SpellDescription$ 1020 VERT Put two component counters on CARDNAME.
DeckHas:Ability$Counters DeckHas:Ability$Counters
Oracle:{T}, Remove a component counter from Component Pouch: Add two mana of different colors.\n{T}: Roll a d20.\n1-9 | Put a component counter on Component Pouch.\n10-20 | Put two component counters on Component Pouch. Oracle:{T}, Remove a component counter from Component Pouch: Add two mana of different colors.\n{T}: Roll a d20.\n19 | Put a component counter on Component Pouch.\n1020 | Put two component counters on Component Pouch.

View File

@@ -2,8 +2,8 @@ Name:Contact Other Plane
ManaCost:3 U ManaCost:3 U
Types:Instant Types:Instant
A:SP$ RollDice | Cost$ 3 U | Sides$ 20 | ResultSubAbilities$ 1-9:DBDraw2,10-19:DBScry2,20:DBScry3 | SpellDescription$ Roll a d20. A:SP$ RollDice | Cost$ 3 U | Sides$ 20 | ResultSubAbilities$ 1-9:DBDraw2,10-19:DBScry2,20:DBScry3 | SpellDescription$ Roll a d20.
SVar:DBDraw2:DB$ Draw | NumCards$ 2 | SpellDescription$ 1-9 VERT Draw two cards. SVar:DBDraw2:DB$ Draw | NumCards$ 2 | SpellDescription$ 19 VERT Draw two cards.
SVar:DBScry2:DB$ Scry | ScryNum$ 2 | SubAbility$ DBDraw2 | SpellDescription$ 10-19 VERT Scry 2, then draw two cards. SVar:DBScry2:DB$ Scry | ScryNum$ 2 | SubAbility$ DBDraw2 | SpellDescription$ 1019 VERT Scry 2, then draw two cards.
SVar:DBScry3:DB$ Scry | ScryNum$ 3 | SubAbility$ DBDraw3 | SpellDescription$ 20 VERT Scry 3, then draw three cards. SVar:DBScry3:DB$ Scry | ScryNum$ 3 | SubAbility$ DBDraw3 | SpellDescription$ 20 VERT Scry 3, then draw three cards.
SVar:DBDraw3:DB$ Draw | NumCards$ 3 SVar:DBDraw3:DB$ Draw | NumCards$ 3
Oracle:Roll a d20.\n1-9 | Draw two cards.\n10-19 | Scry 2, then draw two cards.\n20 | Scry 3, then draw three cards. Oracle:Roll a d20.\n19 | Draw two cards.\n1019 | Scry 2, then draw two cards.\n20 | Scry 3, then draw three cards.

View File

@@ -5,13 +5,13 @@ PT:3/2
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBLoop | TriggerDescription$ Whenever CARDNAME attacks, choose target creature you control, then ABILITY T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBLoop | TriggerDescription$ Whenever CARDNAME attacks, choose target creature you control, then ABILITY
SVar:DBLoop:DB$ Repeat | ValidTgts$ Creature.YouCtrl | RepeatCheckSVar$ RepeatCheck | RepeatSVarCompare$ GT0 | RepeatSubAbility$ DBRollDice | RepeatOptional$ True SVar:DBLoop:DB$ Repeat | ValidTgts$ Creature.YouCtrl | RepeatCheckSVar$ RepeatCheck | RepeatSVarCompare$ GT0 | RepeatSubAbility$ DBRollDice | RepeatOptional$ True
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-14:DBCopy,15-20:DBCopyRepeat | SpellDescription$ roll a d20. SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-14:DBCopy,15-20:DBCopyRepeat | SpellDescription$ roll a d20.
SVar:DBCopy:DB$ CopyPermanent | Defined$ Targeted | TokenTapped$ True | TokenAttacking$ True | NonLegendary$ True | AddSVars$ DelinaTrigExile | AddTriggers$ TrigPhase | SubAbility$ DBNotRepeat | SpellDescription$ 1-14 VERT Create a tapped and attacking token that's a copy of that creature, except it's not legendary and it has "Exile this creature at end of combat. SVar:DBCopy:DB$ CopyPermanent | Defined$ Targeted | TokenTapped$ True | TokenAttacking$ True | NonLegendary$ True | AddSVars$ DelinaTrigExile | AddTriggers$ TrigPhase | SubAbility$ DBNotRepeat | SpellDescription$ 114 VERT Create a tapped and attacking token that's a copy of that creature, except it's not legendary and it has "Exile this creature at end of combat."
SVar:DBNotRepeat:DB$ StoreSVar | SVar$ RepeatCheck | Type$ Number | Expression$ 0 SVar:DBNotRepeat:DB$ StoreSVar | SVar$ RepeatCheck | Type$ Number | Expression$ 0
SVar:DBCopyRepeat:DB$ CopyPermanent | Defined$ Targeted | TokenTapped$ True | TokenAttacking$ True | NonLegendary$ True | AddSVars$ DelinaTrigExile | AddTriggers$ TrigPhase | SubAbility$ DBRepeat | SpellDescription$ 15-20 VERT Create one of those tokens. You may roll again. SVar:DBCopyRepeat:DB$ CopyPermanent | Defined$ Targeted | TokenTapped$ True | TokenAttacking$ True | NonLegendary$ True | AddSVars$ DelinaTrigExile | AddTriggers$ TrigPhase | SubAbility$ DBRepeat | SpellDescription$ 1520 VERT Create one of those tokens. You may roll again.
SVar:TrigPhase:Mode$ Phase | Phase$ EndCombat | TriggerZones$ Battlefield | Execute$ DelinaTrigExile | TriggerDescription$ Exile this creature at end of combat. SVar:TrigPhase:Mode$ Phase | Phase$ EndCombat | TriggerZones$ Battlefield | Execute$ DelinaTrigExile | TriggerDescription$ Exile this creature at end of combat.
SVar:DelinaTrigExile:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile SVar:DelinaTrigExile:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile
SVar:DBRepeat:DB$ StoreSVar | SVar$ RepeatCheck | Type$ Number | Expression$ 1 SVar:DBRepeat:DB$ StoreSVar | SVar$ RepeatCheck | Type$ Number | Expression$ 1
SVar:RepeatCheck:Number$1 SVar:RepeatCheck:Number$1
SVar:HasAttackEffect:TRUE SVar:HasAttackEffect:TRUE
DeckHas:Ability$Token DeckHas:Ability$Token
Oracle:Whenever Delina, Wild Mage attacks, choose target creature you control, then roll a d20.\n1-14 | Create a tapped and attacking token that's a copy of that creature, except it's not legendary and it has "Exile this creature at end of combat."\n15-20 | Create one of those tokens. You may roll again. Oracle:Whenever Delina, Wild Mage attacks, choose target creature you control, then roll a d20.\n114 | Create a tapped and attacking token that's a copy of that creature, except it's not legendary and it has "Exile this creature at end of combat."\n1520 | Create one of those tokens. You may roll again.

View File

@@ -2,9 +2,9 @@ Name:Diviner's Portent
ManaCost:X U U U ManaCost:X U U U
Types:Instant Types:Instant
A:SP$ RollDice | Sides$ 20 | Modifier$ Y | ResultSubAbilities$ 1-14:DBDraw,Else:DBScry | SpellDescription$ Roll a d20 and add the number of cards in your hand. A:SP$ RollDice | Sides$ 20 | Modifier$ Y | ResultSubAbilities$ 1-14:DBDraw,Else:DBScry | SpellDescription$ Roll a d20 and add the number of cards in your hand.
SVar:DBDraw:DB$ Draw | NumCards$ X | SpellDescription$ 1-14 VERT Draw X cards. SVar:DBDraw:DB$ Draw | NumCards$ X | SpellDescription$ 114 VERT Draw X cards.
SVar:DBScry:DB$ Scry | ScryNum$ X | SubAbility$ DBDraw2 | SpellDescription$ 15+ VERT Scry X, then draw X cards. SVar:DBScry:DB$ Scry | ScryNum$ X | SubAbility$ DBDraw2 | SpellDescription$ 15+ VERT Scry X, then draw X cards.
SVar:DBDraw2:DB$ Draw | NumCards$ X SVar:DBDraw2:DB$ Draw | NumCards$ X
SVar:X:Count$xPaid SVar:X:Count$xPaid
SVar:Y:Count$InYourHand SVar:Y:Count$InYourHand
Oracle:Roll a d20 and add the number of cards in your hand.\n1-14 | Draw X cards.\n15+ | Scry X, then draw X cards. Oracle:Roll a d20 and add the number of cards in your hand.\n114 | Draw X cards.\n15+ | Scry X, then draw X cards.

View File

@@ -5,7 +5,7 @@ PT:3/3
K:Flying K:Flying
T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Scry1,10-19:Scry2,20:Scry3 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Scry1,10-19:Scry2,20:Scry3 | SpellDescription$ roll a d20.
SVar:Scry1:DB$ Scry | ScryNum$ 1 | SpellDescription$ 1-9 VERT Scry 1. SVar:Scry1:DB$ Scry | ScryNum$ 1 | SpellDescription$ 19 VERT Scry 1.
SVar:Scry2:DB$ Scry | ScryNum$ 2 | SpellDescription$ 10-19 VERT Scry 2. SVar:Scry2:DB$ Scry | ScryNum$ 2 | SpellDescription$ 1019 VERT Scry 2.
SVar:Scry3:DB$ Scry | ScryNum$ 3 | SpellDescription$ 20 VERT Scry 3. SVar:Scry3:DB$ Scry | ScryNum$ 3 | SpellDescription$ 20 VERT Scry 3.
Oracle:Flying\nWhen Djinni Windseer enters the battlefield, roll a d20.\n1-9 | Scry 1.\n10-19 | Scry 2.\n20 | Scry 3. Oracle:Flying\nWhen Djinni Windseer enters the battlefield, roll a d20.\n19 | Scry 1.\n1019 | Scry 2.\n20 | Scry 3.

View File

@@ -15,4 +15,4 @@ SVar:DBMines:DB$ Scry | ScryNum$ 3 | RoomName$ Deep Mines | SpellDescription$ Sc
SVar:DBLair:DB$ Draw | Defined$ You | NumCards$ 3 | RememberDrawn$ True | SubAbility$ DBReveal | RoomName$ Mad Wizard's Lair | SpellDescription$ Draw three cards and reveal them. You may cast one of them without paying its mana cost. SVar:DBLair:DB$ Draw | Defined$ You | NumCards$ 3 | RememberDrawn$ True | SubAbility$ DBReveal | RoomName$ Mad Wizard's Lair | SpellDescription$ Draw three cards and reveal them. You may cast one of them without paying its mana cost.
SVar:DBReveal:DB$ Reveal | Defined$ You | RevealDefined$ Remembered | SubAbility$ DBPlay SVar:DBReveal:DB$ Reveal | Defined$ You | RevealDefined$ Remembered | SubAbility$ DBPlay
SVar:DBPlay:DB$ Play | Defined$ Remembered | ValidSA$ Spell | WithoutManaCost$ True | Optional$ True | SubAbility$ DBCleanup SVar:DBPlay:DB$ Play | Defined$ Remembered | ValidSA$ Spell | WithoutManaCost$ True | Optional$ True | SubAbility$ DBCleanup
Oracle:Yawning Portal — You gain 1 life. ( Dungeon Level)\nDungeon Level — Scry 1. ( Goblin Bazaar or Twisted Caverns)\nGoblin Bazaar — Create a Treasure token. ( Lost Level)\nTwisted Caverns — Target creature can't attack until your next turn. ( Lost Level)\nLost Level — Scry 2. ( Runestone Caverns or Muiral's Graveyard)\nRunestone Caverns — Exile the top two cards of your library. You may play them. ( Deep Mines)\nMuiral's Graveyard — Create two 1/1 black Skeleton creature tokens. ( Deep Mines)\nDeep Mines — Scry 3. ( Mad Wizard's Lair)\nMad Wizard's Lair — Draw three cards and reveal them. You may cast one of them without paying its mana cost. Oracle:Yawning Portal — You gain 1 life. (Leads to: Dungeon Level)\nDungeon Level — Scry 1. (Leads to: Goblin Bazaar, Twisted Caverns)\nGoblin Bazaar — Create a Treasure token. (Leads to: Lost Level)\nTwisted Caverns — Target creature can't attack until your next turn. (Leads to: Lost Level)\nLost Level — Scry 2. (Leads to: Runestone Caverns, Muiral's Graveyard)\nRunestone Caverns — Exile the top two cards of your library. You may play them. (Leads to: Deep Mines)\nMuiral's Graveyard — Create two 1/1 black Skeleton creature tokens. (Leads to: Deep Mines)\nDeep Mines — Scry 3. (Leads to: Mad Wizard's Lair)\nMad Wizard's Lair — Draw three cards and reveal them. You may cast one of them without paying its mana cost.

View File

@@ -4,8 +4,8 @@ Types:Creature Elemental
PT:6/6 PT:6/6
T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Siege Monster — When CARDNAME enters the battlefield, ABILITY T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Siege Monster — When CARDNAME enters the battlefield, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Sac1,10-19:SacOpp,20:SacOpp2 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Sac1,10-19:SacOpp,20:SacOpp2 | SpellDescription$ roll a d20.
SVar:Sac1:DB$ Sacrifice | SacValid$ Permanent | Defined$ Player | SpellDescription$ 1-9 VERT Each player sacrifices a permanent. SVar:Sac1:DB$ Sacrifice | SacValid$ Permanent | Defined$ Player | SpellDescription$ 19 VERT Each player sacrifices a permanent.
SVar:SacOpp:DB$ Sacrifice | SacValid$ Permanent | Defined$ Player.Opponent | SpellDescription$ 10-19 VERT Each opponent sacrifices a permanent. SVar:SacOpp:DB$ Sacrifice | SacValid$ Permanent | Defined$ Player.Opponent | SpellDescription$ 1019 VERT Each opponent sacrifices a permanent.
SVar:SacOpp2:DB$ Sacrifice | SacValid$ Permanent | Amount$ 2 | Defined$ Player.Opponent | SpellDescription$ 20 VERT Each opponent sacrifices two permanents. SVar:SacOpp2:DB$ Sacrifice | SacValid$ Permanent | Amount$ 2 | Defined$ Player.Opponent | SpellDescription$ 20 VERT Each opponent sacrifices two permanents.
DeckHas:Ability$Sacrifice DeckHas:Ability$Sacrifice
Oracle:Siege Monster — When Earth-Cult Elemental enters the battlefield, roll a d20.\n1-9 | Each player sacrifices a permanent.\n10-19 | Each opponent sacrifices a permanent.\n20 | Each opponent sacrifices two permanents. Oracle:Siege Monster — When Earth-Cult Elemental enters the battlefield, roll a d20.\n19 | Each player sacrifices a permanent.\n1019 | Each opponent sacrifices a permanent.\n20 | Each opponent sacrifices two permanents.

View File

@@ -3,6 +3,6 @@ ManaCost:3 R R
Types:Instant Types:Instant
A:SP$ DealDamage | ValidTgts$ Creature,Planeswalker | NumDmg$ 5 | SubAbility$ DBRollDice | SpellDescription$ CARDNAME deals 5 damage to target creature or planeswalker. Roll a d20. A:SP$ DealDamage | ValidTgts$ Creature,Planeswalker | NumDmg$ 5 | SubAbility$ DBRollDice | SpellDescription$ CARDNAME deals 5 damage to target creature or planeswalker. Roll a d20.
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DamageAll,10-20:DamageOpp SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DamageAll,10-20:DamageOpp
SVar:DamageAll:DB$ DealDamage | Defined$ Player | NumDmg$ 2 | SpellDescription$ 1-9 VERT CARDNAME deals 2 damage to each player. SVar:DamageAll:DB$ DealDamage | Defined$ Player | NumDmg$ 2 | SpellDescription$ 19 VERT CARDNAME deals 2 damage to each player.
SVar:DamageOpp:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ 2 | SpellDescription$ 10-20 VERT CARDNAME deals 2 damage to each opponent. SVar:DamageOpp:DB$ DealDamage | Defined$ Player.Opponent | NumDmg$ 2 | SpellDescription$ 1020 VERT CARDNAME deals 2 damage to each opponent.
Oracle:Farideh's Fireball deals 5 damage to target creature or planeswalker. Roll a d20.\n1-9 | Farideh's Fireball deals 2 damage to each player.\n10-20 | Farideh's Fireball deals 2 damage to each opponent. Oracle:Farideh's Fireball deals 5 damage to target creature or planeswalker. Roll a d20.\n19 | Farideh's Fireball deals 2 damage to each player.\n1020 | Farideh's Fireball deals 2 damage to each opponent.

View File

@@ -5,9 +5,9 @@ S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 1 | AddKeyword$ T
K:Equip:1 R K:Equip:1 R
T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBToken,10-20:DBTokenAttach | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBToken,10-20:DBTokenAttach | SpellDescription$ roll a d20.
SVar:DBToken:DB$ Token | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 1-9 VERT Create a 1/1 red Goblin creature token. SVar:DBToken:DB$ Token | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 19 VERT Create a 1/1 red Goblin creature token.
SVar:DBTokenAttach:DB$ Token | TokenScript$ r_1_1_goblin | TokenOwner$ You | RememberTokens$ True | SubAbility$ DBAttach | SpellDescription$ 10-20 VERT Create a 1/1 red Goblin creature token, then attach CARDNAME to it. SVar:DBTokenAttach:DB$ Token | TokenScript$ r_1_1_goblin | TokenOwner$ You | RememberTokens$ True | SubAbility$ DBAttach | SpellDescription$ 1020 VERT Create a 1/1 red Goblin creature token, then attach CARDNAME to it.
SVar:DBAttach:DB$ Attach | Defined$ Remembered | SubAbility$ DBCleanup SVar:DBAttach:DB$ Attach | Defined$ Remembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
DeckHas:Ability$Token DeckHas:Ability$Token
Oracle:Equipped creature gets +1/+0 and has trample.\nEquip {1}{R}\nWhen Goblin Morningstar enters the battlefield, roll a d20.\n1-9 | Create a 1/1 red Goblin creature token.\n10-20 | Create a 1/1 red Goblin creature token, then attach Goblin Morningstar to it. Oracle:Equipped creature gets +1/+0 and has trample.\nEquip {1}{R}\nWhen Goblin Morningstar enters the battlefield, roll a d20.\n19 | Create a 1/1 red Goblin creature token.\n1020 | Create a 1/1 red Goblin creature token, then attach Goblin Morningstar to it.

View File

@@ -3,11 +3,11 @@ ManaCost:4 B
Types:Creature Human Warlock Types:Creature Human Warlock
PT:4/4 PT:4/4
A:AB$ RollDice | Cost$ 5 B | Sides$ 20 | ResultSubAbilities$ 1-9:LoseTwo,10-19:LoseGain,20:LoseTrea | PrecostDesc$ Circle of Death — | SpellDescription$ Roll a d20. A:AB$ RollDice | Cost$ 5 B | Sides$ 20 | ResultSubAbilities$ 1-9:LoseTwo,10-19:LoseGain,20:LoseTrea | PrecostDesc$ Circle of Death — | SpellDescription$ Roll a d20.
SVar:LoseTwo:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | SpellDescription$ 1-9 VERT Each opponent loses 2 life. SVar:LoseTwo:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | SpellDescription$ 19 VERT Each opponent loses 2 life.
SVar:LoseGain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | SubAbility$ DBGain2 | SpellDescription$ 10-19 VERT Each opponent loses 2 life and you gain 2 life. SVar:LoseGain:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | SubAbility$ DBGain2 | SpellDescription$ 1019 VERT Each opponent loses 2 life and you gain 2 life.
SVar:DBGain2:DB$ GainLife | Defined$ You | LifeAmount$ 2 SVar:DBGain2:DB$ GainLife | Defined$ You | LifeAmount$ 2
SVar:LoseTrea:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | SubAbility$ DBGainTrea | SpellDescription$ 20 VERT Each opponent loses 2 life and you gain 2 life. Create two Treasure tokens. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") SVar:LoseTrea:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 2 | SubAbility$ DBGainTrea | SpellDescription$ 20 VERT Each opponent loses 2 life and you gain 2 life. Create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
SVar:DBGainTrea:DB$ GainLife | Defined$ You | LifeAmount$ 2 | SubAbility$ DBTreasure SVar:DBGainTrea:DB$ GainLife | Defined$ You | LifeAmount$ 2 | SubAbility$ DBTreasure
SVar:DBTreasure:DB$ Token | TokenAmount$ 2 | TokenScript$ c_a_treasure_sac | TokenOwner$ You SVar:DBTreasure:DB$ Token | TokenAmount$ 2 | TokenScript$ c_a_treasure_sac | TokenOwner$ You
DeckHas:Ability$LifeGain & Ability$Token DeckHas:Ability$LifeGain & Ability$Token
Oracle:Circle of Death — {5}{B}: Roll a d20.\n1-9 | Each opponent loses 2 life.\n10-19 | Each opponent loses 2 life and you gain 2 life.\n20 | Each opponent loses 2 life and you gain 2 life. Create two Treasure tokens. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") Oracle:Circle of Death — {5}{B}: Roll a d20.\n19 | Each opponent loses 2 life.\n1019 | Each opponent loses 2 life and you gain 2 life.\n20 | Each opponent loses 2 life and you gain 2 life. Create two Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")

View File

@@ -4,8 +4,8 @@ Types:Creature Ogre
PT:3/3 PT:3/3
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Whenever CARDNAME attacks, ABILITY T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Whenever CARDNAME attacks, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Token1,10-19:Token2,20:Token3 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Token1,10-19:Token2,20:Token3 | SpellDescription$ roll a d20.
SVar:Token1:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ 1-9 VERT Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.") SVar:Token1:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ 19 VERT Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")
SVar:Token2:DB$ Token | TokenAmount$ 2 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ 10-19 VERT Create two Treasure tokens. SVar:Token2:DB$ Token | TokenAmount$ 2 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ 1019 VERT Create two Treasure tokens.
SVar:Token3:DB$ Token | TokenAmount$ 3 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ 20 VERT Create three Treasure tokens. SVar:Token3:DB$ Token | TokenAmount$ 3 | TokenScript$ c_a_treasure_sac | TokenOwner$ You | SpellDescription$ 20 VERT Create three Treasure tokens.
DeckHas:Ability$Token DeckHas:Ability$Token
Oracle:Whenever Hoarding Ogre attacks, roll a d20.\n1-9 | Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")\n10-19 | Create two Treasure tokens.\n20 | Create three Treasure tokens. Oracle:Whenever Hoarding Ogre attacks, roll a d20.\n19 | Create a Treasure token. (It's an artifact with "{T}, Sacrifice this artifact: Add one mana of any color.")\n1019 | Create two Treasure tokens.\n20 | Create three Treasure tokens.

View File

@@ -4,7 +4,7 @@ Types:Creature Halfling Rogue
PT:2/1 PT:2/1
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Sneak Attack — Whenever CARDNAME attacks, ABILITY T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Sneak Attack — Whenever CARDNAME attacks, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Pump1,10-19:Pump2,20:Pump3 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Pump1,10-19:Pump2,20:Pump3 | SpellDescription$ roll a d20.
SVar:Pump1:DB$ Pump | Defined$ Self | KW$ Deathtouch | SpellDescription$ 1-9 VERT CARDNAME gains deathtouch until end of turn. SVar:Pump1:DB$ Pump | Defined$ Self | KW$ Deathtouch | SpellDescription$ 19 VERT CARDNAME gains deathtouch until end of turn.
SVar:Pump2:DB$ Pump | Defined$ Self | KW$ Deathtouch | NumAtt$ 1 | SpellDescription$ 10-19 VERT It gets +1/+0 and gains deathtouch until end of turn. SVar:Pump2:DB$ Pump | Defined$ Self | KW$ Deathtouch | NumAtt$ 1 | SpellDescription$ 1019 VERT It gets +1/+0 and gains deathtouch until end of turn.
SVar:Pump3:DB$ Pump | Defined$ Self | KW$ First Strike & Deathtouch | NumAtt$ 3 | SpellDescription$ 20 VERT It gets +3/+0 and gains first strike and deathtouch until end of turn. SVar:Pump3:DB$ Pump | Defined$ Self | KW$ First Strike & Deathtouch | NumAtt$ 3 | SpellDescription$ 20 VERT It gets +3/+0 and gains first strike and deathtouch until end of turn.
Oracle:Sneak Attack — Whenever Lightfoot Rogue attacks, roll a d20.\n1-9 | Lightfoot Rogue gains deathtouch until end of turn.\n10-19 | It gets +1/+0 and gains deathtouch until end of turn.\n20 | It gets +3/+0 and gains first strike and deathtouch until end of turn. Oracle:Sneak Attack — Whenever Lightfoot Rogue attacks, roll a d20.\n19 | Lightfoot Rogue gains deathtouch until end of turn.\n1019 | It gets +1/+0 and gains deathtouch until end of turn.\n20 | It gets +3/+0 and gains first strike and deathtouch until end of turn.

View File

@@ -3,7 +3,7 @@ ManaCost:3 G G
Types:Creature Troll Types:Creature Troll
PT:6/2 PT:6/2
A:AB$ RollDice | Cost$ 3 G | ActivationZone$ Graveyard | Sides$ 20 | ResultSubAbilities$ 1-9:ToLib,10-19:ToHand,20:ToField | SpellDescription$ Roll a d20. Activate only if CARDNAME is in your graveyard. A:AB$ RollDice | Cost$ 3 G | ActivationZone$ Graveyard | Sides$ 20 | ResultSubAbilities$ 1-9:ToLib,10-19:ToHand,20:ToField | SpellDescription$ Roll a d20. Activate only if CARDNAME is in your graveyard.
SVar:ToLib:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Library | SpellDescription$ 1-9 VERT Put CARDNAME on top of your library. SVar:ToLib:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Library | SpellDescription$ 19 VERT Put CARDNAME on top of your library.
SVar:ToHand:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Hand | SpellDescription$ 10-19 VERT Return CARDNAME to your hand. SVar:ToHand:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Hand | SpellDescription$ 1019 VERT Return CARDNAME to your hand.
SVar:ToField:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield | Tapped$ True | SpellDescription$ 20 VERT Return CARDNAME to the battlefield tapped. SVar:ToField:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield | Tapped$ True | SpellDescription$ 20 VERT Return CARDNAME to the battlefield tapped.
Oracle:{3}{G}: Roll a d20. Activate only if Loathsome Troll is in your graveyard.\n1-9 | Put Loathsome Troll on top of your library.\n10-19 | Return Loathsome Troll to your hand.\n20 | Return Loathsome Troll to the battlefield tapped. Oracle:{3}{G}: Roll a d20. Activate only if Loathsome Troll is in your graveyard.\n19 | Put Loathsome Troll on top of your library.\n1019 | Return Loathsome Troll to your hand.\n20 | Return Loathsome Troll to the battlefield tapped.

View File

@@ -10,4 +10,4 @@ SVar:DBDarkPool:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbi
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1 SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1
SVar:DBFungiCavern:DB$ Pump | ValidTgts$ Creature | NumAtt$ -4 | Duration$ UntilYourNextTurn | IsCurse$ True | RoomName$ Fungi Cavern | SpellDescription$ Target creature gets -4/-0 until your next turn. | NextRoom$ DBTempleDumathoin SVar:DBFungiCavern:DB$ Pump | ValidTgts$ Creature | NumAtt$ -4 | Duration$ UntilYourNextTurn | IsCurse$ True | RoomName$ Fungi Cavern | SpellDescription$ Target creature gets -4/-0 until your next turn. | NextRoom$ DBTempleDumathoin
SVar:DBTempleDumathoin:DB$ Draw | Defined$ You | NumCards$ 1 | RoomName$ Temple of Dumathoin | SpellDescription$ Draw a card. SVar:DBTempleDumathoin:DB$ Draw | Defined$ You | NumCards$ 1 | RoomName$ Temple of Dumathoin | SpellDescription$ Draw a card.
Oracle:Cave Entrance — Scry 1. ( Goblin Lair or Mine Tunnels)\nGoblin Lair — Create a 1/1 red Goblin creature token. ( Storeroom or Dark Pool)\nMine Tunnels — Create a Treasure token. ( Dark Pool or Fungi Cavern)\nStoreroom — Put a +1/+1 counter on target creature. ( Temple of Dumathoin)\nDark Pool — Each opponent loses 1 life and you gain 1 life. ( Temple of Dumathoin)\nFungi Cavern — Target creature gets -4/-0 until your next turn. ( Temple of Dumathoin)\nTemple of Dumathoin — Draw a card. Oracle:Cave Entrance — Scry 1. (Leads to: Goblin Lair, Mine Tunnels)\nGoblin Lair — Create a 1/1 red Goblin creature token. (Leads to: Storeroom, Dark Pool)\nMine Tunnels — Create a Treasure token. (Leads to: Dark Pool, Fungi Cavern)\nStoreroom — Put a +1/+1 counter on target creature. (Leads to: Temple of Dumathoin)\nDark Pool — Each opponent loses 1 life and you gain 1 life. (Leads to: Temple of Dumathoin)\nFungi Cavern — Target creature gets -4/-0 until your next turn. (Leads to: Temple of Dumathoin)\nTemple of Dumathoin — Draw a card.

View File

@@ -3,9 +3,9 @@ ManaCost:2 U
Types:Sorcery Types:Sorcery
A:SP$ Pump | Cost$ 2 U | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an oppoenent controls | SubAbility$ DBRollDice| SpellDescription$ Choose target creature an opponent controls, A:SP$ Pump | Cost$ 2 U | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an oppoenent controls | SubAbility$ DBRollDice| SpellDescription$ Choose target creature an opponent controls,
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBHand,10-19:DBLibrary,20:DBControl | SpellDescription$ then roll a d20. SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBHand,10-19:DBLibrary,20:DBControl | SpellDescription$ then roll a d20.
SVar:DBHand:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Defined$ ParentTarget | SpellDescription$ 1-9 VERT Return it to its owner's hand. SVar:DBHand:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Defined$ ParentTarget | SpellDescription$ 19 VERT Return it to its owner's hand.
SVar:DBLibrary:DB$ GenericChoice | Defined$ TargetedController | ShowCurrentCard$ Targeted | Choices$ DBTop,DBBottom | SpellDescription$ 10-19 VERT Its owner puts it on the top or bottom of their library. SVar:DBLibrary:DB$ GenericChoice | Defined$ TargetedController | ShowCurrentCard$ Targeted | Choices$ DBTop,DBBottom | SpellDescription$ 1019 VERT Its owner puts it on the top or bottom of their library.
SVar:DBTop:DB$ ChangeZone | Defined$ Targeted | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 SVar:DBTop:DB$ ChangeZone | Defined$ Targeted | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0
SVar:DBBottom:DB$ ChangeZone | Defined$ Targeted | Origin$ Battlefield | Destination$ Library | LibraryPosition$ -1 SVar:DBBottom:DB$ ChangeZone | Defined$ Targeted | Origin$ Battlefield | Destination$ Library | LibraryPosition$ -1
SVar:DBControl:DB$ GainControl | Defined$ Targeted | LoseControl$ UntilTheEndOfYourNextTurn | SpellDescription$ 20 VERT Gain control of it until the end of your next turn. SVar:DBControl:DB$ GainControl | Defined$ Targeted | LoseControl$ UntilTheEndOfYourNextTurn | SpellDescription$ 20 VERT Gain control of it until the end of your next turn.
Oracle:Choose target creature an opponent controls, then roll a d20.\n1-9 | Return it to its owner's hand.\n10-19 | Its owner puts it on the top or bottom of their library.\n20 | Gain control of it until the end of your next turn. Oracle:Choose target creature an opponent controls, then roll a d20.\n19 | Return it to its owner's hand.\n1019 | Its owner puts it on the top or bottom of their library.\n20 | Gain control of it until the end of your next turn.

View File

@@ -2,7 +2,7 @@ Name:Revivify
ManaCost:2 W ManaCost:2 W
Types:Instant Types:Instant
A:SP$ RollDice | Sides$ 20 | Modifier$ X | ResultSubAbilities$ 1-14:DBToHand,Else:DBToField | SpellDescription$ Roll a d20 and add the number of creature cards in your graveyard that were put there from the battlefield this turn. A:SP$ RollDice | Sides$ 20 | Modifier$ X | ResultSubAbilities$ 1-14:DBToHand,Else:DBToField | SpellDescription$ Roll a d20 and add the number of creature cards in your graveyard that were put there from the battlefield this turn.
SVar:DBToHand:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ ValidGraveyard Creature.YouOwn+ThisTurnEnteredFrom_Battlefield | SpellDescription$ 1-14 VERT Return all creature cards in your graveyard that were put there from the battlefield this turn to your hand. SVar:DBToHand:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ ValidGraveyard Creature.YouOwn+ThisTurnEnteredFrom_Battlefield | SpellDescription$ 114 VERT Return all creature cards in your graveyard that were put there from the battlefield this turn to your hand.
SVar:DBToField:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ ValidGraveyard Creature.YouOwn+ThisTurnEnteredFrom_Battlefield | SpellDescription$ 15+ VERT Return those cards from your graveyard to the battlefield. SVar:DBToField:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ ValidGraveyard Creature.YouOwn+ThisTurnEnteredFrom_Battlefield | SpellDescription$ 15+ VERT Return those cards from your graveyard to the battlefield.
SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.YouCtrl SVar:X:Count$ThisTurnEntered_Graveyard_from_Battlefield_Creature.YouCtrl
Oracle:Roll a d20 and add the number of creature cards in your graveyard that were put there from the battlefield this turn.\n1-14 | Return all creature cards in your graveyard that were put there from the battlefield this turn to your hand.\n15+ | Return those cards from your graveyard to the battlefield. Oracle:Roll a d20 and add the number of creature cards in your graveyard that were put there from the battlefield this turn.\n114 | Return all creature cards in your graveyard that were put there from the battlefield this turn to your hand.\n15+ | Return those cards from your graveyard to the battlefield.

View File

@@ -4,9 +4,9 @@ Types:Creature Tiefling Shaman
PT:2/1 PT:2/1
K:Flash K:Flash
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigPump | TriggerDescription$ Cone of Cold — When CARDNAME enters the battlefield, ABILITY T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | Execute$ TrigPump | TriggerDescription$ Cone of Cold — When CARDNAME enters the battlefield, ABILITY
SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an oppoenent controls | SubAbility$ DBRollDice| SpellDescription$ Choose target creature an opponent controls, SVar:TrigPump:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an oppoenent controls | SubAbility$ DBRollDice| SpellDescription$ choose target creature an opponent controls,
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBTap,10-20:DBReallyTap | SpellDescription$ then roll a d20. SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBTap,10-20:DBReallyTap | SpellDescription$ then roll a d20.
SVar:DBTap:DB$ Tap | Defined$ Targeted | SpellDescription$ 1-9 VERT Tap that creature. SVar:DBTap:DB$ Tap | Defined$ Targeted | SpellDescription$ 19 VERT Tap that creature.
SVar:DBReallyTap:DB$ Tap | Defined$ Targeted | SubAbility$ DBNoUntap | SpellDescription$ 10-20 VERT Tap that creature. It doesn't untap during its controller's next untap step. SVar:DBReallyTap:DB$ Tap | Defined$ Targeted | SubAbility$ DBNoUntap | SpellDescription$ 1020 VERT Tap that creature. It doesn't untap during its controller's next untap step.
SVar:DBNoUntap:DB$ Pump | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Duration$ Permanent | IsCurse$ True SVar:DBNoUntap:DB$ Pump | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Duration$ Permanent | IsCurse$ True
Oracle:Cone of Cold — When Scion of Stygia enters the battlefield, choose target creature an opponent controls, then roll a d20.\n1-9 | Tap that creature.\n10-20 | Tap that creature. It doesn't untap during its controller's next untap step. Oracle:Flash\nCone of Cold — When Scion of Stygia enters the battlefield, choose target creature an opponent controls, then roll a d20.\n19 | Tap that creature.\n1020 | Tap that creature. It doesn't untap during its controller's next untap step.

View File

@@ -3,9 +3,9 @@ ManaCost:3 G G
Types:Instant Types:Instant
A:SP$ Pump | ValidTgts$ Permanent.YouCtrl | TgtZone$ Graveyard | TargetMin$ 0 | TargetMax$ 2 | SubAbility$ DBRollDice | StackDescription$ SpellDescription | SpellDescription$ Choose up to two target permanent cards in your graveyard. Roll a d20 and add the total mana value of those cards. A:SP$ Pump | ValidTgts$ Permanent.YouCtrl | TgtZone$ Graveyard | TargetMin$ 0 | TargetMax$ 2 | SubAbility$ DBRollDice | StackDescription$ SpellDescription | SpellDescription$ Choose up to two target permanent cards in your graveyard. Roll a d20 and add the total mana value of those cards.
SVar:DBRollDice:DB$ RollDice | Defined$ You | Sides$ 20 | Modifier$ X | ResultSubAbilities$ 1-14:ToHand,Else:HandAndLife SVar:DBRollDice:DB$ RollDice | Defined$ You | Sides$ 20 | Modifier$ X | ResultSubAbilities$ 1-14:ToHand,Else:HandAndLife
SVar:ToHand:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | SpellDescription$ 1-14 VERT Return those cards to your hand. SVar:ToHand:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | SpellDescription$ 114 VERT Return those cards to your hand.
SVar:HandAndLife:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBGainLife | SpellDescription$ 15+ VERT Return those cards to your hand. You gain life equal to their total mana value. SVar:HandAndLife:DB$ ChangeZone | Defined$ Targeted | Origin$ Graveyard | Destination$ Hand | SubAbility$ DBGainLife | SpellDescription$ 15+ VERT Return those cards to your hand. You gain life equal to their total mana value.
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X
SVar:X:Targeted$CardManaCost SVar:X:Targeted$CardManaCost
DeckHas:Ability$Graveyard & Ability$LifeGain DeckHas:Ability$Graveyard & Ability$LifeGain
Oracle:Choose up to two target permanent cards in your graveyard. Roll a d20 and add the total mana value of those cards.\n1-14 | Return those cards to your hand.\n15+ | Return those cards to your hand. You gain life equal to their total mana value. Oracle:Choose up to two target permanent cards in your graveyard. Roll a d20 and add the total mana value of those cards.\n114 | Return those cards to your hand.\n15+ | Return those cards to your hand. You gain life equal to their total mana value.

View File

@@ -4,7 +4,7 @@ Types:Artifact
K:Flash K:Flash
A:AB$ Pump | Cost$ 5 T Sac<1/CARDNAME> | ValidTgts$ Creature | AITgts$ Creature.OppCtrl+toughnessLE5 | IsCurse$ True | SubAbility$ DBRollDice | StackDescription$ SpellDescription | SpellDescription$ Choose target creature, then roll a d20. A:AB$ Pump | Cost$ 5 T Sac<1/CARDNAME> | ValidTgts$ Creature | AITgts$ Creature.OppCtrl+toughnessLE5 | IsCurse$ True | SubAbility$ DBRollDice | StackDescription$ SpellDescription | SpellDescription$ Choose target creature, then roll a d20.
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBDamage,10-20:DBDamageAndTreasure SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:DBDamage,10-20:DBDamageAndTreasure
SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 5 | SpellDescription$ 1-9 VERT CARDNAME deals 5 damage to that creature. SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 5 | SpellDescription$ 19 VERT CARDNAME deals 5 damage to that creature.
SVar:DBDamageAndTreasure:DB$ DealDamage | Defined$ Targeted | NumDmg$ 5 | SubAbility$ DBTreasure | SpellDescription$ 10-20 VERT CARDNAME deals 5 damage to that creature. Create a Treasure token. SVar:DBDamageAndTreasure:DB$ DealDamage | Defined$ Targeted | NumDmg$ 5 | SubAbility$ DBTreasure | SpellDescription$ 1020 VERT CARDNAME deals 5 damage to that creature. Create a Treasure token.
SVar:DBTreasure:DB$ Token | TokenScript$ c_a_treasure_sac | TokenOwner$ You SVar:DBTreasure:DB$ Token | TokenScript$ c_a_treasure_sac | TokenOwner$ You
Oracle:Flash\n{5}, {T}, Sacrifice Spiked Pit Trap: Choose target creature, then roll a d20.\n1-9 | Spiked Pit Trap deals 5 damage to that creature.\n10-20 | Spiked Pit Trap deals 5 damage to that creature. Create a Treasure token. Oracle:Flash\n{5}, {T}, Sacrifice Spiked Pit Trap: Choose target creature, then roll a d20.\n19 | Spiked Pit Trap deals 5 damage to that creature.\n1020 | Spiked Pit Trap deals 5 damage to that creature. Create a Treasure token.

View File

@@ -4,8 +4,8 @@ Types:Creature Goblin
PT:4/3 PT:4/3
T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ When CARDNAME enters the battlefield, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Token1,10-19:Token2,20:Token3 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Token1,10-19:Token2,20:Token3 | SpellDescription$ roll a d20.
SVar:Token1:DB$ Token | TokenAmount$ 1 | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 1-9 VERT Create a 1/1 red Goblin creature token. SVar:Token1:DB$ Token | TokenAmount$ 1 | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 19 VERT Create a 1/1 red Goblin creature token.
SVar:Token2:DB$ Token | TokenAmount$ 2 | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 10-19 VERT Create two of those tokens. SVar:Token2:DB$ Token | TokenAmount$ 2 | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 1019 VERT Create two of those tokens.
SVar:Token3:DB$ Token | TokenAmount$ 3 | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 20 VERT Create three of those tokens. SVar:Token3:DB$ Token | TokenAmount$ 3 | TokenScript$ r_1_1_goblin | TokenOwner$ You | SpellDescription$ 20 VERT Create three of those tokens.
DeckHas:Ability$Token DeckHas:Ability$Token
Oracle:When Swarming Goblins enters the battlefield, roll a d20.\n1-9 | Create a 1/1 red Goblin creature token.\n10-19 | Create two of those tokens.\n20 | Create three of those tokens. Oracle:When Swarming Goblins enters the battlefield, roll a d20.\n19 | Create a 1/1 red Goblin creature token.\n1019 | Create two of those tokens.\n20 | Create three of those tokens.

View File

@@ -5,8 +5,8 @@ PT:2/3
K:Vigilance K:Vigilance
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Whenever CARDNAME attacks, ABILITY T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigRollDice | TriggerDescription$ Whenever CARDNAME attacks, ABILITY
SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Gain1,10-19:Gain2,20:Gain5 | SpellDescription$ roll a d20. SVar:TrigRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:Gain1,10-19:Gain2,20:Gain5 | SpellDescription$ roll a d20.
SVar:Gain1:DB$ GainLife | Defined$ You | LifeAmount$ 1 | SpellDescription$ 1-9 VERT You gain 1 life. SVar:Gain1:DB$ GainLife | Defined$ You | LifeAmount$ 1 | SpellDescription$ 19 VERT You gain 1 life.
SVar:Gain2:DB$ GainLife | Defined$ You | LifeAmount$ 2 | SpellDescription$ 10-19 VERT You gain 2 life. SVar:Gain2:DB$ GainLife | Defined$ You | LifeAmount$ 2 | SpellDescription$ 1019 VERT You gain 2 life.
SVar:Gain5:DB$ GainLife | Defined$ You | LifeAmount$ 5 | SpellDescription$ 20 VERT You gain 5 life. SVar:Gain5:DB$ GainLife | Defined$ You | LifeAmount$ 5 | SpellDescription$ 20 VERT You gain 5 life.
DeckHas:Ability$LifeGain DeckHas:Ability$LifeGain
Oracle:Vigilance\nWhenever Sylvan Shepherd attacks, roll a d20.\n1-9 | You gain 1 life.\n10-19 | You gain 2 life.\n20 | You gain 5 life. Oracle:Vigilance\nWhenever Sylvan Shepherd attacks, roll a d20.\n19 | You gain 1 life.\n1019 | You gain 2 life.\n20 | You gain 5 life.

View File

@@ -4,8 +4,8 @@ Types:Legendary Artifact
A:AB$ RollDice | Cost$ 2 T | Sides$ 20 | Modifier$ CardsInHand | ResultSubAbilities$ Else:DBDiscard,1-9:DBReturn,10-19:DBDrawTwo,20:DBReanimate | SpellDescription$ Roll a d20 and subtract the number of cards in your hand. If the result is 0 or less, discard your hand. A:AB$ RollDice | Cost$ 2 T | Sides$ 20 | Modifier$ CardsInHand | ResultSubAbilities$ Else:DBDiscard,1-9:DBReturn,10-19:DBDrawTwo,20:DBReanimate | SpellDescription$ Roll a d20 and subtract the number of cards in your hand. If the result is 0 or less, discard your hand.
SVar:CardsInHand:Count$InYourHand/Negative SVar:CardsInHand:Count$InYourHand/Negative
SVar:DBDiscard:DB$ Discard | Mode$ Hand SVar:DBDiscard:DB$ Discard | Mode$ Hand
SVar:DBReturn:DB$ ChangeZone | ChangeType$ Card.YouCtrl | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | AtRandom$ True | Destination$ Hand | SpellDescription$ 1-9 VERT Return a card at random from your graveyard to your hand. SVar:DBReturn:DB$ ChangeZone | ChangeType$ Card.YouCtrl | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | AtRandom$ True | Destination$ Hand | SpellDescription$ 19 VERT Return a card at random from your graveyard to your hand.
SVar:DBDrawTwo:DB$ Draw | NumCards$ 2 | SpellDescription$ 10-19 VERT Draw two cards. SVar:DBDrawTwo:DB$ Draw | NumCards$ 2 | SpellDescription$ 1019 VERT Draw two cards.
SVar:DBReanimate:DB$ ChooseCard | Choices$ Creature | ChoiceZone$ Graveyard | Amount$ 1 | SubAbility$ DBChangeZone | SpellDescription$ 20 VERT Put a creature card from any graveyard onto the battlefield under your control. When that creature dies, its owner loses the game. SVar:DBReanimate:DB$ ChooseCard | Choices$ Creature | ChoiceZone$ Graveyard | Amount$ 1 | SubAbility$ DBChangeZone | SpellDescription$ 20 VERT Put a creature card from any graveyard onto the battlefield under your control. When that creature dies, its owner loses the game.
SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ ChosenCard | GainControl$ True | RememberChanged$ True | SubAbility$ DBLoseEffect SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ ChosenCard | GainControl$ True | RememberChanged$ True | SubAbility$ DBLoseEffect
SVar:DBLoseEffect:DB$ Effect | Triggers$ TrigDie | RememberObjects$ ChosenCard | Duration$ Permanent | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup SVar:DBLoseEffect:DB$ Effect | Triggers$ TrigDie | RememberObjects$ ChosenCard | Duration$ Permanent | ExileOnMoved$ Battlefield | SubAbility$ DBCleanup
@@ -13,4 +13,4 @@ SVar:TrigDie:Mode$ ChangesZone | ValidCard$ Creature.IsRemembered | Origin$ Batt
SVar:DBLose:DB$ LosesGame | Defined$ RememberedOwner SVar:DBLose:DB$ LosesGame | Defined$ RememberedOwner
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
DeckHas:Ability$Discard & Ability$Graveyard DeckHas:Ability$Discard & Ability$Graveyard
Oracle:{2}, {T}: Roll a d20 and subtract the number of cards in your hand. If the result is 0 or less, discard your hand.\n1-9 | Return a card at random from your graveyard to your hand.\n10-19 | Draw two cards.\n20 | Put a creature card from any graveyard onto the battlefield under your control. When that creature dies, its owner loses the game. Oracle:{2}, {T}: Roll a d20 and subtract the number of cards in your hand. If the result is 0 or less, discard your hand.\n19 | Return a card at random from your graveyard to your hand.\n1019 | Draw two cards.\n20 | Put a creature card from any graveyard onto the battlefield under your control. When that creature dies, its owner loses the game.

View File

@@ -10,4 +10,4 @@ SVar:DBSacArtifact:DB$ Sacrifice | Defined$ You | SacValid$ Artifact & Creature
SVar:DBSandfallCell:DB$ RepeatEach | RepeatSubAbility$ DBLoseLife2 | RepeatPlayers$ Player | RoomName$ Sandfall Cell | SpellDescription$ Each player loses 2 life unless they sacrifice an artifact, a creature, or a land. | NextRoom$ DBCradleDeathGod SVar:DBSandfallCell:DB$ RepeatEach | RepeatSubAbility$ DBLoseLife2 | RepeatPlayers$ Player | RoomName$ Sandfall Cell | SpellDescription$ Each player loses 2 life unless they sacrifice an artifact, a creature, or a land. | NextRoom$ DBCradleDeathGod
SVar:DBLoseLife2:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ 2 | UnlessCost$ Sac<1/Artifact;Creature;Land/an artifact, a creature, or a land> | UnlessPayer$ Remembered SVar:DBLoseLife2:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ 2 | UnlessCost$ Sac<1/Artifact;Creature;Land/an artifact, a creature, or a land> | UnlessPayer$ Remembered
SVar:DBCradleDeathGod:DB$ Token | TokenScript$ the_atropal | TokenOwner$ You | RoomName$ Cradle of the Death God | SpellDescription$ Create The Atropal, a legendary 4/4 black God Horror creature token with deathtouch. SVar:DBCradleDeathGod:DB$ Token | TokenScript$ the_atropal | TokenOwner$ You | RoomName$ Cradle of the Death God | SpellDescription$ Create The Atropal, a legendary 4/4 black God Horror creature token with deathtouch.
Oracle:Trapped Entry — Each player loses 1 life. ( Veils of Fear or Oubliette)\nVeils of Fear — Each player loses 2 life unless they discard a card. ( Sandfall Cell)\nSandfall Cell — Each player loses 2 life unless they sacrifice an artifact, a creature, or a land. ( Cradle of the Death God)\nOubliette — Discard a card and sacrifice an artifact, a creature, and a land. ( Cradle of the Death God)\nCradle of the Death God — Create The Atropal, a legendary 4/4 black God Horror creature token with deathtouch. Oracle:Trapped Entry — Each player loses 1 life. (Leads to: Veils of Fear, Oubliette)\nVeils of Fear — Each player loses 2 life unless they discard a card. (Leads to: Sandfall Cell)\nSandfall Cell — Each player loses 2 life unless they sacrifice a creature, artifact, or land. (Leads to: Cradle of the Death God)\nOubliette — Discard a card and sacrifice a creature, an artifact, and a land. (Leads to: Cradle of the Death God)\nCradle of the Death God — Create The Atropal, a legendary 4/4 black God Horror creature token with deathtouch.

View File

@@ -3,13 +3,13 @@ ManaCost:3
Types:Artifact Types:Artifact
A:AB$ RollDice | Cost$ 4 Sac<1/CARDNAME> | Sides$ 20 | ResultSubAbilities$ 1:Trapped,2-9:DBToken,10-19:DBGainLife,20:DBChangeZone | SpellDescription$ Roll a d20. A:AB$ RollDice | Cost$ 4 Sac<1/CARDNAME> | Sides$ 20 | ResultSubAbilities$ 1:Trapped,2-9:DBToken,10-19:DBGainLife,20:DBChangeZone | SpellDescription$ Roll a d20.
SVar:Trapped:DB$ LoseLife | Defined$ You | LifeAmount$ 3 | SpellDescription$ 1 VERT Trapped! — You lose 3 life. SVar:Trapped:DB$ LoseLife | Defined$ You | LifeAmount$ 3 | SpellDescription$ 1 VERT Trapped! — You lose 3 life.
SVar:DBToken:DB$ Token | TokenAmount$ 5 | TokenScript$ c_a_treasure_sac | SpellDescription$ 2-9 VERT Create five Treasure tokens. SVar:DBToken:DB$ Token | TokenAmount$ 5 | TokenScript$ c_a_treasure_sac | SpellDescription$ 29 VERT Create five Treasure tokens.
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 3 | SubAbility$ DBDraw | SpellDescription$ 10-19 VERT You gain 3 life and draw three cards. SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 3 | SubAbility$ DBDraw | SpellDescription$ 1019 VERT You gain 3 life and draw three cards.
SVar:DBDraw:DB$ Draw | NumCards$ 3 SVar:DBDraw:DB$ Draw | NumCards$ 3
SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Library | ChangeType$ Card | ChangeNum$ 1 | Shuffle$ False | RememberChanged$ True | SubAbility$ DBChangeZone1 | SpellDescription$ 20 VERT Search your library for a card. If its an artifact card, you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle. SVar:DBChangeZone:DB$ ChangeZone | Origin$ Library | Destination$ Library | ChangeType$ Card | ChangeNum$ 1 | Shuffle$ False | RememberChanged$ True | SubAbility$ DBChangeZone1 | SpellDescription$ 20 VERT Search your library for a card. If it's an artifact card, you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle.
SVar:DBChangeZone1:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Battlefield | ConditionDefined$ Remembered | ConditionPresent$ Artifact | Optional$ True | ForgetChanged$ True | SubAbility$ DBChangeZone2 SVar:DBChangeZone1:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Battlefield | ConditionDefined$ Remembered | ConditionPresent$ Artifact | Optional$ True | ForgetChanged$ True | SubAbility$ DBChangeZone2
SVar:DBChangeZone2:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | SubAbility$ DBShuffle SVar:DBChangeZone2:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | SubAbility$ DBShuffle
SVar:DBShuffle:DB$ Shuffle | Defined$ You | SubAbility$ DBCleanup SVar:DBShuffle:DB$ Shuffle | Defined$ You | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
DeckHas:Ability$Token & Ability$Sacrifice & Ability$LifeGain DeckHas:Ability$Token & Ability$Sacrifice & Ability$LifeGain
Oracle:{4}, Sacrifice Treasure Chest: Roll a d20.\n1 | Trapped! — You lose 3 life.\n2-9 | Create five Treasure tokens.\n10-19 | You gain 3 life and draw three cards.\n20 | Search your library for a card. If its an artifact card, you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle. Oracle:{4}, Sacrifice Treasure Chest: Roll a d20.\n1 | Trapped! — You lose 3 life.\n29 | Create five Treasure tokens.\n1019 | You gain 3 life and draw three cards.\n20 | Search your library for a card. If it's an artifact card, you may put it onto the battlefield. Otherwise, put that card into your hand. Then shuffle.

View File

@@ -3,8 +3,8 @@ ManaCost:3 B B
Types:Sorcery Types:Sorcery
A:SP$ Sacrifice | Cost$ 3 B B | SacValid$ Creature.nonToken | Defined$ Player | RememberSacrificed$ True | SubAbility$ RollD20 | SacMessage$ nontoken creature | StackDescription$ SpellDescription | SpellDescription$ Each player sacrifices a nontoken creature. A:SP$ Sacrifice | Cost$ 3 B B | SacValid$ Creature.nonToken | Defined$ Player | RememberSacrificed$ True | SubAbility$ RollD20 | SacMessage$ nontoken creature | StackDescription$ SpellDescription | SpellDescription$ Each player sacrifices a nontoken creature.
SVar:RollD20:DB$ RollDice | Sides$ 20 | Modifier$ Y | ResultSubAbilities$ 1-14:ChooseOne,Else:ChooseTwo | StackDescription$ SpellDescription | SpellDescription$ Roll a d20 and add the toughness of the creature you sacrificed this way. SVar:RollD20:DB$ RollDice | Sides$ 20 | Modifier$ Y | ResultSubAbilities$ 1-14:ChooseOne,Else:ChooseTwo | StackDescription$ SpellDescription | SpellDescription$ Roll a d20 and add the toughness of the creature you sacrificed this way.
SVar:ChooseOne:DB$ ChangeZone | ChangeType$ Creature.IsRemembered | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBCleanup | Mandatory$ True | StackDescription$ SpellDescription | SpellDescription$ 1-14 VERT Return a creature card put into a graveyard this way to the battlefield under your control. SVar:ChooseOne:DB$ ChangeZone | ChangeType$ Creature.IsRemembered | ChangeNum$ 1 | Hidden$ True | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBCleanup | Mandatory$ True | StackDescription$ SpellDescription | SpellDescription$ 114 VERT Return a creature card put into a graveyard this way to the battlefield under your control.
SVar:ChooseTwo:DB$ ChangeZone | ChangeType$ Creature.IsRemembered | ChangeNum$ 2 | Hidden$ True | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ 15+ VERT Return up to two creature cards put into a graveyard this way to the battlefield under your control SVar:ChooseTwo:DB$ ChangeZone | ChangeType$ Creature.IsRemembered | ChangeNum$ 2 | Hidden$ True | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ 15+ VERT Return up to two creature cards put into graveyards this way to the battlefield under your control.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Y:RememberedLKI$FilterControlledBySourceController_CardToughness SVar:Y:RememberedLKI$FilterControlledBySourceController_CardToughness
Oracle:Each player sacrifices a nontoken creature. Roll a d20 and add the toughness of the creature you sacrificed this way.\n1-14 | Return a creature card put into a graveyard this way to the battlefield under your control.\n15+ | Return up to two creature cards put into a graveyard this way to the battlefield under your control Oracle:Each player sacrifices a nontoken creature. Roll a d20 and add the toughness of the creature you sacrificed this way.\n114 | Return a creature card put into a graveyard this way to the battlefield under your control.\n15+ | Return up to two creature cards put into graveyards this way to the battlefield under your control.

View File

@@ -3,9 +3,9 @@ ManaCost:5 U U
Types:Artifact Types:Artifact
A:AB$ ChangeZone | Cost$ T | SorcerySpeed$ True | Origin$ Graveyard | Destination$ Exile | Mandatory$ True | ValidTgts$ Instant,Sorcery | TgtPrompt$ Select target instant or sorcery card in a graveyard | RememberChanged$ True | Imprint$ True | SubAbility$ DBRollDice | SpellDescription$ Exile target instant or sorcery card from a graveyard. Roll a d20. Activate only as a sorcery. A:AB$ ChangeZone | Cost$ T | SorcerySpeed$ True | Origin$ Graveyard | Destination$ Exile | Mandatory$ True | ValidTgts$ Instant,Sorcery | TgtPrompt$ Select target instant or sorcery card in a graveyard | RememberChanged$ True | Imprint$ True | SubAbility$ DBRollDice | SpellDescription$ Exile target instant or sorcery card from a graveyard. Roll a d20. Activate only as a sorcery.
SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:PlayCopy,10-19:PlayCost1,20:PlayAny SVar:DBRollDice:DB$ RollDice | Sides$ 20 | ResultSubAbilities$ 1-9:PlayCopy,10-19:PlayCost1,20:PlayAny
SVar:PlayCopy:DB$ Play | Valid$ Card.IsRemembered+ExiledWithSource | ValidSA$ Spell | ValidZone$ Exile | Amount$ All | CopyCard$ True | Optional$ True | SubAbility$ DBCleanup | SpellDescription$ 1-9 VERT Copy that card. You may cast the copy. SVar:PlayCopy:DB$ Play | Valid$ Card.IsRemembered+ExiledWithSource | ValidSA$ Spell | ValidZone$ Exile | Amount$ All | CopyCard$ True | Optional$ True | SubAbility$ DBCleanup | SpellDescription$ 19 VERT Copy that card. You may cast the copy.
SVar:PlayCost1:DB$ Play | Valid$ Card.IsRemembered+ExiledWithSource | ValidSA$ Spell | ValidZone$ Exile | Amount$ All | CopyCard$ True | Optional$ True | PlayCost$ 1 | SubAbility$ DBCleanup | SpellDescription$ 10-19 VERT Copy that card. You may cast the copy by paying {1} rather than paying its mana cost. SVar:PlayCost1:DB$ Play | Valid$ Card.IsRemembered+ExiledWithSource | ValidSA$ Spell | ValidZone$ Exile | Amount$ All | CopyCard$ True | Optional$ True | PlayCost$ 1 | SubAbility$ DBCleanup | SpellDescription$ 1019 VERT Copy that card. You may cast the copy by paying {1} rather than paying its mana cost.
SVar:PlayAny:DB$ Play | Valid$ Card.IsImprinted+ExiledWithSource | ValidSA$ Spell | ValidZone$ Exile | Amount$ All | CopyCard$ True | Optional$ True | WithoutManaCost$ True | SubAbility$ DBCleanup | SpellDescription$ 20 VERT Copy each card exiled with Wizard's Spellbook. You may cast any number of the copies without paying their mana costs. SVar:PlayAny:DB$ Play | Valid$ Card.IsImprinted+ExiledWithSource | ValidSA$ Spell | ValidZone$ Exile | Amount$ All | CopyCard$ True | Optional$ True | WithoutManaCost$ True | SubAbility$ DBCleanup | SpellDescription$ 20 VERT Copy each card exiled with Wizard's Spellbook. You may cast any number of the copies without paying their mana costs.
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
DeckHas:Ability$Graveyard DeckHas:Ability$Graveyard
Oracle:{T}: Exile target instant or sorcery card from a graveyard. Roll a d20. Activate only as a sorcery.\n1-9 | Copy that card. You may cast the copy.\n10-19 | Copy that card. You may cast the copy by paying {1} rather than paying its mana cost.\n20 | Copy each card exiled with Wizard's Spellbook. You may cast any number of the copies without paying their mana costs. Oracle:{T}: Exile target instant or sorcery card from a graveyard. Roll a d20. Activate only as a sorcery.\n19 | Copy that card. You may cast the copy.\n1019 | Copy that card. You may cast the copy by paying {1} rather than paying its mana cost.\n20 | Copy each card exiled with Wizard's Spellbook. You may cast any number of the copies without paying their mana costs.

View File

@@ -34,7 +34,7 @@ def load_oracle_cards():
oracle_json = json.load(oracle_file) oracle_json = json.load(oracle_file)
oracle_cards = {} oracle_cards = {}
for card in oracle_json: for card in oracle_json:
if (card['layout'] == 'token'): if (card['layout'] == 'token' and card['type_line'] != 'Dungeon'):
continue continue
name = unidecode.unidecode(card['name']) name = unidecode.unidecode(card['name'])
oracle_cards[name] = card oracle_cards[name] = card
@@ -102,6 +102,8 @@ def write_card_script(cardfile, lines, oracle_texts):
def update_oracle(name, lines, oracle_text, new_oracle, type_line, alternate_line): def update_oracle(name, lines, oracle_text, new_oracle, type_line, alternate_line):
updated = False updated = False
# Update type line first # Update type line first
type_line = type_line.replace('Summon', 'Creature')
type_line = type_line.replace('', "'")
for i, line in enumerate(lines): for i, line in enumerate(lines):
if i <= alternate_line: if i <= alternate_line:
continue continue
@@ -131,6 +133,7 @@ def update_oracle(name, lines, oracle_text, new_oracle, type_line, alternate_lin
for org_line, new_line in zip(oracle_lines, new_lines): for org_line, new_line in zip(oracle_lines, new_lines):
org_line = org_line.replace(name, 'CARDNAME') org_line = org_line.replace(name, 'CARDNAME')
org_line = org_line.replace(nickname, 'NICKNAME') org_line = org_line.replace(nickname, 'NICKNAME')
org_line = org_line.replace('|', 'VERT')
if org_line.find(':') != -1: if org_line.find(':') != -1:
if org_line.find('"') == -1 or org_line.find('"') > org_line.find(':'): if org_line.find('"') == -1 or org_line.find('"') > org_line.find(':'):
org_line = org_line[org_line.find(':') + 1:].lstrip() org_line = org_line[org_line.find(':') + 1:].lstrip()
@@ -140,6 +143,7 @@ def update_oracle(name, lines, oracle_text, new_oracle, type_line, alternate_lin
continue continue
new_line = new_line.replace(name, 'CARDNAME') new_line = new_line.replace(name, 'CARDNAME')
new_line = new_line.replace(nickname, 'NICKNAME') new_line = new_line.replace(nickname, 'NICKNAME')
new_line = new_line.replace('|', 'VERT')
if new_line.find(':') != -1: if new_line.find(':') != -1:
if new_line.find('"') == -1 or new_line.find('"') > new_line.find(':'): if new_line.find('"') == -1 or new_line.find('"') > new_line.find(':'):
new_line = new_line[new_line.find(':') + 1:].lstrip() new_line = new_line[new_line.find(':') + 1:].lstrip()