Преглед изворни кода

Add Blast DNA to Mastemon Ace

Andrej Erdelsky пре 2 година
родитељ
комит
e60a0fe278

+ 11 - 10
Assets/CardEffect/EX6/Red/RagnaLoardmonAce_EX6_011.cs

@@ -11,15 +11,17 @@ namespace DCGO.CardEffects.EX6
         {
             List<ICardEffect> cardEffects = new List<ICardEffect>();
             
-            #region Blast DNA Digivolve
+            #region Ace - Blast DNA Digivolve
             
             if (timing == EffectTiming.OnCounterTiming)
             {
-                List<BlastDNACondition> blastDNAConditions = new List<BlastDNACondition>();
-                blastDNAConditions.Add(new BlastDNACondition("Durandamon"));
-                blastDNAConditions.Add(new BlastDNACondition("Bryweludramon"));
-
-                cardEffects.Add(CardEffectFactory.BlastDNADigivolveEffect(card: card, blastDNAConditions: blastDNAConditions, condition: null));
+                List<BlastDNACondition> blastDNAConditions = new List<BlastDNACondition>
+                {
+                    new("Durandamon"),
+                    new("BryweLudramon")
+                };
+                cardEffects.Add(CardEffectFactory.BlastDNADigivolveEffect(card: card,
+                    blastDNAConditions: blastDNAConditions, condition: null));
             }
             
             #endregion
@@ -101,11 +103,10 @@ namespace DCGO.CardEffects.EX6
                             return false;
                         }
                         
-                        JogressConditionElement[] elements = new JogressConditionElement[]
+                        JogressConditionElement[] elements =
                         {
-                            new JogressConditionElement(PermanentCondition1, "a level 6 Red Digimon"),
-                            
-                            new JogressConditionElement(PermanentCondition2, "a level 6 Black Digimon"),
+                            new(PermanentCondition1, "a level 6 Red Digimon"),
+                            new(PermanentCondition2, "a level 6 Black Digimon")
                         };
                         
                         JogressCondition jogressCondition = new JogressCondition(elements, 0);

+ 8 - 3
Assets/CardEffect/EX6/Yellow/MastemonAce_EX6_029.cs

@@ -15,7 +15,13 @@ namespace DCGO.CardEffects.EX6
             
             if (timing == EffectTiming.OnCounterTiming)
             {
-                cardEffects.Add(CardEffectFactory.BlastDigivolveEffect(card: card, condition: null));
+                List<BlastDNACondition> blastDNAConditions = new List<BlastDNACondition>
+                {
+                    new("Angewomon"),
+                    new("LadyDevimon")
+                };
+                cardEffects.Add(CardEffectFactory.BlastDNADigivolveEffect(card: card,
+                    blastDNAConditions: blastDNAConditions, condition: null));
             }
             
             #endregion
@@ -100,8 +106,7 @@ namespace DCGO.CardEffects.EX6
                         JogressConditionElement[] elements =
                         {
                             new(PermanentCondition1, "a level 5 Yellow Digimon"),
-                            
-                            new(PermanentCondition2, "a level 5 Purple Digimon"),
+                            new(PermanentCondition2, "a level 5 Purple Digimon")
                         };
                         
                         JogressCondition jogressCondition = new JogressCondition(elements, 0);