Browse Source

Merge pull request #759 from DCGO2/hooperk-EX11-027

Show pending effects when selecting from link cards
x89rt2 5 months ago
parent
commit
7045729655

+ 1 - 1
Assets/Scripts/CardEffect/EX11/Green/EX11_027.cs

@@ -273,7 +273,7 @@ namespace DCGO.CardEffects.EX11
                                 canEndNotMax: false,
                                 isShowOpponent: true,
                                 mode: SelectCardEffect.Mode.Custom,
-                                root: SelectCardEffect.Root.Custom,
+                                root: SelectCardEffect.Root.LinkedCards,
                                 customRootCardList: card.PermanentOfThisCard().LinkedCards,
                                 canLookReverseCard: true,
                                 selectPlayer: card.Owner,

+ 1 - 1
Assets/Scripts/Script/SelectCardEffect.cs

@@ -471,7 +471,7 @@ public class SelectCardEffect : MonoBehaviourPunCallbacks
                         {
                             if (_skillInfos.Count == 0)
                             {
-                                if (_root == Root.Trash || _root == Root.DigivolutionCards)
+                                if (_root == Root.Trash || _root == Root.DigivolutionCards || _root == Root.LinkedCards)
                                 {
                                     SkillInfo[] skillInfoArray = new SkillInfo[RootCards.Count];