BT16_002.cs 933 B

12345678910111213141516171819202122232425262728293031
  1. using System.Collections.Generic;
  2. namespace DCGO.CardEffects.BT16
  3. {
  4. public class BT16_002 : 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 PermanentCondition()
  12. {
  13. if (CardEffectCommons.IsExistOnBattleArea(card))
  14. {
  15. if (card.PermanentOfThisCard().TopCard.CardColors.Count >= 2)
  16. {
  17. return true;
  18. }
  19. }
  20. return false;
  21. }
  22. cardEffects.Add(CardEffectFactory.ChangeSelfDPStaticEffect(1000, true, card, PermanentCondition));
  23. }
  24. return cardEffects;
  25. }
  26. }
  27. }