Procházet zdrojové kódy

Update BT25_103.cs

x89rt2 před 2 měsíci
rodič
revize
c6a52c0eaa
1 změnil soubory, kde provedl 15 přidání a 15 odebrání
  1. 15 15
      Assets/Scripts/CardEffect/BT25/Red/BT25_103.cs

+ 15 - 15
Assets/Scripts/CardEffect/BT25/Red/BT25_103.cs

@@ -160,29 +160,29 @@ namespace DCGO.CardEffects.BT25
                     {
                         if (cardSources.Count > 0)
                             used = true;
-                        
+
                         yield return null;
                     }
+                }
 
-                    List<SelectionElement<bool>> selectionElements1 = new List<SelectionElement<bool>>()
-                    {
-                        new SelectionElement<bool>(message: $"Yes", value : true, spriteIndex: 0),
-                        new SelectionElement<bool>(message: $"No", value : false, spriteIndex: 1),
-                    };
+                List<SelectionElement<bool>> selectionElements1 = new List<SelectionElement<bool>>()
+                {
+                    new SelectionElement<bool>(message: $"Yes", value : true, spriteIndex: 0),
+                    new SelectionElement<bool>(message: $"No", value : false, spriteIndex: 1),
+                };
 
-                    string selectPlayerMessage1 = "Will you end the attack?";
-                    string notSelectPlayerMessage1 = "The opponent is choosing if they will end the attack.";
+                string selectPlayerMessage1 = "Will you end the attack?";
+                string notSelectPlayerMessage1 = "The opponent is choosing if they will end the attack.";
 
-                    GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements1, selectPlayer: card.Owner, selectPlayerMessage: selectPlayerMessage1, notSelectPlayerMessage: notSelectPlayerMessage1);
+                GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements1, selectPlayer: card.Owner, selectPlayerMessage: selectPlayerMessage1, notSelectPlayerMessage: notSelectPlayerMessage1);
 
-                    yield return ContinuousController.instance.StartCoroutine(GManager.instance.userSelectionManager.WaitForEndSelect());
+                yield return ContinuousController.instance.StartCoroutine(GManager.instance.userSelectionManager.WaitForEndSelect());
 
-                    if (GManager.instance.userSelectionManager.SelectedBoolValue)
-                    {
-                        used = true;
+                if (GManager.instance.userSelectionManager.SelectedBoolValue)
+                {
+                    used = true;
 
-                        yield return ContinuousController.instance.StartCoroutine(GManager.instance.attackProcess.EndAttack());
-                    }
+                    yield return ContinuousController.instance.StartCoroutine(GManager.instance.attackProcess.EndAttack());
                 }
 
                 if (!used) activateClass.RemoveUse();