Bläddra i källkod

Update Use Reqs to match Level 0 Judge Announcement

hooperk 4 månader sedan
förälder
incheckning
ac58e19941
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      Assets/Scripts/Script/CardEffectFactory.cs

+ 3 - 3
Assets/Scripts/Script/CardEffectFactory.cs

@@ -731,14 +731,14 @@ public partial class CardEffectFactory
             if (cardCondition == null)
                 return false;
 
-            // If it is confirmed that only Digimon and tamers should count, we can put that in here instead of in each individual condition
-            return CardEffectCommons.IsOwnerPermanent(permanent, card)
+            return (permanent.IsDigimon || permanent.IsTamer)
                 && cardCondition(permanent.TopCard); 
         }
 
         bool CanUseCondition(Hashtable hashtable)
         {
-            return CardEffectCommons.HasMatchConditionOwnersPermanent(card, PermanentCondition);
+            return CardEffectCommons.HasMatchConditionOwnersPermanent(card, PermanentCondition)
+                || CardEffectCommons.HasMatchConditionOwnersBreedingPermanent(card, PermanentCondition);
         }
 
         bool CardCondition(CardSource cardSource)