S-E-I-G-E 1 год назад
Родитель
Сommit
e431fdb642
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Assets/Scripts/CardEffectCommons/KeyWordEffects/Pierce.cs

+ 2 - 2
Assets/Scripts/CardEffectCommons/KeyWordEffects/Pierce.cs

@@ -51,7 +51,7 @@ public partial class CardEffectCommons
     #endregion
 
     #region Target 1 Digimon gains [Pierce]
-    public static IEnumerator GainPierce(Permanent targetPermanent, EffectDuration effectDuration, ICardEffect activateClass, bool isInherited = false)
+    public static IEnumerator GainPierce(Permanent targetPermanent, EffectDuration effectDuration, ICardEffect activateClass)
     {
         if (targetPermanent == null) yield break;
         if (!IsPermanentExistsOnBattleArea(targetPermanent)) yield break;
@@ -73,7 +73,7 @@ public partial class CardEffectCommons
             return false;
         }
 
-        ActivateClass pierce = CardEffectFactory.PierceEffect(targetPermanent: targetPermanent, isInheritedEffect: isInherited, condition: CanUseCondition, rootCardEffect: activateClass, targetPermanent.TopCard);
+        ActivateClass pierce = CardEffectFactory.PierceEffect(targetPermanent: targetPermanent, isInheritedEffect: false, condition: CanUseCondition, rootCardEffect: activateClass, targetPermanent.TopCard);
 
         AddEffectToPermanent(targetPermanent: targetPermanent, effectDuration: effectDuration, card: card, cardEffect: pierce, timing: EffectTiming.OnDetermineDoSecurityCheck);