|
|
@@ -0,0 +1,26 @@
|
|
|
+using System.Collections.Generic;
|
|
|
+
|
|
|
+// Onibimon
|
|
|
+namespace DCGO.CardEffects.EX12
|
|
|
+{
|
|
|
+ public class EX12_004 : CEntity_Effect
|
|
|
+ {
|
|
|
+ public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
|
|
|
+ {
|
|
|
+ List<ICardEffect> cardEffects = new List<ICardEffect>();
|
|
|
+
|
|
|
+ #region Inherited Fortitude
|
|
|
+ if (timing == EffectTiming.OnDestroyedAnyone)
|
|
|
+ {
|
|
|
+ bool PermanentCondition()
|
|
|
+ {
|
|
|
+ return card.PermanentOfThisCard().TopCard.EqualsTraits("TB");
|
|
|
+ }
|
|
|
+
|
|
|
+ cardEffects.Add(CardEffectFactory.FortitudeSelfEffect(isInheritedEffect: true, card: card, condition: PermanentCondition));
|
|
|
+ }
|
|
|
+ #endregion
|
|
|
+ return cardEffects;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|