Quick-Bolt 1 год назад
Родитель
Сommit
e2415e4b37
2 измененных файлов с 6 добавлено и 12 удалено
  1. 1 0
      Assets/CardEffect/BT19/Red/BT19_015.cs
  2. 5 12
      Assets/CardEffect/BT19/Red/BT19_091.cs

+ 1 - 0
Assets/CardEffect/BT19/Red/BT19_015.cs

@@ -115,6 +115,7 @@ namespace DCGO.CardEffects.BT19
                 activateClass.SetUpICardEffect("Gain 2 memory", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, 1, false, EffectDiscription());
                 activateClass.SetHashString("GainMemory_BT19_015");
+                activateClass.SetIsInheritedEffect(true);
                 cardEffects.Add(activateClass);
 
                 string EffectDiscription()

+ 5 - 12
Assets/CardEffect/BT19/Red/BT19_091.cs

@@ -22,19 +22,12 @@ namespace DCGO.CardEffects.BT19
 
                 bool CanUseCondition(Hashtable hashtable)
                 {
-                    if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) => permanent.IsDigimon && permanent.TopCard.HasLevel &&  permanent.Level == 5 &&  permanent.TopCard.EqualsCardName("WarGrowlmon")))
+                    if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) => permanent.IsDigimon && permanent.TopCard.HasLevel && permanent.Level == 5))
                     {
-                        return true;
-                    }
-
-                    if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) => permanent.IsDigimon && permanent.TopCard.HasLevel && permanent.Level == 5 && permanent.TopCard.EqualsCardName("Taomon")))
-                    {
-                        return true;
-                    }
-
-                    if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) => permanent.IsDigimon && permanent.TopCard.HasLevel && permanent.Level == 5 && permanent.TopCard.EqualsCardName("Rapidmon")))
-                    {
-                        return true;
+                        if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) => permanent.TopCard.EqualsCardName("WarGrowlmon") || permanent.TopCard.EqualsCardName("Taomon") || permanent.TopCard.EqualsCardName("Rapidmon")))
+                        {
+                            return true;
+                        }
                     }
 
                     return false;