ST20_01.cs 904 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. //ST20-01 Koromon
  4. namespace DCGO.CardEffects.ST20
  5. {
  6. public class ST20_01 : CEntity_Effect
  7. {
  8. public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
  9. {
  10. List<ICardEffect> cardEffects = new List<ICardEffect>();
  11. #region Inherited Effect
  12. if (timing == EffectTiming.None)
  13. {
  14. bool condition()
  15. {
  16. return card.PermanentOfThisCard().TopCard.HasAdventureTraits;
  17. }
  18. cardEffects.Add(CardEffectFactory.ChangeSelfDPStaticEffect(
  19. changeValue: 1000,
  20. isInheritedEffect: true,
  21. card: card,
  22. condition: condition));
  23. }
  24. #endregion
  25. return cardEffects;
  26. }
  27. }
  28. }