BT14_021.cs 559 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. namespace DCGO.CardEffects.BT14
  3. {
  4. public class BT14_021 : 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.WhenPermanentWouldBeDeleted)
  10. {
  11. cardEffects.Add(CardEffectFactory.EvadeSelfEffect(isInheritedEffect: false, card: card, condition: null));
  12. }
  13. return cardEffects;
  14. }
  15. }
  16. }