mbunch_kascope пре 2 година
родитељ
комит
b0ee503576

+ 12 - 6
Assets/CardEffect/BT15/Green/HerculesKabuterimon_BT15_053.cs

@@ -40,25 +40,31 @@ public class HerculesKabuterimon_BT15_053 : CEntity_Effect
                 {
                     if (CardEffectCommons.IsOwnerTurn(card))
                     {
+                        if (timing == EffectTiming.OnEnterFieldAnyone)
+                        {
+                            return CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card);
+                        }
+
                         return true;
                     }
                 }
 
-                return CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card);
+                return false;
             }
 
             bool CanActivateCondition(Hashtable hashtable)
             {
                 if (CardEffectCommons.IsExistOnBattleArea(card))
                 {
-                    if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
+                    if (timing != EffectTiming.OnEnterFieldAnyone)
                     {
-                        return true;
+                        if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
+                            return true;
                     }
-
-                    if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition1))
+                    else
                     {
-                        return true;
+                        if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition1))
+                            return true;
                     }
                 }
 

+ 0 - 2
Assets/CardEffect/BT15/Green/Lillymon_X_Antibody_BT15_051.cs

@@ -53,9 +53,7 @@ public class Lillymon_X_Antibody_BT15_051 : CEntity_Effect
                     if (permanent.IsDigimon)
                     {
                         if (permanent.IsSuspended)
-                        {
                             return true;
-                        }
                     }
                 }
 

+ 18 - 2
Assets/CardEffect/BT15/Green/Rosemon_X_Antibody_BT15_054.cs

@@ -10,6 +10,22 @@ public class Rosemon_X_Antibody_BT15_054 : CEntity_Effect
     {
         List<ICardEffect> cardEffects = new List<ICardEffect>();
 
+        //Alternate Digivolution Requirement
+        if (timing == EffectTiming.None)
+        {
+            bool PermanentCondition(Permanent targetPermanent)
+            {
+                return targetPermanent.TopCard.CardNames.Contains("Rosemon");
+            }
+
+            cardEffects.Add(CardEffectFactory.AddSelfDigivolutionRequirementStaticEffect(
+                permanentCondition: PermanentCondition,
+                digivolutionCost: 1,
+                ignoreDigivolutionRequirement: false,
+                card: card,
+                condition: null));
+        }
+
         #region When Digivolving
         if (timing == EffectTiming.OnEnterFieldAnyone)
         {
@@ -185,7 +201,7 @@ public class Rosemon_X_Antibody_BT15_054 : CEntity_Effect
 
                     selectPermanentEffect.SetUp(
                         selectPlayer: card.Owner,
-                        canTargetCondition: CanSelectPermanentCondition,
+                        canTargetCondition: PermanentCondition,
                         canTargetCondition_ByPreSelecetedList: null,
                         canEndSelectCondition: null,
                         maxCount: maxCount,
@@ -196,7 +212,7 @@ public class Rosemon_X_Antibody_BT15_054 : CEntity_Effect
                         mode: SelectPermanentEffect.Mode.Custom,
                         cardEffect: activateClass);
 
-                    selectPermanentEffect.SetUpCustomMessage("Select 1 Digimon to unsuspend.", "The opponent is selecting 1 Digimon to unsuspend.");
+                    selectPermanentEffect.SetUpCustomMessage("Select 1 Digimon to suspend.", "The opponent is selecting 1 Digimon to suspend.");
 
                     yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
                 }

+ 13 - 13
Assets/Scripts/TurnStateMachine.cs

@@ -2071,7 +2071,7 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
                     }
                     #endregion
 
-                    #region ドラッグ終了時
+                    #region At the end of drag
                     void OnDropCard(List<DropArea> dropAreas)
                     {
                         if (isSync)
@@ -2098,18 +2098,18 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
                             handCard.OffJogressPlayText();
                             handCard.OffBurstPlayText();
 
-                            #region カードをプレイ
+                            #region play cards
 
                             bool isOnHand = dropAreas.Count((dropArea) => dropArea.IsChildThisDropArea(GManager.instance.You.HandDropArea.gameObject)) > 0;
                             bool selected = false;
 
-                            #region 手札領域でドロップしていない場合
+                            #region If it is not dropped in the hand area
                             if (!isOnHand)
                             {
-                                #region キャラクター・フィールド
+                                #region character field
                                 if (handCard.cardSource.IsPermanent)
                                 {
-                                    #region 枠でドロップしているかチェック
+                                    #region Check if it is dropped in the frame
                                     foreach (FieldCardFrame fieldCardFrame in GManager.instance.You.fieldCardFrames)
                                     {
                                         if (handCard.cardSource.CanPlayCardTargetFrame(fieldCardFrame, true, null) || handCard.cardSource.CanJogressFromTargetPermanent(fieldCardFrame.GetFramePermanent(), true) || handCard.cardSource.CanBurstDigivolutionFromTargetPermanent(fieldCardFrame.GetFramePermanent(), true))
@@ -2146,25 +2146,25 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
                                                     bool canJogressDigivolution = handCard.cardSource.CanJogressFromTargetPermanent(fieldCardFrame.GetFramePermanent(), true);
                                                     bool canBurstDigivolution = handCard.cardSource.CanBurstDigivolutionFromTargetPermanent(fieldCardFrame.GetFramePermanent(), true);
 
-                                                    //通常進化だけ可能
+                                                    //Only normal evolution possible
                                                     if (canNormalDigivolution && !canJogressDigivolution && !canBurstDigivolution)
                                                     {
                                                         Digivolution();
                                                     }
 
-                                                    //ジョグレスだけ可能
+                                                    //Only jogless is possible
                                                     else if (!canNormalDigivolution && canJogressDigivolution && !canBurstDigivolution)
                                                     {
                                                         SelectJogressDigivolutionCards(true);
                                                     }
 
-                                                    //バースト進化だけ可能
+                                                    //Only burst evolution possible
                                                     else if (!canNormalDigivolution && !canJogressDigivolution && canBurstDigivolution)
                                                     {
                                                         SelectBurstDigivolutionCards(true);
                                                     }
 
-                                                    //通常進化とジョグレスが可能
+                                                    //Normal evolution and Jogress possible
                                                     else if (canNormalDigivolution && canJogressDigivolution && !canBurstDigivolution)
                                                     {
                                                         Vector3 Pos = handCard.transform.position;
@@ -2213,7 +2213,7 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
                                                         }
                                                     }
 
-                                                    //通常進化とバースト進化が可能
+                                                    //Normal evolution and burst evolution possible
                                                     else if (canNormalDigivolution && !canJogressDigivolution && canBurstDigivolution)
                                                     {
                                                         Vector3 Pos = handCard.transform.position;
@@ -2262,7 +2262,7 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
                                                         }
                                                     }
 
-                                                    #region ジョグレス進化元を選択
+                                                    #region Select Jogress evolution source
                                                     void SelectJogressDigivolutionCards(bool move)
                                                     {
                                                         Vector3 Pos = handCard.transform.position;
@@ -2362,7 +2362,7 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
                                                     }
                                                     #endregion
 
-                                                    #region 通常進化する
+                                                    #region usually evolves
                                                     void Digivolution()
                                                     {
                                                         photonView.RPC("SetPlayCard", RpcTarget.All, handCard.cardSource.CardIndex, fieldCardFrame.FrameID, new int[0], -1);
@@ -2769,7 +2769,7 @@ public class TurnStateMachine : MonoBehaviourPunCallbacks
     }
     #endregion
 
-    #region 手札のカードがプレイ可能かどうかを取得
+    #region Get whether the card in hand is playable
     IEnumerator SetHandCardPlayablity(CardSource cardSource)
     {
         if (cardSource.IsOption) yield break;