mbunch_kascope 1 год назад
Родитель
Сommit
8130be0b63

+ 1 - 1
Assets/CardEffect/BT14/Blue/BT14_029.cs

@@ -81,7 +81,7 @@ namespace DCGO.CardEffects.BT14
 
                 string EffectDiscription()
                 {
-                    return "[When Attacking][Once Per Turn] If your opponent has no Digimon with more digivolution cards than this Digimon, unsuspend this Digimon.";
+                    return "[When Attacking][Once Per Turn] If your opponent has no Digimon with as many or more digivolution cards than this Digimon, unsuspend this Digimon.";
                 }
 
                 bool PermanentCondition(Permanent permanent)

+ 5 - 6
Assets/CardEffect/BT14/Green/BT14_046.cs

@@ -397,19 +397,18 @@ namespace DCGO.CardEffects.BT14
                 changeCostClass.SetIsInheritedEffect(true);
                 cardEffects.Add(changeCostClass);
 
+                changeCostClass.SetMaxCountPerTurn(1);
+
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     if (CardEffectCommons.IsExistOnBattleArea(card))
                     {
                         if (CardEffectCommons.IsOwnerTurn(card))
                         {
-                            if (!card.cEntity_EffectController.isOverMaxCountPerTurn(activateClass2, activateClass2.MaxCountPerTurn))
-                            {
-                                if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) =>
+                            if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, (permanent) =>
                                 permanent.TopCard.CardColors.Contains(CardColor.Green) && permanent.IsTamer))
-                                {
-                                    return true;
-                                }
+                            {
+                                return true;
                             }
                         }
                     }

+ 0 - 5
Assets/CardEffect/BT15/Black/BT15_057.cs

@@ -142,11 +142,6 @@ namespace DCGO.CardEffects.BT15
                 activateDeletion.SetHashString("Play1NumemonFromTrashESS_BT15_057");
                 cardEffects.Add(activateDeletion);
 
-                if (card.PermanentOfThisCard() != null)
-                {
-                    activateDeletion.SetEffectSourcePermanent(card.PermanentOfThisCard());
-                }
-
                 string EffectDiscription()
                 {
                     return "[On Deletion] You may play 1 Digimon with [Numemon] in it's name from your trash suspended without paying its memory cost.";

+ 1 - 1
Assets/CardEffect/BT16/Yellow/BT16_094.cs

@@ -27,7 +27,7 @@ namespace DCGO.CardEffects.BT16
 
                 bool CanSelectCardCondition(CardSource cardSource)
                 {
-                    if (cardSource.CardColors.Contains(CardColor.Yellow) || cardSource.EqualsCardName("Four Great Dragons"))
+                    if (cardSource.CardColors.Contains(CardColor.Yellow) || cardSource.EqualsTraits("Four Great Dragons"))
                     {
                         return true;
                     }

+ 3 - 3
Assets/CardEffect/BT19/Blue/BT19_027.cs

@@ -136,7 +136,7 @@ namespace DCGO.CardEffects.BT19
                 bool CanSelectOpponentPermanentLevelCondition(Permanent permanent, int level)
                 {
                     return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card) &&
-                           permanent.TopCard.HasLevel && permanent.Level <= level;
+                           permanent.TopCard.HasLevel && permanent.TopCard.Level <= level;
                 }
 
                 bool CanActivateCondition(Hashtable hashtable)
@@ -177,11 +177,11 @@ namespace DCGO.CardEffects.BT19
 
                     if(selectedPermanent != null)
                     {
-                        int selectedLevel = selectedPermanent.Level;
+                        int selectedLevel = selectedPermanent.TopCard.Level;
 
                         yield return ContinuousController.instance.StartCoroutine(
                             new DeckBottomBounceClass(new List<Permanent> { selectedPermanent }, hashtable).DeckBounce());
-
+                        UnityEngine.Debug.Log($"Selected Level: {selectedLevel}");
                         if (selectedLevel > 0)
                         {
                             if (CardEffectCommons.HasMatchConditionPermanent(permanent =>

+ 1 - 1
ProjectSettings/ProjectSettings.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:23671be3fd0494e2ea8c9d20a08188b826298081740d4cf8fde6cced7b142561
+oid sha256:2450bf9effc9c995e95f3c75b3c22bef1a4c5418d3c45ef66d08ee2ec8384562
 size 20168