EX5_003.cs 819 B

1234567891011121314151617181920212223242526272829
  1. using System.Collections.Generic;
  2. public class EX5_003 : CEntity_Effect
  3. {
  4. public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
  5. {
  6. List<ICardEffect> cardEffects = new List<ICardEffect>();
  7. if (timing == EffectTiming.None)
  8. {
  9. bool Condition()
  10. {
  11. if (CardEffectCommons.IsExistOnBattleArea(card))
  12. {
  13. if (card.PermanentOfThisCard().IsSuspended)
  14. {
  15. return true;
  16. }
  17. }
  18. return false;
  19. }
  20. cardEffects.Add(CardEffectFactory.ChangeSelfDPStaticEffect(changeValue: 1000, isInheritedEffect: true, card: card, condition: Condition));
  21. }
  22. return cardEffects;
  23. }
  24. }