x89rt2 пре 5 месеци
родитељ
комит
3ba39fccbd
1 измењених фајлова са 11 додато и 0 уклоњено
  1. 11 0
      Assets/Scripts/CardEffect/AD1/Red/AD1_004.cs

+ 11 - 0
Assets/Scripts/CardEffect/AD1/Red/AD1_004.cs

@@ -124,6 +124,17 @@ namespace DCGO.CardEffects.AD1
 
             if (timing != EffectTiming.None)
             {
+                if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
+                {
+                    Permanent thisPermanent = card.PermanentOfThisCard();
+
+                    
+                    if(Condition())
+                        thisPermanent.AddBoost(new Permanent.DPBoost("AD1_004", count(), Condition));
+                    else
+                        thisPermanent.RemoveBoost("P_182");
+                }
+                
                 int count()
                 {
                     if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))