Quellcode durchsuchen

fixing using for editor script, revert of some 1.7.2 changes

mbunch_kascope vor 1 Jahr
Ursprung
Commit
6abd918402

+ 2 - 2
Assets/CardBaseEntity/ST9/Blue/Digimon/ST9_06.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:165e9d94d1669a0e4de4117de6dc68a36f6629ac0a99a6fdddfa6d3d67a67b78
-size 1794
+oid sha256:0c49af4e767481364e088cf4bc9fec1771622e05127c0b7ebf8d94846dce9a04
+size 1799

+ 2 - 2
Assets/CardBaseEntity/ST9/Blue/Digimon/ST9_06_P1.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:1d0e9b68b1be03b084b9483adf4c8ce6e2654dbe8891f1240daf3ed78ed1e3e4
-size 1800
+oid sha256:9e8d617e51248fa4b1646b3ddc643158e56b863aec0f0508bbf14d94b85375ab
+size 1805

+ 2 - 2
Assets/CardBaseEntity/ST9/Blue/Digimon/ST9_06_P2.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:7ffd1aa28eebfc3cd47c831629b3137157789ef2a3c351b4f5323679d3a99ae0
-size 1316
+oid sha256:ea5feb51f2c8a0597afb2eb566c8e13e45cb9fb3cdbd36eb86f96a2bb07072ad
+size 1319

+ 2 - 2
Assets/CardEffect/EX8/Purple/EX8_059.cs

@@ -193,7 +193,7 @@ namespace DCGO.CardEffects.EX8
                                             SelectHandEffect selectHandEffect = GManager.instance.GetComponent<SelectHandEffect>();
 
                                             selectHandEffect.SetUp(
-                                                selectPlayer: card.Owner.Enemy,
+                                                selectPlayer: selectedPermanent.TopCard.Owner,
                                                 canTargetCondition: (cardSource) => true,
                                                 canTargetCondition_ByPreSelecetedList: null,
                                                 canEndSelectCondition: null,
@@ -373,7 +373,7 @@ namespace DCGO.CardEffects.EX8
                                             SelectHandEffect selectHandEffect = GManager.instance.GetComponent<SelectHandEffect>();
 
                                             selectHandEffect.SetUp(
-                                                selectPlayer: card.Owner.Enemy,
+                                                selectPlayer: selectedPermanent.TopCard.Owner,
                                                 canTargetCondition: (cardSource) => true,
                                                 canTargetCondition_ByPreSelecetedList: null,
                                                 canEndSelectCondition: null,

+ 1 - 1
Assets/CardEffect/P/Green/P_143.cs

@@ -42,7 +42,7 @@ namespace DCGO.CardEffects.P
                     {
                         if (card.Owner.GetBreedingAreaPermanents().Count == 0)
                         {
-                            return GManager.instance.turnStateMachine.gameContext.TurnPlayer.CanMove;
+                            return true;
                         }
                     }
                         return false;

+ 2 - 2
Assets/CardEffect/P/White/P_156.cs

@@ -162,7 +162,7 @@ namespace DCGO.CardEffects.P
                                     canTargetCondition_ByPreSelecetedList: null,
                                     canEndSelectCondition: null,
                                     maxCount: 1,
-                                    canNoSelect: false,
+                                    canNoSelect: true,
                                     canEndNotMax: false,
                                     isShowOpponent: true,
                                     selectCardCoroutine: null,
@@ -189,7 +189,7 @@ namespace DCGO.CardEffects.P
                                     afterSelectCardCoroutine: DigimonSelected,
                                     message: "Select Digimon to play.",
                                     maxCount: 1,
-                                    canEndNotMax: false,
+                                    canEndNotMax: true,
                                     isShowOpponent: true,
                                     mode: SelectCardEffect.Mode.Custom,
                                     root: SelectCardEffect.Root.Trash,

+ 2 - 8
Assets/Editor/Fixing Scripts/FixErrataImages.cs

@@ -1,17 +1,11 @@
-using System;
+using DCGO.CardEntities;
 using System.Collections;
 using System.Collections.Generic;
 using System.Linq;
+using Unity.EditorCoroutines.Editor;
 using UnityEditor;
-using UnityEditor.VersionControl;
 using UnityEngine;
-using UnityEngine.Analytics;
 using UnityEngine.Networking;
-using WebSocketSharp;
-using DCGO.CardEntities;
-using Unity.EditorCoroutines.Editor;
-using MHLab.Patch.Core.IO;
-using System.Runtime.CompilerServices;
 
 namespace DCGO.Tools.Repair
 {