Explorar o código

Merge pull request #745 from DCGO2/x89rt2-patch-13

Fix condition logic in CanSelectPermanentCondition
hooperk hai 5 meses
pai
achega
f170c46383
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Assets/Scripts/CardEffect/BT24/Black/BT24_055.cs

+ 2 - 1
Assets/Scripts/CardEffect/BT24/Black/BT24_055.cs

@@ -216,8 +216,9 @@ namespace DCGO.CardEffects.BT24
                 bool CanSelectPermanentCondition(Permanent permanent)
                 {
                     return CardEffectCommons.IsPermanentExistsOnOpponentBattleArea(permanent, card)
+                        && permanent.TopCard.HasPlayCost
                         && (permanent.IsDigimon
-                        || permanent.IsTamer)
+                            || permanent.IsTamer)
                         && permanent.TopCard.GetCostItself <= card.PermanentOfThisCard().TopCard.GetCostItself;
                 }