BT13_004.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections.Generic;
  2. namespace DCGO.CardEffects.BT13
  3. {
  4. public class BT13_004 : CEntity_Effect
  5. {
  6. public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
  7. {
  8. List<ICardEffect> cardEffects = new List<ICardEffect>();
  9. if (timing == EffectTiming.None)
  10. {
  11. bool Condition()
  12. {
  13. if (CardEffectCommons.IsExistOnBattleArea(card))
  14. {
  15. if (CardEffectCommons.IsOwnerTurn(card))
  16. {
  17. if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, (permanent) => permanent.IsDigimon && permanent.IsSuspended))
  18. {
  19. return true;
  20. }
  21. }
  22. }
  23. return false;
  24. }
  25. cardEffects.Add(CardEffectFactory.ChangeSelfDPStaticEffect(changeValue: 1000, isInheritedEffect: true, card: card, condition: Condition));
  26. }
  27. return cardEffects;
  28. }
  29. }
  30. }