mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Quantum Riddler (EOE) (#8047)
This commit is contained in:
@@ -67,5 +67,6 @@ public class ReplaceDrawCards extends ReplacementEffect {
|
|||||||
@Override
|
@Override
|
||||||
public void setReplacingObjects(Map<AbilityKey, Object> runParams, SpellAbility sa) {
|
public void setReplacingObjects(Map<AbilityKey, Object> runParams, SpellAbility sa) {
|
||||||
sa.setReplacingObject(AbilityKey.Player, runParams.get(AbilityKey.Affected));
|
sa.setReplacingObject(AbilityKey.Player, runParams.get(AbilityKey.Affected));
|
||||||
|
sa.setReplacingObject(AbilityKey.Number, runParams.get(AbilityKey.Number));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
12
forge-gui/res/cardsfolder/upcoming/quantum_riddler.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/quantum_riddler.txt
Normal file
@@ -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}
|
||||||
Reference in New Issue
Block a user