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

Merge branch 'develop' of https://github.com/DCGO2/DCGO into develop

Michael8818 4 месяцев назад
Родитель
Сommit
28b3d7abc8
1 измененных файлов с 5 добавлено и 7 удалено
  1. 5 7
      Assets/Scripts/CardEffect/ST24/Yellow/ST24_07.cs

+ 5 - 7
Assets/Scripts/CardEffect/ST24/Yellow/ST24_07.cs

@@ -18,13 +18,11 @@ namespace DCGO.CardEffects.ST24
             {
                 bool PermanentCondition(Permanent permanent)
                 {
-                    return permanent.TopCard.IsLevel5 
-                        && (permanent.TopCard.EqualsTraits("DATA SQUAD")
-                            || permanent.TopCard.ContainsCardName("RizeGreymon"));
-
+                    return permanent.TopCard.EqualsTraits("DATA SQUAD")
+                            || permanent.TopCard.ContainsCardName("RizeGreymon");
                 }
-
-                cardEffects.Add(CardEffectFactory.AddSelfDigivolutionRequirementStaticEffect(PermanentCondition, 3, true, card, null));
+            
+                cardEffects.Add(CardEffectFactory.AddSelfDigivolutionRequirementStaticEffect(PermanentCondition, 3, true, card, null, level: 5));
             }
             #endregion
 
@@ -366,4 +364,4 @@ namespace DCGO.CardEffects.ST24
             return cardEffects;
         }
     }
-}
+}