From 05d041c6e96d4c1dd7c079a728ed05cf8a5cfe7c Mon Sep 17 00:00:00 2001 From: Renato Santos Date: Sat, 5 Feb 2022 10:48:39 +0000 Subject: [PATCH 1/4] New tested card scripts --- forge-gui/res/cardsfolder/upcoming/dragonfly_suit.txt | 7 +++++++ .../res/cardsfolder/upcoming/golden_tail_disciple.txt | 6 ++++++ forge-gui/res/cardsfolder/upcoming/imperial_oath.txt | 6 ++++++ .../cardsfolder/upcoming/imperial_recovery_unit.txt | 8 ++++++++ .../cardsfolder/upcoming/risona_asari_commander.txt | 11 +++++++++++ .../res/cardsfolder/upcoming/sky_blessed_samurai.txt | 9 +++++++++ .../cardsfolder/upcoming/touch_the_spirit_realm.txt | 10 ++++++++++ .../res/cardsfolder/upcoming/when_we_were_young.txt | 9 +++++++++ 8 files changed, 66 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/dragonfly_suit.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/imperial_oath.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/sky_blessed_samurai.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt diff --git a/forge-gui/res/cardsfolder/upcoming/dragonfly_suit.txt b/forge-gui/res/cardsfolder/upcoming/dragonfly_suit.txt new file mode 100644 index 00000000000..e4023fc63d4 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/dragonfly_suit.txt @@ -0,0 +1,7 @@ +Name:Dragonfly Suit +ManaCost:2 W +Types:Artifact Vehicle +PT:3/2 +K:Flying +K:Crew:1 +Oracle:Flying\nCrew 1 diff --git a/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt b/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt new file mode 100644 index 00000000000..fe6b1f3782f --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt @@ -0,0 +1,6 @@ +Name:Golden-Tail Disciple +ManaCost:2 W +Types:Enchantment Creature Fox Monk +PT:2/3 +K:Lifelink +Oracle:Lifelink diff --git a/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt b/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt new file mode 100644 index 00000000000..0305ed5c5a2 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt @@ -0,0 +1,6 @@ +Name:Imperial Oath +ManaCost:5 W +Types:Sorcery +A:SP$ Token | TokenAmount$ 3 | TokenScript$ w_2_2_samurai_vigilance | SubAbility$ DBScry | SpellDescription$ Create three 2/2 white Samurai tokens with vigilance. Scry 3. | StackDescription$ {p:You} creates three 2/2 white Samurai tokens with vigilance. +SVar:DBScry:DB$ Scry | ScryNum$ 3 | StackDescription$ {p:You} scries 3. +Oracle:Create three 2/2 white Samurai tokens with vigilance. Scry 3. diff --git a/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt b/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt new file mode 100644 index 00000000000..7187d8de94f --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt @@ -0,0 +1,8 @@ +Name:Imperial Recovery Unit +ManaCost:2 W +Types:Artifact Vehicle +PT:3/4 +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBChangeZone | TriggerDescription$ Whenever CARDNAME attacks, return target creature or Vehicle card with mana value 2 or less from your graveyard to your hand. +SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.YouOwn+cmcLE2,Vehicle.YouOwn+cmcLE2 | TgtPrompt$ Choose a creature or Vehicle card with mana value 2 or less +K:Crew:2 +Oracle:Whenever Imperial Recovery Unit attacks, return target creature or Vehicle card with mana value 2 or less from your graveyard to your hand.\nCrew 2 diff --git a/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt b/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt new file mode 100644 index 00000000000..bfaa373e5c7 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt @@ -0,0 +1,11 @@ +Name:Risona, Asari Commander +Nickname:Risona +ManaCost:1 R W +Types:Legendary Creature Human Samurai +PT:3/3 +K:Haste +T:Mode$ DamageDone | ValidSource$ Card.Self+counters_LE0_Indestructible | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, if it doesn't have an indestructible counter on it, put an indestructible counter on it. +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ Indestructible | CounterNum$ 1 +T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigRemCounter | TriggerDescription$ Whenever combat damage is dealt to you, remove an indestructible counter from CARDNAME. +SVar:TrigRemCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ Indestructible | CounterNum$ 1 +Oracle:Haste\nWhenever Risona, Asari Commander deals combat damage to a player, if it doesn't have an indestructible counter on it, put an indestructible counter on it.\nWhenever combat damage is dealt to you, remove an indestructible counter from Risona. diff --git a/forge-gui/res/cardsfolder/upcoming/sky_blessed_samurai.txt b/forge-gui/res/cardsfolder/upcoming/sky_blessed_samurai.txt new file mode 100644 index 00000000000..b01ae7f3e49 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/sky_blessed_samurai.txt @@ -0,0 +1,9 @@ +Name:Sky-Blessed Samurai +ManaCost:6 W +Types:Enchantment Creature Human Samurai +PT:4/4 +S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Description$ This spell costs {1} less to cast for each enchantment you control. +SVar:X:Count$Valid Enchantment.YouCtrl +K:Flying +DeckHints:Type$Enchantment +Oracle:This spell costs {1} less to cast for each enchantment you control.\nFlying diff --git a/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt b/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt new file mode 100644 index 00000000000..50582963058 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt @@ -0,0 +1,10 @@ +Name:Touch the Spirit Realm +ManaCost:2 W +Types:Enchantment +T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, exile up to one target artifact or creature until CARDNAME leaves the battlefield. +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature,Artifact | TgtPrompt$ Select up to one target artifact or creature | TargetMin$ 0 | TargetMax$ 1 | Duration$ UntilHostLeavesPlay +A:AB$ ChangeZone | PrecostDesc$ Channel — | Cost$ 1 W Discard<1/CARDNAME> | ActivationZone$ Hand | ValidTgts$ Creature,Artifact | Origin$ Battlefield | Destination$ Exile | TgtPrompt$ Select target artifact or creature | SubAbility$ DelTrig | RememberChanged$ True | SpellDescription$ Exile target artifact or creature. Return it to the battlefield under its owner’s control at the beginning of the next end step +SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturn | RememberObjects$ RememberedLKI | TriggerDescription$ Return exiled permanent to the battlefield. | SubAbility$ DBCleanup +SVar:TrigReturn:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Defined$ DelayTriggerRememberedLKI +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +Oracle:When Touch the Spirit Realm enters the battlefield, exile up to one target artifact or creature until Touch the Spirit Realm leaves the battlefield.\nChannel — {1}{W}, Discard Touch the Spirit Realm: Exile target artifact or creature. Return it to the battlefield under its owner’s control at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt b/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt new file mode 100644 index 00000000000..9c334972a69 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt @@ -0,0 +1,9 @@ +Name:When We Were Young +ManaCost:3 W +Types:Instant +A:SP$ Pump | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 2 | TgtPrompt$ Select target creatures | NumAtt$ +2 | NumDef$ +2 | SubAbility$ DBPump | SpellDescription$ Up to two target creatures each get +2/+2 until end of turn. If you control an artifact and an enchantment, those creatures also gain lifelink until end of turn. +SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Lifelink | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 +SVar:Y:Count$Valid Artifact.YouCtrl/LimitMax.1 +SVar:Z:Count$Valid Enchantment.YouCtrl/LimitMax.1 +SVar:X:SVar$Y/Plus.Z +Oracle:Up to two target creatures each get +2/+2 until end of turn. If you control an artifact and an enchantment, those creatures also gain lifelink until end of turn. From f05b3cb118408f118bfa002d5020e10079566bfe Mon Sep 17 00:00:00 2001 From: Renato Santos Date: Sat, 5 Feb 2022 18:01:41 +0000 Subject: [PATCH 2/4] Requested corrections --- forge-gui/res/cardsfolder/upcoming/imperial_oath.txt | 1 + .../res/cardsfolder/upcoming/risona_asari_commander.txt | 6 +++--- forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt b/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt index 0305ed5c5a2..ef0146cd7e4 100644 --- a/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt +++ b/forge-gui/res/cardsfolder/upcoming/imperial_oath.txt @@ -3,4 +3,5 @@ ManaCost:5 W Types:Sorcery A:SP$ Token | TokenAmount$ 3 | TokenScript$ w_2_2_samurai_vigilance | SubAbility$ DBScry | SpellDescription$ Create three 2/2 white Samurai tokens with vigilance. Scry 3. | StackDescription$ {p:You} creates three 2/2 white Samurai tokens with vigilance. SVar:DBScry:DB$ Scry | ScryNum$ 3 | StackDescription$ {p:You} scries 3. +DeckHas:Ability$Token Oracle:Create three 2/2 white Samurai tokens with vigilance. Scry 3. diff --git a/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt b/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt index bfaa373e5c7..149dd84c5dc 100644 --- a/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt +++ b/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt @@ -4,8 +4,8 @@ ManaCost:1 R W Types:Legendary Creature Human Samurai PT:3/3 K:Haste -T:Mode$ DamageDone | ValidSource$ Card.Self+counters_LE0_Indestructible | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, if it doesn't have an indestructible counter on it, put an indestructible counter on it. -SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ Indestructible | CounterNum$ 1 -T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigRemCounter | TriggerDescription$ Whenever combat damage is dealt to you, remove an indestructible counter from CARDNAME. +T:Mode$ DamageDone | ValidSource$ Card.Self+counters_EQ0_Indestructible | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, if it doesn't have an indestructible counter on it, put an indestructible counter on it. +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | ConditionPresent$ Card.Self+counters_EQ0_Indestructible | CounterType$ Indestructible | CounterNum$ 1 +T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigRemCounter | TriggerDescription$ Whenever combat damage is dealt to you, remove an indestructible counter from NICKNAME. SVar:TrigRemCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ Indestructible | CounterNum$ 1 Oracle:Haste\nWhenever Risona, Asari Commander deals combat damage to a player, if it doesn't have an indestructible counter on it, put an indestructible counter on it.\nWhenever combat damage is dealt to you, remove an indestructible counter from Risona. diff --git a/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt b/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt index 9c334972a69..a2da558b2fd 100644 --- a/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt +++ b/forge-gui/res/cardsfolder/upcoming/when_we_were_young.txt @@ -6,4 +6,6 @@ SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ Lifelink | ConditionCheckSVar$ X SVar:Y:Count$Valid Artifact.YouCtrl/LimitMax.1 SVar:Z:Count$Valid Enchantment.YouCtrl/LimitMax.1 SVar:X:SVar$Y/Plus.Z +DeckHas:Ability$LifeGain +DeckHints:Type$Artifact|Enchantment Oracle:Up to two target creatures each get +2/+2 until end of turn. If you control an artifact and an enchantment, those creatures also gain lifelink until end of turn. From ffb55c606fa523691a6aff57a5f00f6930894ac3 Mon Sep 17 00:00:00 2001 From: Renato Santos Date: Sat, 5 Feb 2022 18:32:12 +0000 Subject: [PATCH 3/4] Requested correction --- forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt b/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt index fe6b1f3782f..bddf7fccb1f 100644 --- a/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt +++ b/forge-gui/res/cardsfolder/upcoming/golden_tail_disciple.txt @@ -3,4 +3,5 @@ ManaCost:2 W Types:Enchantment Creature Fox Monk PT:2/3 K:Lifelink +DeckHas:Ability$LifeGain Oracle:Lifelink From 03cfd6cd1b05523a285d65caccb3cda87a2b32ac Mon Sep 17 00:00:00 2001 From: Renato Santos Date: Sat, 5 Feb 2022 19:51:43 +0000 Subject: [PATCH 4/4] Requested corrections --- forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt | 3 +++ forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt | 1 + forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt b/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt index 7187d8de94f..9cc0ae62143 100644 --- a/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt +++ b/forge-gui/res/cardsfolder/upcoming/imperial_recovery_unit.txt @@ -5,4 +5,7 @@ PT:3/4 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBChangeZone | TriggerDescription$ Whenever CARDNAME attacks, return target creature or Vehicle card with mana value 2 or less from your graveyard to your hand. SVar:DBChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.YouOwn+cmcLE2,Vehicle.YouOwn+cmcLE2 | TgtPrompt$ Choose a creature or Vehicle card with mana value 2 or less K:Crew:2 +SVar:HasAttackEffect:TRUE +DeckHas:Ability$Graveyard +DeckHints:Type$Creature|Vehicle Oracle:Whenever Imperial Recovery Unit attacks, return target creature or Vehicle card with mana value 2 or less from your graveyard to your hand.\nCrew 2 diff --git a/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt b/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt index 149dd84c5dc..ed607f64fb4 100644 --- a/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt +++ b/forge-gui/res/cardsfolder/upcoming/risona_asari_commander.txt @@ -8,4 +8,5 @@ T:Mode$ DamageDone | ValidSource$ Card.Self+counters_EQ0_Indestructible | ValidT SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | ConditionPresent$ Card.Self+counters_EQ0_Indestructible | CounterType$ Indestructible | CounterNum$ 1 T:Mode$ DamageDone | ValidTarget$ You | TriggerZones$ Battlefield | CombatDamage$ True | Execute$ TrigRemCounter | TriggerDescription$ Whenever combat damage is dealt to you, remove an indestructible counter from NICKNAME. SVar:TrigRemCounter:DB$ RemoveCounter | Defined$ Self | CounterType$ Indestructible | CounterNum$ 1 +DeckHas:Ability$Counters Oracle:Haste\nWhenever Risona, Asari Commander deals combat damage to a player, if it doesn't have an indestructible counter on it, put an indestructible counter on it.\nWhenever combat damage is dealt to you, remove an indestructible counter from Risona. diff --git a/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt b/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt index 50582963058..e22c54a2b71 100644 --- a/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt +++ b/forge-gui/res/cardsfolder/upcoming/touch_the_spirit_realm.txt @@ -3,8 +3,8 @@ ManaCost:2 W Types:Enchantment T:Mode$ ChangesZone | ValidCard$ Card.Self | Destination$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, exile up to one target artifact or creature until CARDNAME leaves the battlefield. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature,Artifact | TgtPrompt$ Select up to one target artifact or creature | TargetMin$ 0 | TargetMax$ 1 | Duration$ UntilHostLeavesPlay -A:AB$ ChangeZone | PrecostDesc$ Channel — | Cost$ 1 W Discard<1/CARDNAME> | ActivationZone$ Hand | ValidTgts$ Creature,Artifact | Origin$ Battlefield | Destination$ Exile | TgtPrompt$ Select target artifact or creature | SubAbility$ DelTrig | RememberChanged$ True | SpellDescription$ Exile target artifact or creature. Return it to the battlefield under its owner’s control at the beginning of the next end step +A:AB$ ChangeZone | PrecostDesc$ Channel — | Cost$ 1 W Discard<1/CARDNAME> | ActivationZone$ Hand | ValidTgts$ Creature,Artifact | Origin$ Battlefield | Destination$ Exile | TgtPrompt$ Select target artifact or creature | SubAbility$ DelTrig | RememberChanged$ True | SpellDescription$ Exile target artifact or creature. Return it to the battlefield under its owner's control at the beginning of the next end step. SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturn | RememberObjects$ RememberedLKI | TriggerDescription$ Return exiled permanent to the battlefield. | SubAbility$ DBCleanup SVar:TrigReturn:DB$ ChangeZone | Origin$ Exile | Destination$ Battlefield | Defined$ DelayTriggerRememberedLKI SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -Oracle:When Touch the Spirit Realm enters the battlefield, exile up to one target artifact or creature until Touch the Spirit Realm leaves the battlefield.\nChannel — {1}{W}, Discard Touch the Spirit Realm: Exile target artifact or creature. Return it to the battlefield under its owner’s control at the beginning of the next end step. +Oracle:When Touch the Spirit Realm enters the battlefield, exile up to one target artifact or creature until Touch the Spirit Realm leaves the battlefield.\nChannel — {1}{W}, Discard Touch the Spirit Realm: Exile target artifact or creature. Return it to the battlefield under its owner's control at the beginning of the next end step.