Prechádzať zdrojové kódy

P_206 DGO Fix

Fixing an issue where the delay doesn't recognize the additional colors on BT8 Kimera.  Issue is because the check was using BaseCardColors instead of CardColors, so it was missing the card color changes added at runtime.
skikklesman 4 mesiacov pred
rodič
commit
6c8bb2b97a

+ 1 - 1
Assets/Scripts/CardEffect/P/White/P_206.cs

@@ -111,7 +111,7 @@ namespace DCGO.CardEffects.P
                 {
                     var digimonColours = card.Owner.GetFieldPermanents()
                         .Filter(x => x.IsDigimon)
-                        .SelectMany(digimon => digimon.TopCard.BaseCardColors).Distinct();
+                        .SelectMany(digimon => digimon.TopCard.CardColors).Distinct();
 
                     return cardSource.IsTamer
                         && cardSource.BaseCardColors.Exists(x => digimonColours.Contains(x))