From 2c999008d51915a3180c19f89176e4f628206e23 Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Thu, 27 Jun 2019 06:28:00 +0100 Subject: [PATCH 1/3] Fixed omnath's duplicate Svars --- .../res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt b/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt index 5b56026b0c2..ef26699ad13 100644 --- a/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt +++ b/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt @@ -7,6 +7,6 @@ SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPr SVar:X:Count$Valid Elemental.YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Elemental.YouCtrl | TgtPrompt$ Select target Elemental you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ X | ConditionSVarCompare$ GE8 | References$ X -SVar:X:Count$Valid Land.YouCtrl +SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE8 | References$ Y +SVar:Y:Count$Valid Land.YouCtrl Oracle:When Omnath, Locus of the Roil enters the battlefield, it deals damage to any target equal to the number of Elementals you control.\nWhenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card. From 75fb9a6e9e22f2b11638b9e4252171b403e9c4da Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Thu, 27 Jun 2019 06:30:04 +0100 Subject: [PATCH 2/3] Switched omnath to use ispresent --- .../res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt b/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt index ef26699ad13..8b2e2227092 100644 --- a/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt +++ b/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt @@ -7,6 +7,5 @@ SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPr SVar:X:Count$Valid Elemental.YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Elemental.YouCtrl | TgtPrompt$ Select target Elemental you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE8 | References$ Y -SVar:Y:Count$Valid Land.YouCtrl +SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | IsPresent$ Land.YouCtrl | PresentCompare$ GE8 Oracle:When Omnath, Locus of the Roil enters the battlefield, it deals damage to any target equal to the number of Elementals you control.\nWhenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card. From 6694d58cd8da35385976c167f86c92ec2721fdb6 Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Thu, 27 Jun 2019 06:32:50 +0100 Subject: [PATCH 3/3] Switched omnath to use conditionpresent --- forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt b/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt index 8b2e2227092..d25390eee27 100644 --- a/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt +++ b/forge-gui/res/cardsfolder/upcoming/omnath_locus_of_the_roil.txt @@ -7,5 +7,5 @@ SVar:TrigDamage:DB$ DealDamage | ValidTgts$ Creature,Player,Planeswalker | TgtPr SVar:X:Count$Valid Elemental.YouCtrl T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ Whenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card. SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Elemental.YouCtrl | TgtPrompt$ Select target Elemental you control | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBDraw -SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | IsPresent$ Land.YouCtrl | PresentCompare$ GE8 +SVar:DBDraw:DB$ Draw | NumCards$ 1 | Defined$ You | ConditionPresent$ Land.YouCtrl | ConditionCompare$ GE8 Oracle:When Omnath, Locus of the Roil enters the battlefield, it deals damage to any target equal to the number of Elementals you control.\nWhenever a land enters the battlefield under your control, put a +1/+1 counter on target Elemental you control. If you control eight or more lands, draw a card.