From 95eb400b19fc450fe817efb2b434cd2d131acf2c Mon Sep 17 00:00:00 2001 From: TwentyToedToad Date: Thu, 17 Oct 2024 10:55:12 -0500 Subject: [PATCH 1/4] Add Chittering Illuminator (YDSK) (#6370) * Add Chittering Illuminator (YDSK) --- .../res/cardsfolder/upcoming/chittering_illuminator.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/chittering_illuminator.txt diff --git a/forge-gui/res/cardsfolder/upcoming/chittering_illuminator.txt b/forge-gui/res/cardsfolder/upcoming/chittering_illuminator.txt new file mode 100644 index 00000000000..bdb23be06a4 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/chittering_illuminator.txt @@ -0,0 +1,7 @@ +Name:Chittering Illuminator +ManaCost:1 G G +Types:Enchantment Creature Squirrel Glimmer +PT:3/3 +S:Mode$ Continuous | Affected$ Card.Self+TopLibrary | AffectedZone$ Library | EffectZone$ All | MayPlay$ True | MayLookAt$ You | Description$ As long as CARDNAME is at the top of your library, you may look at it any time and you may cast it. +S:Mode$ Continuous | Affected$ Creature.TopLibrary+YouCtrl+nonLand | AffectedZone$ Library | EffectZone$ Battlefield | MayPlay$ True | MayLookAt$ You | Description$ As long as the top card of your library is a creature card, you may look at it any time and you may cast it. +Oracle:As long as Chittering Illuminator is at the top of your library, you may look at it any time and you may cast it.\nAs long as the top card of your library is a creature card, you may look at it any time and you may cast it. From e862f4d8ca593b2e4604f74a95248a868dfd6f07 Mon Sep 17 00:00:00 2001 From: fanch Date: Thu, 17 Oct 2024 17:08:03 +0200 Subject: [PATCH 2/4] MH2 : Fix token name u_1_1_bird_flying -> w_1_1_bird_flying --- forge-gui/res/editions/Modern Horizons 2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/editions/Modern Horizons 2.txt b/forge-gui/res/editions/Modern Horizons 2.txt index e9982c61934..a67b2715c2d 100644 --- a/forge-gui/res/editions/Modern Horizons 2.txt +++ b/forge-gui/res/editions/Modern Horizons 2.txt @@ -609,7 +609,7 @@ g_5_3_elemental r_1_1_goblin rw_4_4_a_golem u_0_3_crab -u_1_1_bird_flying +w_1_1_bird_flying [other] eternalize_timeless_dragon From 2571aff4c86324578c61f399372351a37a17ecdf Mon Sep 17 00:00:00 2001 From: JMAilan Date: Thu, 17 Oct 2024 11:58:01 -0400 Subject: [PATCH 3/4] Constructed as default mode (#6358) Co-authored-by: Agetian --- .../src/forge/adventure/scene/NewGameScene.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 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 b00ab82d761..327acb3acd8 100644 --- a/forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java +++ b/forge-gui-mobile/src/forge/adventure/scene/NewGameScene.java @@ -123,9 +123,21 @@ public class NewGameScene extends MenuScene { AdventureModes.Custom.setModes(custom); } String[] modeNames = new String[modes.size]; - for (int i = 0; i < modes.size; i++) + int constructedIndex = -1; + + for (int i = 0; i < modes.size; i++) { modeNames[i] = modes.get(i).getName(); + if (modes.get(i) == AdventureModes.Constructed) { + constructedIndex = i; + } + } + mode.setTextList(modeNames); + mode.setCurrentIndex(constructedIndex != -1 ? constructedIndex : 0); + + AdventureModes initialMode = modes.get(mode.getCurrentIndex()); + starterEdition.setVisible(initialMode == AdventureModes.Standard); + starterEditionLabel.setVisible(initialMode == AdventureModes.Standard); gender.setTextList(new String[]{Forge.getLocalizer().getMessage("lblMale") + "[%120][CYAN] \u2642", Forge.getLocalizer().getMessage("lblFemale") + "[%120][MAGENTA] \u2640"}); From e6a62e54fcbafd9c94e9f508d1ca3d3c7c69ddbb Mon Sep 17 00:00:00 2001 From: TwentyToedToad Date: Thu, 17 Oct 2024 15:26:18 -0500 Subject: [PATCH 4/4] Add Enduring Friendship (YDSK) (#6354) --- .../res/cardsfolder/upcoming/enduring_friendship.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/enduring_friendship.txt diff --git a/forge-gui/res/cardsfolder/upcoming/enduring_friendship.txt b/forge-gui/res/cardsfolder/upcoming/enduring_friendship.txt new file mode 100644 index 00000000000..cf941ad51e2 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/enduring_friendship.txt @@ -0,0 +1,11 @@ +Name:Enduring Friendship +ManaCost:U R +Types:Enchantment Creature Otter Glimmer +PT:2/1 +K:Double team +T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ You | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast an instant or sorcery spell, creatures you control that are Otters and/or enchantments get +1/+1 until end of turn. +SVar:TrigPump:DB$ PumpAll | ValidCards$ Creature.Otter+YouCtrl,Creature.Enchantment+YouCtrl | NumAtt$ 1 | NumDef$ 1 +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self+Creature | Execute$ DBReturn | TriggerDescription$ When CARDNAME dies, if it was a creature, return it to the battlefield under its owner's control. It's an enchantment. (It's not a creature.) +SVar:DBReturn:DB$ ChangeZone | Defined$ TriggeredNewCardLKICopy | Origin$ Graveyard | Destination$ Battlefield | AnimateSubAbility$ DBAnimate +SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Types$ Enchantment | RemoveCardTypes$ True | Duration$ Permanent +Oracle:Double team\nWhenever you cast an instant or sorcery spell, creatures you control that are Otters and/or enchantments get +1/+1 until end of turn. When Enduring Friendship dies, if it was a creature, return it to the battlefield under its owner's control. It's an enchantment. (It's not a creature.)