x89rt2 2 месяцев назад
Родитель
Сommit
f766f05977
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      Assets/Scripts/CardEffect/BT18/Black/BT18_092.cs

+ 3 - 3
Assets/Scripts/CardEffect/BT18/Black/BT18_092.cs

@@ -39,7 +39,7 @@ namespace DCGO.CardEffects.BT18
 
 
                 bool CanSelectCardCondition(CardSource cardSource)
                 bool CanSelectCardCondition(CardSource cardSource)
                 {
                 {
-                    return cardSource.CardNames.Equals("Vemmon");
+                    return cardSource.EqualsCardName("Vemmon");
                 }
                 }
 
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
@@ -104,12 +104,12 @@ namespace DCGO.CardEffects.BT18
                 bool PermanentCondition(Permanent permanent)
                 bool PermanentCondition(Permanent permanent)
                 {
                 {
                     return CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card)
                     return CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card)
-                        && permanent.DigivolutionCards.Count((cardSource) => cardSource.CardNames.Equals("Vemmon")) >= 2;
+                        && permanent.DigivolutionCards.Count((cardSource) => cardSource.EqualsCardName("Vemmon")) >= 2;
                 }
                 }
 
 
                 bool CanSelectCardCondition(CardSource cardSource)
                 bool CanSelectCardCondition(CardSource cardSource)
                 {
                 {
-                    return cardSource.CardNames.Equals("Vemmon");
+                    return cardSource.EqualsCardName("Vemmon");
                 }
                 }
 
 
                 bool CanSelectPermanentCondition(Permanent permanent)
                 bool CanSelectPermanentCondition(Permanent permanent)