x89rt2 5 сар өмнө
parent
commit
86c6f8f686

+ 6 - 15
Assets/Scripts/CardEffect/BT16/Blue/BT16_028.cs

@@ -226,21 +226,12 @@ namespace DCGO.CardEffects.BT16
 
                 bool CanUseCondition(Hashtable hashtable)
                 {
-                    if (CardEffectCommons.CanTriggerOnPermanentPlay(hashtable, IsOpponentDigimon) || CardEffectCommons.CanTriggerWhenPermanentDigivolving(hashtable, IsOpponentDigimon))
-                    {
-                        if (CardEffectCommons.IsByEffect(hashtable, null))
-                        {
-                            if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, HasTamer))
-                            {
-                                if (card.Owner.HandCards.Count(HasFighterMode) >= 1)
-                                {
-                                    return true;
-                                }
-                            }
-                        }
-                    }
-
-                    return false;
+                    return CardEffectCommons.IsExistOnBattleAreaDigimon(card)
+                        && (CardEffectCommons.CanTriggerOnPermanentPlay(hashtable, IsOpponentDigimon)
+                            || CardEffectCommons.CanTriggerWhenPermanentDigivolving(hashtable, IsOpponentDigimon))
+                        && CardEffectCommons.IsByEffect(hashtable, null))
+                        && CardEffectCommons.HasMatchConditionOwnersPermanent(card, HasTamer))
+                        && card.Owner.HandCards.Count(HasFighterMode) >= 1);
                 }
 
                 bool CanActivateCondition(Hashtable hashtable)