From e64bacd3be83b70468f120940580f8dc61ac6aaf Mon Sep 17 00:00:00 2001 From: Simisays <67333662+Simisays@users.noreply.github.com> Date: Sun, 18 Jun 2023 22:50:33 +0200 Subject: [PATCH 1/7] update --- .../cardsfolder/upcoming/bewitching_leechcraft.txt | 14 ++++++++++++++ .../upcoming/isildurs_fateful_strike.txt | 8 ++++++++ forge-gui/res/cardsfolder/upcoming/lembas.txt | 11 +++++++++++ .../res/cardsfolder/upcoming/lost_to_legend.txt | 5 +++++ .../res/cardsfolder/upcoming/pelargir_survivor.txt | 9 +++++++++ .../res/cardsfolder/upcoming/peregrin_took.txt | 10 ++++++++++ 6 files changed, 57 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/bewitching_leechcraft.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/lembas.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/pelargir_survivor.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/peregrin_took.txt diff --git a/forge-gui/res/cardsfolder/upcoming/bewitching_leechcraft.txt b/forge-gui/res/cardsfolder/upcoming/bewitching_leechcraft.txt new file mode 100644 index 00000000000..43e35e1fec4 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/bewitching_leechcraft.txt @@ -0,0 +1,14 @@ +Name:Bewitching Leechcraft +ManaCost:1 U +Types:Enchantment Aura +K:Enchant creature +A:SP$ Attach | ValidTgts$ Creature | AILogic$ Curse +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature. +SVar:TrigTap:DB$ Tap | Defined$ Enchanted +S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddReplacementEffects$ DBUntap | Description$ Enchanted creature has "If this creature would untap during your untap step, remove a +1/+1 counter from it instead. If you do, untap it." (Otherwise, it doesn't untap.) +SVar:DBUntap:Event$ Untap | ActiveZones$ Battlefield | ValidCard$ Card.Self | ReplaceWith$ RepRemoveCounter | UntapStep$ True | Description$ If this creature would untap during your untap step, remove a +1/+1 counter from it instead. If you do, untap it. (Otherwise, it doesn't untap.) +SVar:RepRemoveCounter:DB$ RemoveCounter | Defined$ ReplacedCard | CounterType$ P1P1 | CounterNum$ 1 | RememberRemoved$ True | SubAbility$ Untap +SVar:Untap:DB$ Untap | Defined$ Self | ConditionCheckSVar$ X | ConditionSVarCompare$ GE1 | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:X:Count$RememberedSize +Oracle:Enchant creature\nWhen Bewitching Leechcraft enters the battlefield, tap enchanted creature.\nEnchanted creature has "If this creature would untap during your untap step, remove a +1/+1 counter from it instead. If you do, untap it." (Otherwise, it doesn't untap.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt b/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt new file mode 100644 index 00000000000..42e75fb52ea --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt @@ -0,0 +1,8 @@ +Name:Isildur's Fateful Strike +ManaCost:2 B B +Types:Legendary Instant +A:SP$ Destroy | ValidTgts$ Creature | SubAbility$ DBExileHand | SpellDescription$ Destroy target creature. If its controller has more than four cards in hand, they exile cards from their hand equal to the difference. +SVar:DBExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | ChangeType$ Card | Chooser$ TargetedController | Mandatory$ True | ChangeNum$ X | DefinedPlayer$ TargetedController +SVar:X:Number$4/Minus.Y +SVar:Y:TargetedController$ValidHand Card +Oracle:(You may cast a legendary instant only if you control a legendary creature or planeswalker.)\nDestroy target creature. If its controller has more than four cards in hand, they exile cards from their hand equal to the difference. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/lembas.txt b/forge-gui/res/cardsfolder/upcoming/lembas.txt new file mode 100644 index 00000000000..f8905eb94f0 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/lembas.txt @@ -0,0 +1,11 @@ +Name:Lembas +ManaCost:2 +Types:Artifact Food +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry 1, then draw a card. +SVar:TrigScry:DB$ Scry | ScryNum$ 1 | SubAbility$ DBDraw +SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 +A:AB$ GainLife | Cost$ 2 T Sac<1/CARDNAME> | Defined$ You | LifeAmount$ 3 | SpellDescription$ You gain 3 life. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ ShuffleCard | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, its owner shuffles it into their library. +SVar:ShuffleCard:DB$ ChangeZone | Origin$ Battlefield | Destination$ Library | Defined$ Self +DeckHas:Ability$LifeGain|Sacrifice +Oracle:When Lembas enters the battlefield, scry 1, then draw a card.\n{2}, {T}, Sacrifice Lembas: You gain 3 life.\nWhen Lembas is put into a graveyard from the battlefield, its owner shuffles it into their library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt b/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt new file mode 100644 index 00000000000..8388304745e --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt @@ -0,0 +1,5 @@ +Name:Lost to Legend +ManaCost:W W +Types:Instant +A:SP$ ChangeZone | ValidTgts$ Permanent.nonLand+Historic | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 3 | IsCurse$ True | SpellDescription$ Put target nonland historic permanent into its owner's library fourth from the top. (Artifacts, legendaries, and Sagas are historic.) +Oracle:Put target nonland historic permanent into its owner's library fourth from the top. (Artifacts, legendaries, and Sagas are historic.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/pelargir_survivor.txt b/forge-gui/res/cardsfolder/upcoming/pelargir_survivor.txt new file mode 100644 index 00000000000..37e5ef6989d --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/pelargir_survivor.txt @@ -0,0 +1,9 @@ +Name:Pelargir Survivor +ManaCost:1 U +Types:Creature Human Peasant +PT:1/3 +A:AB$ Mana | Cost$ T | Produced$ Any | RestrictValid$ Spell.Instant,Spell.Sorcery | SpellDescription$ Add one mana of any color. Spend this mana only to cast an instant or sorcery spell. +A:AB$ Mill | Cost$ 5 U T | NumCards$ 3 | ValidTgts$ Player | TgtPrompt$ Choose target player | SpellDescription$ Target player mills three cards. (They put the top three cards of their library into their graveyard.) +DeckHints:Type$Instant|Sorcery +DeckHas:Ability$Mill +Oracle:{T}: Add one mana of any color. Spend this mana only to cast an instant or sorcery spell.\n{5}{U}, {T}:Target player mills three cards. (They put the top three cards of their library into their graveyard.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt b/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt new file mode 100644 index 00000000000..9aed21ef633 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt @@ -0,0 +1,10 @@ +Name:Peregrin Took +ManaCost:2 G +Types:Legendary Creature Halfling Citizen +PT:2/3 +R:Event$ CreateToken | ActiveZones$ Battlefield | ValidToken$ Food.YouCtrl | ReplaceWith$ DBReplace | Description$ If one or more tokens would be created under your control, those tokens plus an additional Food token are created instead. (It’s an artifact with “{2}, {T}, Sacrifice this artifact: You gain 3 life.”) +SVar:DBReplace:DB$ ReplaceToken | Type$ AddToken | Amount$ 1 | ValidCard$ Card.YouCtrl | TokenScript$ c_a_food_sac +A:AB$ Draw | Cost$ Sac<3/Food> | SpellDescription$ Draw a card. +DeckHas:Ability$Sacrifice|Token & Type$Food +DeckNeeds:Type$Food +Oracle:If one or more tokens would be created under your control, those tokens plus an additional Food token are created instead. (It’s an artifact with “{2}, {T}, Sacrifice this artifact: You gain 3 life.”)\nSacrifice three Foods: Draw a card. \ No newline at end of file From 1976e4f302c06d3258a218e1bd39f573db6184a9 Mon Sep 17 00:00:00 2001 From: Simisays <67333662+Simisays@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:58:01 +0200 Subject: [PATCH 2/7] update --- .../res/cardsfolder/upcoming/improvised_club.txt | 8 ++++++++ .../res/cardsfolder/upcoming/old_man_willow.txt | 14 ++++++++++++++ .../cardsfolder/upcoming/quickbeam_upstart_ent.txt | 8 ++++++++ .../upcoming/sting_the_glinting_dagger.txt | 14 ++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/improvised_club.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/old_man_willow.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt diff --git a/forge-gui/res/cardsfolder/upcoming/improvised_club.txt b/forge-gui/res/cardsfolder/upcoming/improvised_club.txt new file mode 100644 index 00000000000..142e0bb4612 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/improvised_club.txt @@ -0,0 +1,8 @@ +Name:Improvised Club +ManaCost:1 R +Types:Instant +A:SP$ DealDamage | Cost$ 1 R Sac<1/Artifact;Creature/artifact or creature> | ValidTgts$ Any | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to any target. +AI:RemoveDeck:All +DeckHas:Ability$Sacrifice +DeckHints:Type$Artifact +Oracle:As an additional cost to cast this spell, sacrifice an artifact or creature.\nImprovised Club deals 4 damage to any target. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt b/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt new file mode 100644 index 00000000000..1edf7bc7735 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt @@ -0,0 +1,14 @@ +Name:Old Man Willow +ManaCost:2 B G +Types:Legendary Creature Treefolk +PT:*/* +S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. +SVar:X:Count$Valid Land.YouCtrl +T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigImmediate | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may sacrifice another creature or a token. When you do, target creature an opponent controls gets -2/-2 until end of turn. +SVar:TrigImmediate:AB$ ImmediateTrigger | Cost$ Sac<1/Creature.Other;token.Other/another creature or token> | Execute$ TrigDebuff | TriggerDescription$ When you do, target creature an opponent controls gets -2/-2 until end of turn. +SVar:TrigDebuff:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True +SVar:X:TriggerRemembered$CardPower +DeckHas:Ability$Sacrifice +DeckHints:Ability$Token +SVar:HasAttackEffect:TRUE +Oracle:Old Man Willow's power and toughness are each equal to the number of lands you control.\nWhenever Old Man Willow attacks, you may sacrifice another creature or a token. When you do, target creature an opponent controls gets -2/-2 until end of turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt b/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt new file mode 100644 index 00000000000..36471c2c319 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt @@ -0,0 +1,8 @@ +Name:Quickbeam, Upstart Ent +ManaCost:4 G G +Types:Legendary Creature Treefolk +PT:5/6 +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self,Treefolk.Other+YouCtrl | Execute$ DBPump | TriggerDescription$ Whenever CARDNAME or another Treefolk enters the battlefield under your control, up to two target creatures each get +2/+2 and gain trample until end of turn. +SVar:DBPump:DB$ Pump | TargetMin$ 0 | TargetMax$ 2 | NumAtt$ +2 | NumDef$ 2 | ValidTgts$ Creature | TgtPrompt$ Select up to two target creatures. +DeckHints:Type$Treefolk +Oracle:Whenever Quickbeam, Upstart Ent or another Treefolk enters the battlefield under your control, up to two target creatures each get +2/+2 and gain trample until end of turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt b/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt new file mode 100644 index 00000000000..c61797b7b46 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt @@ -0,0 +1,14 @@ +Name:Sting, the Glinting Dagger +ManaCost:2 +Types:Legendary Artifact Equipment +K:Equip:2 +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 3 | AddToughness$ 1 | AddKeyword$ Haste | Description$ Equipped creature gets +1/+1 and has haste. +S:Mode$ Continuous | Affected$ Card.EquippedBy+Legendary | AddKeyword$ Menace | Description$ As long as equipped creature is legendary, it has menace. (It can't be blocked except by two or more creatures.) +DeckHints:Type$Legendary +Oracle:Equipped creature gets +1/+1 and has haste. + +At the beginning of each combat, untap equipped creature. + +Equipped creature has first strike as long as it’s blocking or blocked by a Goblin or Orc. + +Equip {2} \ No newline at end of file From 6e0c6570b5e681a0d3b72a5dad03e20b76a1d84e Mon Sep 17 00:00:00 2001 From: Simisays <67333662+Simisays@users.noreply.github.com> Date: Mon, 19 Jun 2023 10:54:34 +0200 Subject: [PATCH 3/7] update --- .../upcoming/isildurs_fateful_strike.txt | 3 +-- forge-gui/res/cardsfolder/upcoming/lembas.txt | 2 +- .../res/cardsfolder/upcoming/lost_to_legend.txt | 2 +- .../res/cardsfolder/upcoming/old_man_willow.txt | 5 ++--- .../upcoming/sting_the_glinting_dagger.txt | 13 ++++--------- 5 files changed, 9 insertions(+), 16 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt b/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt index 42e75fb52ea..ed245825fc4 100644 --- a/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt +++ b/forge-gui/res/cardsfolder/upcoming/isildurs_fateful_strike.txt @@ -3,6 +3,5 @@ ManaCost:2 B B Types:Legendary Instant A:SP$ Destroy | ValidTgts$ Creature | SubAbility$ DBExileHand | SpellDescription$ Destroy target creature. If its controller has more than four cards in hand, they exile cards from their hand equal to the difference. SVar:DBExileHand:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | ChangeType$ Card | Chooser$ TargetedController | Mandatory$ True | ChangeNum$ X | DefinedPlayer$ TargetedController -SVar:X:Number$4/Minus.Y -SVar:Y:TargetedController$ValidHand Card +SVar:X:TargetedController$CardsInHand/Minus.4 Oracle:(You may cast a legendary instant only if you control a legendary creature or planeswalker.)\nDestroy target creature. If its controller has more than four cards in hand, they exile cards from their hand equal to the difference. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/lembas.txt b/forge-gui/res/cardsfolder/upcoming/lembas.txt index f8905eb94f0..a5b1921c6e7 100644 --- a/forge-gui/res/cardsfolder/upcoming/lembas.txt +++ b/forge-gui/res/cardsfolder/upcoming/lembas.txt @@ -6,6 +6,6 @@ SVar:TrigScry:DB$ Scry | ScryNum$ 1 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 A:AB$ GainLife | Cost$ 2 T Sac<1/CARDNAME> | Defined$ You | LifeAmount$ 3 | SpellDescription$ You gain 3 life. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ ShuffleCard | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, its owner shuffles it into their library. -SVar:ShuffleCard:DB$ ChangeZone | Origin$ Battlefield | Destination$ Library | Defined$ Self +SVar:ShuffleCard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Defined$ TriggeredCard | ChangeNum$ 1 | IsCurse$ True | Shuffle$ True | Mandatory$ True DeckHas:Ability$LifeGain|Sacrifice Oracle:When Lembas enters the battlefield, scry 1, then draw a card.\n{2}, {T}, Sacrifice Lembas: You gain 3 life.\nWhen Lembas is put into a graveyard from the battlefield, its owner shuffles it into their library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt b/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt index 8388304745e..c4e02c27d24 100644 --- a/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt +++ b/forge-gui/res/cardsfolder/upcoming/lost_to_legend.txt @@ -1,5 +1,5 @@ Name:Lost to Legend ManaCost:W W Types:Instant -A:SP$ ChangeZone | ValidTgts$ Permanent.nonLand+Historic | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 3 | IsCurse$ True | SpellDescription$ Put target nonland historic permanent into its owner's library fourth from the top. (Artifacts, legendaries, and Sagas are historic.) +A:SP$ ChangeZone | ValidTgts$ Permanent.nonLand+Historic | TgtPrompt$ Select target historic nonland permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 3 | IsCurse$ True | SpellDescription$ Put target nonland historic permanent into its owner's library fourth from the top. (Artifacts, legendaries, and Sagas are historic.) Oracle:Put target nonland historic permanent into its owner's library fourth from the top. (Artifacts, legendaries, and Sagas are historic.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt b/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt index 1edf7bc7735..92f17d571af 100644 --- a/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt +++ b/forge-gui/res/cardsfolder/upcoming/old_man_willow.txt @@ -3,11 +3,10 @@ ManaCost:2 B G Types:Legendary Creature Treefolk PT:*/* S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Description$ CARDNAME's power and toughness are each equal to the number of lands you control. -SVar:X:Count$Valid Land.YouCtrl T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigImmediate | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, you may sacrifice another creature or a token. When you do, target creature an opponent controls gets -2/-2 until end of turn. -SVar:TrigImmediate:AB$ ImmediateTrigger | Cost$ Sac<1/Creature.Other;token.Other/another creature or token> | Execute$ TrigDebuff | TriggerDescription$ When you do, target creature an opponent controls gets -2/-2 until end of turn. +SVar:TrigImmediate:AB$ ImmediateTrigger | Cost$ Sac<1/Creature.Other;Card.token/another creature or token> | Execute$ TrigDebuff | TriggerDescription$ When you do, target creature an opponent controls gets -2/-2 until end of turn. SVar:TrigDebuff:DB$ Pump | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumAtt$ -2 | NumDef$ -2 | IsCurse$ True -SVar:X:TriggerRemembered$CardPower +SVar:X:Count$Valid Land.YouCtrl DeckHas:Ability$Sacrifice DeckHints:Ability$Token SVar:HasAttackEffect:TRUE diff --git a/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt b/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt index c61797b7b46..ee6f85bf0f0 100644 --- a/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt +++ b/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt @@ -3,12 +3,7 @@ ManaCost:2 Types:Legendary Artifact Equipment K:Equip:2 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 3 | AddToughness$ 1 | AddKeyword$ Haste | Description$ Equipped creature gets +1/+1 and has haste. -S:Mode$ Continuous | Affected$ Card.EquippedBy+Legendary | AddKeyword$ Menace | Description$ As long as equipped creature is legendary, it has menace. (It can't be blocked except by two or more creatures.) -DeckHints:Type$Legendary -Oracle:Equipped creature gets +1/+1 and has haste. - -At the beginning of each combat, untap equipped creature. - -Equipped creature has first strike as long as it’s blocking or blocked by a Goblin or Orc. - -Equip {2} \ No newline at end of file +T:Mode$ Phase | Phase$ BeginCombat | TriggerZones$ Battlefield | Execute$ TrigUntap | TriggerDescription$ At the beginning of each combat, untap equipped creature. +SVar:TrigUntap:DB$ Untap | Defined$ Equipped +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ First Strike | IsPresent$ Creature.blockedBySource+Goblin,Creature.blockedBySource+Orc,Creature.blockingSource+Goblin,Creature.blockingSource+Orc | Description$ Equipped creature has first strike as long as it’s blocking or blocked by a Goblin or Orc. +Oracle:Equipped creature gets +1/+1 and has haste.\nAt the beginning of each combat, untap equipped creature.\nEquipped creature has first strike as long as it's blocking or blocked by a Goblin or Orc.\nEquip {2} \ No newline at end of file From 02b61e83058afed6c3c607facacf0bc5626937f0 Mon Sep 17 00:00:00 2001 From: Simisays <67333662+Simisays@users.noreply.github.com> Date: Mon, 19 Jun 2023 11:59:57 +0200 Subject: [PATCH 4/7] update --- forge-gui/res/cardsfolder/upcoming/lembas.txt | 2 +- forge-gui/res/cardsfolder/upcoming/peregrin_took.txt | 6 +++--- .../res/cardsfolder/upcoming/quickbeam_upstart_ent.txt | 2 +- .../res/cardsfolder/upcoming/sting_the_glinting_dagger.txt | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/lembas.txt b/forge-gui/res/cardsfolder/upcoming/lembas.txt index a5b1921c6e7..f4830022f9f 100644 --- a/forge-gui/res/cardsfolder/upcoming/lembas.txt +++ b/forge-gui/res/cardsfolder/upcoming/lembas.txt @@ -6,6 +6,6 @@ SVar:TrigScry:DB$ Scry | ScryNum$ 1 | SubAbility$ DBDraw SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1 A:AB$ GainLife | Cost$ 2 T Sac<1/CARDNAME> | Defined$ You | LifeAmount$ 3 | SpellDescription$ You gain 3 life. T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ ShuffleCard | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, its owner shuffles it into their library. -SVar:ShuffleCard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Defined$ TriggeredCard | ChangeNum$ 1 | IsCurse$ True | Shuffle$ True | Mandatory$ True +SVar:ShuffleCard:DB$ ChangeZone | Origin$ Graveyard | Destination$ Library | Defined$ TriggeredNewCardLKICopy | ChangeNum$ 1 | Shuffle$ True | Mandatory$ True DeckHas:Ability$LifeGain|Sacrifice Oracle:When Lembas enters the battlefield, scry 1, then draw a card.\n{2}, {T}, Sacrifice Lembas: You gain 3 life.\nWhen Lembas is put into a graveyard from the battlefield, its owner shuffles it into their library. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt b/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt index 9aed21ef633..a4de267acb4 100644 --- a/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt +++ b/forge-gui/res/cardsfolder/upcoming/peregrin_took.txt @@ -2,9 +2,9 @@ Name:Peregrin Took ManaCost:2 G Types:Legendary Creature Halfling Citizen PT:2/3 -R:Event$ CreateToken | ActiveZones$ Battlefield | ValidToken$ Food.YouCtrl | ReplaceWith$ DBReplace | Description$ If one or more tokens would be created under your control, those tokens plus an additional Food token are created instead. (It’s an artifact with “{2}, {T}, Sacrifice this artifact: You gain 3 life.”) +R:Event$ CreateToken | ActiveZones$ Battlefield | ValidToken$ Food.YouCtrl | ReplaceWith$ DBReplace | Description$ If one or more tokens would be created under your control, those tokens plus an additional Food token are created instead. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.") SVar:DBReplace:DB$ ReplaceToken | Type$ AddToken | Amount$ 1 | ValidCard$ Card.YouCtrl | TokenScript$ c_a_food_sac A:AB$ Draw | Cost$ Sac<3/Food> | SpellDescription$ Draw a card. DeckHas:Ability$Sacrifice|Token & Type$Food -DeckNeeds:Type$Food -Oracle:If one or more tokens would be created under your control, those tokens plus an additional Food token are created instead. (It’s an artifact with “{2}, {T}, Sacrifice this artifact: You gain 3 life.”)\nSacrifice three Foods: Draw a card. \ No newline at end of file +DeckHints:Type$Food +Oracle:If one or more tokens would be created under your control, those tokens plus an additional Food token are created instead. (It's an artifact with "{2}, {T}, Sacrifice this artifact: You gain 3 life.")\nSacrifice three Foods: Draw a card. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt b/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt index 36471c2c319..3f7de733629 100644 --- a/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt +++ b/forge-gui/res/cardsfolder/upcoming/quickbeam_upstart_ent.txt @@ -3,6 +3,6 @@ ManaCost:4 G G Types:Legendary Creature Treefolk PT:5/6 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self,Treefolk.Other+YouCtrl | Execute$ DBPump | TriggerDescription$ Whenever CARDNAME or another Treefolk enters the battlefield under your control, up to two target creatures each get +2/+2 and gain trample until end of turn. -SVar:DBPump:DB$ Pump | TargetMin$ 0 | TargetMax$ 2 | NumAtt$ +2 | NumDef$ 2 | ValidTgts$ Creature | TgtPrompt$ Select up to two target creatures. +SVar:DBPump:DB$ Pump | TargetMin$ 0 | TargetMax$ 2 | NumAtt$ +2 | NumDef$ 2 | KW$ Trample | ValidTgts$ Creature | TgtPrompt$ Select up to two target creatures. DeckHints:Type$Treefolk Oracle:Whenever Quickbeam, Upstart Ent or another Treefolk enters the battlefield under your control, up to two target creatures each get +2/+2 and gain trample until end of turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt b/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt index ee6f85bf0f0..2c62b871b1e 100644 --- a/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt +++ b/forge-gui/res/cardsfolder/upcoming/sting_the_glinting_dagger.txt @@ -2,8 +2,8 @@ Name:Sting, the Glinting Dagger ManaCost:2 Types:Legendary Artifact Equipment K:Equip:2 -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 3 | AddToughness$ 1 | AddKeyword$ Haste | Description$ Equipped creature gets +1/+1 and has haste. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 1 | AddToughness$ 1 | AddKeyword$ Haste | Description$ Equipped creature gets +1/+1 and has haste. T:Mode$ Phase | Phase$ BeginCombat | TriggerZones$ Battlefield | Execute$ TrigUntap | TriggerDescription$ At the beginning of each combat, untap equipped creature. SVar:TrigUntap:DB$ Untap | Defined$ Equipped -S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ First Strike | IsPresent$ Creature.blockedBySource+Goblin,Creature.blockedBySource+Orc,Creature.blockingSource+Goblin,Creature.blockingSource+Orc | Description$ Equipped creature has first strike as long as it’s blocking or blocked by a Goblin or Orc. +S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddKeyword$ First Strike | IsPresent$ Creature.EquippedBy+blockingValid Goblin,Creature.EquippedBy+blockingValid Orc,Goblin.blockingValid Creature.EquippedBy,Orc.blockingValid Creature.EquippedBy | Description$ Equipped creature has first strike as long as it’s blocking or blocked by a Goblin or Orc. Oracle:Equipped creature gets +1/+1 and has haste.\nAt the beginning of each combat, untap equipped creature.\nEquipped creature has first strike as long as it's blocking or blocked by a Goblin or Orc.\nEquip {2} \ No newline at end of file From 6ac338a3047fa76d809ebb7f7f37e957931ca20e Mon Sep 17 00:00:00 2001 From: tool4ever Date: Mon, 19 Jun 2023 23:22:07 +0200 Subject: [PATCH 5/7] Fix logic (#3299) --- forge-game/src/main/java/forge/game/player/PlayerProperty.java | 1 + 1 file changed, 1 insertion(+) diff --git a/forge-game/src/main/java/forge/game/player/PlayerProperty.java b/forge-game/src/main/java/forge/game/player/PlayerProperty.java index c3aaea9e604..e7eba207801 100644 --- a/forge-game/src/main/java/forge/game/player/PlayerProperty.java +++ b/forge-game/src/main/java/forge/game/player/PlayerProperty.java @@ -22,6 +22,7 @@ public class PlayerProperty { Game game = player.getGame(); if (property.endsWith("Activator")) { sourceController = spellAbility.getHostCard().getController(); + property = property.substring(0, property.length() - 9); } if (property.equals("You")) { if (!player.equals(sourceController)) { From d14e706cb0603c0dd10e8d5e945959c2908ad102 Mon Sep 17 00:00:00 2001 From: Anthony Calosa Date: Tue, 20 Jun 2023 20:36:15 +0800 Subject: [PATCH 6/7] Fix starting ColorID --- forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java b/forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java index 74ee9dcb995..91d3dd1cb64 100644 --- a/forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java +++ b/forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java @@ -193,7 +193,7 @@ public class NewGameScene extends UIScene { gender.getCurrentIndex() == 0, race.getCurrentIndex(), avatarIndex, - colorIds[custom.isEmpty() ? colorId.getCurrentIndex() : 0], + colorIds[custom.isEmpty() || !AdventureModes.Custom.equals(modes.get(mode.getCurrentIndex())) ? colorId.getCurrentIndex() : 0], Config.instance().getConfigData().difficulties[difficulty.getCurrentIndex()], modes.get(mode.getCurrentIndex()), colorId.getCurrentIndex(), editionIds[starterEdition.getCurrentIndex()], 0);//maybe replace with enum From 653d393cbab102031085d4aa131687bdbf02699a Mon Sep 17 00:00:00 2001 From: tool4ever Date: Tue, 20 Jun 2023 21:03:33 +0200 Subject: [PATCH 7/7] Update scythe_of_the_wretched.txt --- forge-gui/res/cardsfolder/s/scythe_of_the_wretched.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/cardsfolder/s/scythe_of_the_wretched.txt b/forge-gui/res/cardsfolder/s/scythe_of_the_wretched.txt index c1061cdad06..cb9af6bd0b7 100644 --- a/forge-gui/res/cardsfolder/s/scythe_of_the_wretched.txt +++ b/forge-gui/res/cardsfolder/s/scythe_of_the_wretched.txt @@ -3,7 +3,7 @@ ManaCost:2 Types:Artifact Equipment K:Equip:4 S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 2 | AddToughness$ 2 | Description$ Equipped creature gets +2/+2 -T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.DamagedByEquipped | TriggerZones$ Battlefield | Execute$ ScytheReturn | TriggerDescription$ Whenever a creature dealt damage by equipped creature this turn dies, return that card to the battlefield under your control. Attach CARDNAME to that creature. +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.DamagedBy Equipped | TriggerZones$ Battlefield | Execute$ ScytheReturn | TriggerDescription$ Whenever a creature dealt damage by equipped creature this turn dies, return that card to the battlefield under your control. Attach CARDNAME to that creature. SVar:ScytheReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | GainControl$ True | Defined$ TriggeredCard | RememberChanged$ True | SubAbility$ ScytheAttach SVar:ScytheAttach:DB$ Attach | Defined$ Remembered | SubAbility$ WretchedCleanup SVar:WretchedCleanup:DB$ Cleanup | ClearRemembered$ True