Jelajahi Sumber

Merge pull request #760 from DCGO2/hooperk-digivolution-effects

Bulk: Show pendign effects when looking at digivolution cards
x89rt2 5 bulan lalu
induk
melakukan
d73a04d544

+ 2 - 2
Assets/Scripts/CardEffect/BT21/Purple/BT21_073.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/BT21/Red/BT21_022.cs

@@ -260,7 +260,7 @@ namespace DCGO.CardEffects.BT21
                                 canEndNotMax: false,
                                 isShowOpponent: true,
                                 mode: SelectCardEffect.Mode.Custom,
-                                root: SelectCardEffect.Root.Custom,
+                                root: SelectCardEffect.Root.DigivolutionCards,
                                 customRootCardList: permanent.DigivolutionCards,
                                 canLookReverseCard: false,
                                 selectPlayer: card.Owner,

+ 2 - 2
Assets/Scripts/CardEffect/BT21/Red/BT21_023.cs

@@ -165,7 +165,7 @@ namespace DCGO.CardEffects.BT21
                             canEndNotMax: false,
                             isShowOpponent: true,
                             mode: SelectCardEffect.Mode.Custom,
-                            root: SelectCardEffect.Root.Custom,
+                            root: SelectCardEffect.Root.DigivolutionCards,
                             customRootCardList: card.PermanentOfThisCard().DigivolutionCards,
                             canLookReverseCard: true,
                             selectPlayer: card.Owner,
@@ -327,7 +327,7 @@ namespace DCGO.CardEffects.BT21
 
                 string EffectDiscription()
                 {
-                    return "[Your Turn] [Once Per Turn] When this Digimon gets linked, delete 1 of your opponents Digimon with as much or less DP as this Digimon";
+                    return "[Your Turn] [Once Per Turn] When this Digimon gets linked, delete 1 of your opponent's Digimon with as much or less DP as this Digimon";
                 }
 
                 bool CanUseCondition(Hashtable hashtable)

+ 1 - 1
Assets/Scripts/CardEffect/BT21/White/BT21_101.cs

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

+ 3 - 3
Assets/Scripts/CardEffect/BT22/Purple/BT22_075.cs

@@ -158,7 +158,7 @@ namespace DCGO.CardEffects.BT22
                                 canEndNotMax: false,
                                 isShowOpponent: true,
                                 mode: SelectCardEffect.Mode.Custom,
-                                root: SelectCardEffect.Root.Custom,
+                                root: SelectCardEffect.Root.DigivolutionCards,
                                 customRootCardList: card.PermanentOfThisCard().DigivolutionCards,
                                 canLookReverseCard: true,
                                 selectPlayer: card.Owner,
@@ -282,7 +282,7 @@ namespace DCGO.CardEffects.BT22
                                 canEndNotMax: false,
                                 isShowOpponent: true,
                                 mode: SelectCardEffect.Mode.Custom,
-                                root: SelectCardEffect.Root.Custom,
+                                root: SelectCardEffect.Root.DigivolutionCards,
                                 customRootCardList: card.PermanentOfThisCard().DigivolutionCards,
                                 canLookReverseCard: true,
                                 selectPlayer: card.Owner,
@@ -358,7 +358,7 @@ namespace DCGO.CardEffects.BT22
                                 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/CardEffect/BT22/Yellow/BT22_035.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/BT22/Yellow/BT22_039.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/BT23/Blue/BT23_022.cs

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

+ 2 - 2
Assets/Scripts/CardEffect/BT23/Blue/BT23_024.cs

@@ -212,8 +212,8 @@ namespace DCGO.CardEffects.BT23
                             canEndNotMax: false,
                             isShowOpponent: true,
                             mode: SelectCardEffect.Mode.Custom,
-                            root: SelectCardEffect.Root.Custom,
-                            customRootCardList: card.PermanentOfThisCard().StackCards,
+                            root: SelectCardEffect.Root.DigivolutionCards,
+                            customRootCardList: card.PermanentOfThisCard().DigivolutionCards,
                             canLookReverseCard: true,
                             selectPlayer: card.Owner,
                             cardEffect: activateClass);

+ 2 - 2
Assets/Scripts/CardEffect/BT23/Yellow/BT23_033.cs

@@ -138,8 +138,8 @@ namespace DCGO.CardEffects.BT23
                             canEndNotMax: false,
                             isShowOpponent: true,
                             mode: SelectCardEffect.Mode.Custom,
-                            root: SelectCardEffect.Root.Custom,
-                            customRootCardList: thisPermament.StackCards,
+                            root: SelectCardEffect.Root.DigivolutionCards,
+                            customRootCardList: thisPermament.DigivolutionCards,
                             canLookReverseCard: true,
                             selectPlayer: card.Owner,
                             cardEffect: activateClass);

+ 1 - 1
Assets/Scripts/CardEffect/BT24/Purple/BT24_077.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/BT24/Purple/BT24_079.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/EX10/Black/EX10_030.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/EX10/Black/EX10_073.cs

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

+ 1 - 1
Assets/Scripts/CardEffect/P/Blue/P_214.cs

@@ -315,7 +315,7 @@ namespace DCGO.CardEffects.P
                                         canEndNotMax: false,
                                         isShowOpponent: true,
                                         mode: SelectCardEffect.Mode.Custom,
-                                        root: SelectCardEffect.Root.Custom,
+                                        root: SelectCardEffect.Root.DigivolutionCards,
                                         customRootCardList: selectedPermanent.DigivolutionCards,
                                         canLookReverseCard: true,
                                         selectPlayer: card.Owner,