From c30505ad8d0f8ecd671fad18faef57e86f087c52 Mon Sep 17 00:00:00 2001 From: schnautzr Date: Mon, 17 Jun 2019 13:32:40 -0500 Subject: [PATCH] cavalier of flame, ajani strength of pride. note that ajani's third ability needs work yet to prevent graying out when the condition is false, but this would rarely if ever be a problem --- .../upcoming/ajani_strength_of_the_pride.txt | 11 ++++++++++- .../res/cardsfolder/upcoming/cavalier_of_flame.txt | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/ajani_strength_of_the_pride.txt b/forge-gui/res/cardsfolder/upcoming/ajani_strength_of_the_pride.txt index 99a470e12a2..92520b8e7d9 100644 --- a/forge-gui/res/cardsfolder/upcoming/ajani_strength_of_the_pride.txt +++ b/forge-gui/res/cardsfolder/upcoming/ajani_strength_of_the_pride.txt @@ -1,5 +1,14 @@ Name:Ajani, Strength of the Pride ManaCost:2 W W Types:Legendary Planeswalker Ajani +A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | LifeAmount$ NumCreatures | References$ NumCreatures,NumPlaneswalkers | SpellDescription$ You gain life equal to the number of creatures you control plus the number of planeswalkers you control. +SVar:NumCreatures:Count$Valid Creature.YouCtrl/Plus.NumPlaneswalkers +SVar:NumPlaneswalkers:Count$Valid Planeswalker.YouCtrl +A:AB$ Token | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | TokenScript$ ajanis_pridemate | LegacyImage$ ajanis pridemate m20 | SpellDescription$ Create a 2/2 white Cat Soldier creature token named Ajani's Pridemate with "Whenever you gain life, put a +1/+1 counter on Ajani's Pridemate." +DeckHas:Ability$Token +A:AB$ ChangeZone | Cost$ SubCounter<0/LOYALTY> | CheckSVar$ CurLife | SVarCompare$ GEInitLife | References$ CurLife,InitLife | Planeswalker$ True | Ultimate$ True | Defined$ Self | Origin$ Battlefield | Destination$ Exile | SubAbility$ ExileOppCreatures | SpellDescription$ If you have at least 15 life more than your starting life total, exile CARDNAME and each artifact and creature your opponents control. +SVar:ExileOppCreatures:DB$ ChangeZoneAll | Origin$ Battlefield | Destination$ Exile | ChangeType$ Creature.OppCtrl, Artifact.OppCtrl +SVar:CurLife:Count$YourLifeTotal +SVar:InitLife:Count$YourStartingLife/Plus.15 Oracle:[+1]: You gain life equal to the number of creatures you control plus the number of planeswalkers you control.\n[-2]: Create a 2/2 white Cat Soldier creature token named Ajani's Pridemate with "Whenever you gain life, put a +1/+1 counter on Ajani's Pridemate."\n[0]: If you have at least 15 life or more than your starting life total, exile Ajani, Strength of the Pride and each artifact and creature your opponents control. -Loyalty:5 +Loyalty:5 \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/cavalier_of_flame.txt b/forge-gui/res/cardsfolder/upcoming/cavalier_of_flame.txt index 873f7e72967..f1d38ef1b5d 100644 --- a/forge-gui/res/cardsfolder/upcoming/cavalier_of_flame.txt +++ b/forge-gui/res/cardsfolder/upcoming/cavalier_of_flame.txt @@ -1,5 +1,14 @@ Name:Cavalier of Flame ManaCost:2 R R R Types:Creature Elemental Knight +A:AB$ PumpAll | Cost$ 1 R | ValidCards$ Creature.YouCtrl | NumAtt$ +1 | KW$ Haste | SpellDescription$ Creatures you control get +1/+0 and gain haste until end of turn. +T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, discard any number of cards, then draw that many cards. +SVar:TrigDiscard:DB$ Discard | Cost$ 3 R | AnyNumber$ True | Optional$ True | Mode$ TgtChoose | RememberDiscarded$ True | SubAbility$ DBDraw | SpellDescription$ Discard any number of cards, then draw that many cards. +SVar:DBDraw:DB$Draw | Defined$ You | NumCards$ Y | References$ Y | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:Y:Remembered$Amount +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDamageAll | OptionalDecider$ You | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. +SVar:TrigDamageAll:DB$ DamageAll | ValidPlayers$ Player.Opponent | ValidCards$ Planeswalker.OppCtrl | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. +SVar:X:Count$TypeInYourYard.Land Oracle:{1}{R}: Creatures you control get +1/+0 and gain haste until end of turn.\nWhen Cavalier of Flame enters the battlefield, discard any number of cards, then draw that many cards.\nWhen Cavalier of Flame dies, it deals X damage to each opponent and each planeswalker they control, where X is the number of land cards in your graveyard. -PT:6/5 +PT:6/5 \ No newline at end of file