Просмотр исходного кода

Merge pull request #1367 from DCGO2/hooperk-ACCEL

Fix BT20-043 & BT20-036 cost reduction
x89rt2 3 месяцев назад
Родитель
Сommit
f57c68f427

+ 1 - 9
Assets/Scripts/CardEffect/BT20/Green/BT20_043.cs

@@ -58,15 +58,7 @@ namespace DCGO.CardEffects.BT20
 
                 bool CardCondition(CardSource cardSource)
                 {
-                    if (cardSource == card)
-                    {
-                        if (CardEffectCommons.IsExistOnHand(cardSource))
-                        {
-                            return true;
-                        }
-                    }
-
-                    return false;
+                    return cardSource == card;
                 }
 
                 bool CanUseCondition(Hashtable hashtable)

+ 1 - 9
Assets/Scripts/CardEffect/BT20/Yellow/BT20_036.cs

@@ -58,15 +58,7 @@ namespace DCGO.CardEffects.BT20
 
                 bool CardCondition(CardSource cardSource)
                 {
-                    if (cardSource == card)
-                    {
-                        if (CardEffectCommons.IsExistOnHand(cardSource))
-                        {
-                            return CardEffectCommons.HasMatchConditionPermanent(HasAccelTraitInPlay);
-                        }
-                    }
-
-                    return false;
+                    return cardSource == card;
                 }
 
                 bool CanUseCondition(Hashtable hashtable)