From 60d4991a846ac28da36c068a117aa6fd40ba0da7 Mon Sep 17 00:00:00 2001 From: tool4EvEr Date: Sat, 10 Jul 2021 09:41:35 +0200 Subject: [PATCH] Fix Descendants' Path shuffling --- forge-game/src/main/java/forge/game/card/CardFactoryUtil.java | 1 - forge-gui/res/cardsfolder/d/descendants_path.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java b/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java index 569f9821f62..65a23f7192c 100644 --- a/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java +++ b/forge-game/src/main/java/forge/game/card/CardFactoryUtil.java @@ -839,7 +839,6 @@ public class CardFactoryUtil { inst.addTrigger(cascadeTrigger); } else if (keyword.startsWith("Champion")){ - final String[] k = keyword.split(":"); final String[] valid = k[1].split(","); String desc = Lang.joinHomogenous(Lists.newArrayList(valid), null, "or"); diff --git a/forge-gui/res/cardsfolder/d/descendants_path.txt b/forge-gui/res/cardsfolder/d/descendants_path.txt index 42a1b1ac607..1794e16c612 100644 --- a/forge-gui/res/cardsfolder/d/descendants_path.txt +++ b/forge-gui/res/cardsfolder/d/descendants_path.txt @@ -4,6 +4,6 @@ Types:Enchantment T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ DBReveal | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library. If it's a creature card that shares a creature type with a creature you control, you may cast it without paying its mana cost. If you don't cast it, put it on the bottom of your library. SVar:DBReveal:DB$ PeekAndReveal | PeekAmount$ 1 | RevealValid$ Card | RememberRevealed$ True | SubAbility$ DBMayCast SVar:DBMayCast:DB$ Play | Defined$ Remembered | ForgetRemembered$ True | WithoutManaCost$ True | Optional$ True | ConditionDefined$ Remembered | ConditionPresent$ Creature.sharesCreatureTypeWith Valid Creature.YouCtrl | SubAbility$ DBChangeZone -SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | LibraryPosition$ -1 | NoShuffle$ True | ForgetChanged$ True +SVar:DBChangeZone:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | LibraryPosition$ -1 | Shuffle$ False | ForgetChanged$ True AI:RemoveDeck:Random Oracle:At the beginning of your upkeep, reveal the top card of your library. If it's a creature card that shares a creature type with a creature you control, you may cast it without paying its mana cost. If you don't cast it, put it on the bottom of your library.