Преглед на файлове

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 месеца
родител
ревизия
6c8bb2b97a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Assets/Scripts/CardEffect/P/White/P_206.cs

+ 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))