From c1727ffb3fc31f9bc579eb88f7c05d8ed3c2d540 Mon Sep 17 00:00:00 2001 From: Fulgur14 <54345051+Fulgur14@users.noreply.github.com> Date: Tue, 15 Jul 2025 13:58:55 +0200 Subject: [PATCH] Quantum Riddler (EOE) (#8047) --- .../forge/game/replacement/ReplaceDrawCards.java | 1 + .../res/cardsfolder/upcoming/quantum_riddler.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/quantum_riddler.txt diff --git a/forge-game/src/main/java/forge/game/replacement/ReplaceDrawCards.java b/forge-game/src/main/java/forge/game/replacement/ReplaceDrawCards.java index e858590a09d..c407eed21a9 100644 --- a/forge-game/src/main/java/forge/game/replacement/ReplaceDrawCards.java +++ b/forge-game/src/main/java/forge/game/replacement/ReplaceDrawCards.java @@ -67,5 +67,6 @@ public class ReplaceDrawCards extends ReplacementEffect { @Override public void setReplacingObjects(Map runParams, SpellAbility sa) { sa.setReplacingObject(AbilityKey.Player, runParams.get(AbilityKey.Affected)); + sa.setReplacingObject(AbilityKey.Number, runParams.get(AbilityKey.Number)); } } diff --git a/forge-gui/res/cardsfolder/upcoming/quantum_riddler.txt b/forge-gui/res/cardsfolder/upcoming/quantum_riddler.txt new file mode 100644 index 00000000000..de6ae042222 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/quantum_riddler.txt @@ -0,0 +1,12 @@ +Name:Quantum Riddler +ManaCost:3 U U +Types:Creature Sphinx +PT:4/6 +K:Flying +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When this creature enters, draw a card. +SVar:TrigDraw:DB$ Draw +R:Event$ DrawCards | ActiveZones$ Battlefield | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ LE1 | ReplaceWith$ DrawPlusOne | Description$ As long as you have one or fewer cards in hand, if you would draw one or more cards, you draw that many cards plus one instead. +SVar:DrawPlusOne:DB$ Draw | NumCards$ ReplaceCount$Number/Plus.1 +SVar:X:Count$ValidHand Card.YouOwn +K:Warp:1 U +Oracle:Flying\nWhen this creature enters, draw a card.\nAs long as you have one or fewer cards in hand, if you would draw one or more cards, you draw that many cards plus one instead.\nWarp {1}{U}