EX3_050.cs 1022 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Collections.Generic;
  2. namespace DCGO.CardEffects.EX3
  3. {
  4. public class EX3_050 : 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.HasMatchConditionOwnersPermanent(card, (permanent) => permanent.IsSuspended && permanent.IsTamer))
  16. {
  17. return true;
  18. }
  19. }
  20. return false;
  21. }
  22. cardEffects.Add(CardEffectFactory.ChangeSelfDPStaticEffect(changeValue: 2000, isInheritedEffect: true, card: card, condition: Condition));
  23. }
  24. return cardEffects;
  25. }
  26. }
  27. }