mbunch_kascope 2 лет назад
Родитель
Сommit
9a048aaf9c

+ 2 - 2
Assets/CardEffect/BT16/Black/Shakkoumon_BT16_063.cs

@@ -248,7 +248,7 @@ namespace DCGO.CardEffects.BT16
                         }
                     }
 
-                    return true;
+                    return false;
                 }
 
                 bool CanSelectSecondSourceCondition(CardSource cardSource)
@@ -261,7 +261,7 @@ namespace DCGO.CardEffects.BT16
                         }
                     }
 
-                    return true;
+                    return false;
                 }
 
                 cardEffects.Add(CardEffectFactory.PartitionSelfEffect(

+ 3 - 2
Assets/Scripts/CardEffectCommons/KeyWordEffects/Partition.cs

@@ -1,6 +1,7 @@
 using System.Collections;
 using System.Collections.Generic;
 using System;
+using System.Linq;
 
 public partial class CardEffectCommons
 {
@@ -80,7 +81,7 @@ public partial class CardEffectCommons
                             isShowOpponent: false,
                             mode: SelectCardEffect.Mode.Custom,
                             root: SelectCardEffect.Root.Custom,
-                            customRootCardList: _permanent.DigivolutionCards,
+                            customRootCardList: _permanent.DigivolutionCards.Where(CanSelectFristSourceCondition).ToList(),
                             canLookReverseCard: true,
                             selectPlayer: topCard.Owner,
                             cardEffect: activateClass);
@@ -101,7 +102,7 @@ public partial class CardEffectCommons
                             isShowOpponent: false,
                             mode: SelectCardEffect.Mode.Custom,
                             root: SelectCardEffect.Root.Custom,
-                            customRootCardList: _permanent.DigivolutionCards,
+                            customRootCardList: _permanent.DigivolutionCards.Where(CanSelectSecondSourceCondition).ToList(),
                             canLookReverseCard: true,
                             selectPlayer: topCard.Owner,
                             cardEffect: activateClass);