Explorar el Código

st18/19 fixes, st10 fixes

mbunch_kascope hace 1 año
padre
commit
26de787c5c

+ 3 - 9
Assets/CardEffect/ST10/Yellow/Mustymon_ST10_06.cs

@@ -309,15 +309,9 @@ public class Mustymon_ST10_06 : CEntity_Effect
 
             bool PermanentCondition(Permanent permanent)
             {
-                if (permanent.IsDigimon)
-                {
-                    if (permanent != card.PermanentOfThisCard())
-                    {
-                        return true;
-                    }
-                }
-
-                return false;
+                return CardEffectCommons.IsOwnerPermanent(permanent, card) &&
+                       permanent.IsDigimon &&
+                       permanent != card.PermanentOfThisCard();
             }
 
             bool CanSelectPermanentCondition(Permanent permanent)

+ 1 - 1
Assets/CardEffect/ST18/Green/Galemon_ST18_08.cs

@@ -14,7 +14,7 @@ namespace DCGO.CardEffects.ST18
             if (timing == EffectTiming.SecuritySkill)
             {
                 ActivateClass activateClass = new ActivateClass();
-                activateClass.SetUpICardEffect("Play a Digimon from your hand or trash.", CanUseCondition, card);
+                activateClass.SetUpICardEffect("Play a card from your hand or trash.", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDescription());
                 activateClass.SetIsSecurityEffect(true);
                 activateClass.SetIsDigimonEffect(true);

+ 2 - 1
Assets/CardEffect/ST18/Green/ShotoKazama_ST18_14.cs

@@ -49,7 +49,8 @@ namespace DCGO.CardEffects.ST18
 
                 bool DefendingPermanent(Permanent permanent)
                 {
-                    return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card);
+                    return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card) &&
+                            GManager.instance.attackProcess.DefendingPermanent != permanent;
                 }
 
                 bool CanActivateCondition(Hashtable hashtable)

+ 1 - 1
Assets/CardEffect/ST19/Yellow/ShoeShoemon_ST19_08.cs

@@ -14,7 +14,7 @@ namespace DCGO.CardEffects.ST19
             if (timing == EffectTiming.SecuritySkill)
             {
                 ActivateClass activateClass = new ActivateClass();
-                activateClass.SetUpICardEffect("Play a Digimon from your hand or trash.", CanUseCondition, card);
+                activateClass.SetUpICardEffect("Play a card from your hand or trash.", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDescription());
                 activateClass.SetIsSecurityEffect(true);
                 cardEffects.Add(activateClass);