Skip to content

Commit

Permalink
MKM: Krenko, Baron of Tin Street + 5 cards (#4559)
Browse files Browse the repository at this point in the history
MKM: Add card scripts for 6 new MKM cards:

- Archdruid's Charm
- Krenko, Baron of Tin Street
- No Witnesses
- Pick Your Poison
- Proft's Eidetic Memory
- Trostani, Three Whispers
  • Loading branch information
MikeS-NZ authored Jan 20, 2024
1 parent 2bf3584 commit 2199211
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 0 deletions.
14 changes: 14 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/archdruids_charm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Name:Archdruid's Charm
ManaCost:G G G
Types:Instant
A:SP$ Charm | Cost$ G G G | Choices$ DBTutor,DBPutCounter,DBAntiquate
SVar:DBTutor:DB$ ChangeZone | Origin$ Library | Destination$ Library | ChangeType$ Creature,Land | ChangeNum$ 1 | Reveal$ True | Shuffle$ False | RememberChanged$ True | SubAbility$ DBChangeZone | SpellDescription$ Search your library for a creature or land card and reveal it. Put it into the battlefield tapped if it's a land card. Otherwise, put it into your hand. Then shuffle.
SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Battlefield | Tapped$ True | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ForgetChanged$ True | SubAbility$ DBChangeZone2
SVar:DBChangeZone2:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | SubAbility$ DBShuffle
SVar:DBShuffle:DB$ Shuffle | Defined$ You | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | CounterType$ P1P1 | TgtPrompt$ Select target creature you control | SubAbility$ DBDamage | AILogic$ PowerDmg | StackDescription$ Put a +1/+1 counter on {c:ThisTargetedCard}. | SpellDescription$ Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature you don't control.
SVar:DBDamage:DB$ DealDamage | ValidTgts$ Creature.YouDontCtrl | TgtPrompt$ Select target creature you don't control | NumDmg$ X | DamageSource$ ParentTarget | AILogic$ PowerDmg | StackDescription$ Then {c:ParentTarget} deals damage equal to its power to {c:ThisTargetedCard}.
SVar:X:ParentTargeted$CardPower
SVar:DBAntiquate:DB$ ChangeZone | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target artifact or enchantment.
Oracle:Choose one —\n• Search your library for a creature or land card and reveal it. Put it into the battlefield tapped if it's a land card. Otherwise, put it into your hand. Then shuffle.\n• Put a +1/+1 counter on target creature you control. Then that creature deals damage equal to its power to target creature you don't control.\n• Exile target artifact or enchantment.
11 changes: 11 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/krenko_baron_of_tin_street.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Name:Krenko, Baron of Tin Street
ManaCost:2 R
Types:Legendary Creature Goblin
PT:3/3
K:Haste
A:AB$ PutCounterAll | Cost$ T Sac<1/Artifact/an artifact> | ValidCards$ Goblin.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on each Goblin you control.
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Artifact | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Whenever an artifact is put into a graveyard from the battlefield, you may pay {R}. If you do, create a 1/1 red Goblin creature token. It gains haste until end of turn.
SVar:TrigToken:AB$ Token | Cost$ R | TokenScript$ r_1_1_goblin | PumpKeywords$ Haste | PumpDuration$ EOT
DeckHas:Ability$Token & Type$Goblin|Artifact
SVar:PlayMain1:TRUE
Oracle:Haste\n{T}, Sacrifice an artifact: Put a +1/+1 counter on each Goblin you control.\nWhenever an artifact is put into a graveyard from the battlefield, you may pay {R}. If you do, create a 1/1 red Goblin creature token. It gains haste until end of turn.
7 changes: 7 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/no_witnesses.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Name:No Witnesses
ManaCost:2 W W
Types:Sorcery
A:SP$ Investigate | Num$ 1 | Defined$ Player.withMostTypeCreature | SubAbility$ DBDestroyAll | SpellDescription$ Each player who controls the most creatures investigates. Then destroy all creatures. (To investigate, create a Clue token. It's an artifact with "{2}, Sacrifice this artifact: Draw a card.")
SVar:DBDestroyAll:DB$ DestroyAll | ValidCards$ Creature
AI:RemoveDeck:Random
Oracle:Each player who controls the most creatures investigates. Then destroy all creatures. (To investigate, create a Clue token. It's an artifact with "{2}, Sacrifice this artifact: Draw a card.")
9 changes: 9 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/pick_your_poison.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Name:Pick Your Poison
ManaCost:G
Types:Sorcery
A:SP$ Charm | Choices$ SacArtifact,SacEnchantment,SacFlier | CharmNum$ 1
SVar:SacArtifact:DB$ Sacrifice | Defined$ Opponent | SacValid$ Artifact | Amount$ 1 | SpellDescription$ Each opponent sacrifices an artifact.
SVar:SacEnchantment:DB$ Sacrifice | Defined$ Opponent | SacValid$ Enchantment | Amount$ 1 | SpellDescription$ Each opponent sacrifices an enchantment.
SVar:SacFlier:DB$ Sacrifice | Defined$ Opponent | SacValid$ Creature.withFlying | SacMessage$ creature with flying | Amount$ 1 | SpellDescription$ Each opponent sacrifices a creature with flying.
DeckHas:Ability$Sacrifice
Oracle:Choose one —\n• Each opponent sacrifices an artifact.\n• Each opponent sacrifices an enchantment.\n• Each opponent sacrifices a creature with flying.
13 changes: 13 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/profts_eidetic_memory.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Name:Proft's Eidetic Memory
ManaCost:1 U
Types:Legendary Enchantment
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card.
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size.
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | CheckSVar$ X | SVarCompare$ GT1 | Execute$ TrigPutCounters | TriggerDescription$ At the beginning of combat on your turn, if you've drawn more than one card this turn, put X +1/+1 counters on target creature you control, where X is the number of cards you've drawn this turn minus one.
SVar:TrigPutCounters:DB$ PutCounter | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | CounterType$ P1P1 | CounterNum$ Y
SVar:X:Count$YouDrewThisTurn
SVar:Y:SVar$X/Minus.1
DeckHas:Ability$Counters
SVar:PlayMain1:TRUE
Oracle:When Proft's Eidetic Memory enters the battlefield, draw a card.\nYou have no maximum hand size.\nAt the beginning of combat on your turn, if you've drawn more than one card this turn, put X +1/+1 counters on target creature you control, where X is the number of cards you've drawn this turn minus one.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Name:Trostani, Three Whispers
ManaCost:G GW W
Types:Legendary Creature Dryad
PT:4/4
A:AB$ Pump | Cost$ 1 G | ValidTgts$ Creature | TgtPrompt$ Select target creature to gain deathtouch | KW$ Deathtouch | SpellDescription$ Target creature gains deathtouch until end of turn.
A:AB$ Pump | Cost$ GW | ValidTgts$ Creature | TgtPrompt$ Select target creature to gain vigilance | KW$ Vigilance | SpellDescription$ Target creature gains vigilance until end of turn.
A:AB$ Pump | Cost$ 2 W | ValidTgts$ Creature | TgtPrompt$ Select target creature to gain double strike | KW$ Double Strike | SpellDescription$ Target creature gains double strike until end of turn.
SVar:PlayMain1:TRUE
Oracle:{1}{G}: Target creature gains deathtouch until end of turn.\n{G/W}: Target creature gains vigilance until end of turn.\n{2}{W}: Target creature gains double strike until end of turn.

0 comments on commit 2199211

Please sign in to comment.