فهرست منبع

Added Kokabuterimon Inherit

Albert Vasconcellos 2 سال پیش
والد
کامیت
8a2b2cc8d3
1فایلهای تغییر یافته به همراه20 افزوده شده و 0 حذف شده
  1. 20 0
      Assets/CardEffect/BT16/Green/KoKabuterimon_BT16_037.cs

+ 20 - 0
Assets/CardEffect/BT16/Green/KoKabuterimon_BT16_037.cs

@@ -70,6 +70,26 @@ namespace DCGO.CardEffects.BT16
             }
             }
             #endregion
             #endregion
 
 
+            #region Inherit
+            if (timing == EffectTiming.None)
+            {
+                bool Condition()
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        if (card.PermanentOfThisCard().IsSuspended)
+                        {
+                            return true;
+                        }
+                    }
+
+                    return false;
+                }
+
+                cardEffects.Add(CardEffectFactory.ChangeSelfDPStaticEffect(changeValue: 1000, isInheritedEffect: true, card: card, condition: Condition));
+            }
+            #endregion
+
             return cardEffects;
             return cardEffects;
         }
         }
     }
     }