SZAND\msx_2 1 год назад
Родитель
Сommit
47faeac52b

+ 10 - 10
ActionTowerDefense/Assets/Scenes/SampleScene.unity

@@ -16437,7 +16437,6 @@ MonoBehaviour:
   lineMaxScale: 0.5
   lineInCamera: {fileID: 3490440115155743560}
   isSplit: 0
-  rapidMpReplySpeed: 20
   minDis: 2
   targetRotation: {x: 0, y: 0, z: 0, w: 0}
   targetViewport0:
@@ -16479,6 +16478,7 @@ MonoBehaviour:
       y: 0
       width: 0.5
       height: 1
+  XYRatio: 2.5
 --- !u!4 &1055802830
 Transform:
   m_ObjectHideFlags: 0
@@ -27722,7 +27722,7 @@ Transform:
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 2045679344}
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 77, y: 12, z: 0}
+  m_LocalPosition: {x: 77, y: 8.4, z: 0}
   m_LocalScale: {x: 100, y: 0.1, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children: []
@@ -30440,31 +30440,31 @@ MonoBehaviour:
   - spiritPrefab: {fileID: 8639832132491289359, guid: 4af781eb437434d48b6ad6d3816771e8, type: 3}
     type: 0
     quality: 0
-    corpse: 15
+    corpse: 0
     introduction: {fileID: 0}
     ultimateTimes: 1
-    tranHp: 0
+    tranHp: 1500
   - spiritPrefab: {fileID: 5440846222648032759, guid: 60377cb19b4e5e2479fc1a15ec044a7d, type: 3}
     type: 2
     quality: 0
-    corpse: 20
+    corpse: 0
     introduction: {fileID: 0}
     ultimateTimes: 1
-    tranHp: 0
+    tranHp: 2000
   - spiritPrefab: {fileID: 2437299196472462361, guid: 379837406bb87e445bf55a9b3ec14e6c, type: 3}
     type: 1
     quality: 0
-    corpse: 25
+    corpse: 0
     introduction: {fileID: 0}
     ultimateTimes: 2
-    tranHp: 0
+    tranHp: 2500
   - spiritPrefab: {fileID: 2437299196472462361, guid: 8489325390fb140489cba3dec98fd048, type: 3}
     type: 3
     quality: 0
-    corpse: 20
+    corpse: 0
     introduction: {fileID: 0}
     ultimateTimes: 1
-    tranHp: 0
+    tranHp: 2500
   times: 0
   qualityBackgrounds:
   - {fileID: 5828154296873993895, guid: 7fdfcd4011577684fb53b87f7dcbf8ec, type: 3}

+ 2 - 0
ActionTowerDefense/Assets/Scripts/Spirits/Base_Spirits/SpiritSystem.cs

@@ -172,6 +172,7 @@ public class SpiritSystem : MonoBehaviour
                 {
                     s1.currentSpirit = s1.TranSpirit(spirit);
                     tranHp1 = s1.hps[0];
+                    print(tranHp1);
                 }
                 break;
             case 1:
@@ -272,6 +273,7 @@ public class SpiritSystem : MonoBehaviour
                     choose1.transform.position = player1cards[curCard1].transform.position;
                     p1Spirits.currentSpirit = p1Spirits.ownSpirits[curCard1];
                     tranHp1 = s1.hps[curCard1];
+                    print(tranHp1);
                 }
                 break;
             case 1:

+ 1 - 1
ActionTowerDefense/Assets/Scripts/Spirits/ESpirits_Float.cs

@@ -105,7 +105,7 @@ public class ESpirits_Float : MonoBehaviour
 
     private void FollowPlayer()
     {
-        curLock.transform.position = Vector3.SmoothDamp(curLock.transform.position, target.transform.position, ref sp, 0.8f);
+        curLock.transform.position = Vector3.SmoothDamp(curLock.transform.position, target.transform.position, ref sp, 0.4f);
         if (Vector3.Distance(curLock.transform.position, target.transform.position) <= 1f)
         {
             curLock.transform.position = target.transform.position;