Explorar o código

code cleanup + better card effect description

Lewisaaronwelch hai 4 meses
pai
achega
79d6904d4b
Modificáronse 1 ficheiros con 3 adicións e 4 borrados
  1. 3 4
      Assets/Scripts/CardEffect/ST23/Green/ST23_09.cs

+ 3 - 4
Assets/Scripts/CardEffect/ST23/Green/ST23_09.cs

@@ -70,7 +70,7 @@ namespace DCGO.CardEffects.ST23
 
                 bool PermanentCondition(Permanent permanent)
                 {
-                    return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card) && CardEffectCommons.IsMinDP(permanent, card.Owner.Enemy);
+                    return CardEffectCommons.IsMinDP(permanent, card.Owner.Enemy);
                 }
 
                 if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, PermanentCondition))
@@ -132,7 +132,7 @@ namespace DCGO.CardEffects.ST23
             if (timing == EffectTiming.OptionSkill)
             {
                 ActivateClass activateClass = new ActivateClass();
-                activateClass.SetUpICardEffect("Suspend 1 digimon, bounce 1 highest DP digimon to bottom deck", CanUseCondition, card);
+                activateClass.SetUpICardEffect("Suspend 1 opponent's digimon, bounce 1 of their highest DP suspended digimon to bottom deck", CanUseCondition, card);
                 activateClass.SetUpActivateClass(null, ActivateCoroutine, -1, false, EffectDiscription());
                 cardEffects.Add(activateClass);
 
@@ -149,8 +149,7 @@ namespace DCGO.CardEffects.ST23
                     => CardEffectCommons.IsMaxDP(permanent, card.Owner.Enemy, CanBouncePermamentCondition);
 
                 bool CanBouncePermamentCondition(Permanent permanent)
-                    => CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card)
-                        && permanent.IsSuspended;
+                    => permanent.IsSuspended;
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 {