Fix Yennett draw

This commit is contained in:
tehdiplomat
2018-08-17 07:50:16 -04:00
parent 4a95685436
commit 1ae10cb5ca

View File

@@ -7,8 +7,8 @@ K:Vigilance
K:Menace
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigReveal | TriggerDescription$ Whenever Yennett, Cryptic Sovereign attacks, reveal the top card of your library. If that card's converted mana cost is odd, you may cast it without paying its mana cost. Otherwise, draw a card.
SVar:TrigReveal:DB$ PeekAndReveal | PeekAmount$ 1 | RevealValid$ Card | RememberRevealed$ True | SubAbility$ DBMayCast
SVar:DBMayCast:DB$ Play | Defined$ Remembered | WithoutManaCost$ True | Optional$ True | ConditionDefined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ M21 | References$ X | SubAbility$ DBDraw
SVar:DBDraw:DB$ Play | ConditionDefined$ Remembered | SubAbility$ DBCleanup
SVar:DBMayCast:DB$ Play | Defined$ Remembered | ForgetRemembered$ True | WithoutManaCost$ True | Optional$ True | ConditionDefined$ Remembered | ConditionCheckSVar$ X | ConditionSVarCompare$ M21 | References$ X | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | ConditionDefined$ Remembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardManaCost
Oracle:Flying,vigilance,menace\nWhenever Yennett, Cryptic Sovereign attacks, reveal the top card of your library. If that card's converted mana cost is odd, you may cast it without paying its mana cost. Otherwise, draw a card.