Răsfoiți Sursa

修复捡魂加两次蓝,召唤消耗蓝量减半

LAPTOP-OM1V99U2\永远de小亡灵 1 an în urmă
părinte
comite
cf1c81b601

+ 1 - 1
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Arrow.prefab

@@ -1098,7 +1098,7 @@ MonoBehaviour:
   player: {fileID: 0}
   playerID: 0
   id: 0
-  costMp: 25
+  costMp: 15
   totalSummonTime: 0.5
   canFly: 1
   isBack: 0

+ 1 - 1
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Giant.prefab

@@ -545,7 +545,7 @@ MonoBehaviour:
   player: {fileID: 0}
   playerID: 0
   id: 0
-  costMp: 150
+  costMp: 75
   totalSummonTime: 0.5
   canFly: 0
   isBack: 0

+ 2 - 1
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Sword.prefab

@@ -229,6 +229,7 @@ MonoBehaviour:
   beLarger: 0
   toLargeSize: 0
   cookEffect: {fileID: 0}
+  attack1ShootCanTransmit: 0
   matState: 1
   spinee: {fileID: 0}
   mesh: {fileID: 0}
@@ -287,7 +288,7 @@ MonoBehaviour:
   player: {fileID: 0}
   playerID: 0
   id: 0
-  costMp: 100
+  costMp: 50
   totalSummonTime: 0.5
   canFly: 0
   isBack: 0

+ 6 - 0
ActionTowerDefense/Assets/Resources/Prefab/soul.prefab

@@ -9844,6 +9844,12 @@ MonoBehaviour:
   to: {x: 0, y: 0, z: 0}
   time: 0
   Spirits_Invisible_NotFind: 0
+  haveTransmit: 0
+  transmitTime: 0
+  portalsController: {fileID: 0}
+  isSourPurple: 0
+  type: 0
+  spiritSystem: {fileID: 0}
 --- !u!54 &1723151111827507801
 Rigidbody:
   m_ObjectHideFlags: 0

+ 0 - 2
ActionTowerDefense/Assets/Scripts/Soul.cs

@@ -47,14 +47,12 @@ public class Soul : MonoBehaviour
     }
     public void Burst(Vector3 velocity)
     {
-        rb.isKinematic = false;
         rb.velocity = velocity;
         collected = false;
     }
 
     public async void BeCollect(int id)
     {
-        rb.isKinematic = true;
         collected = true;
         tweenPos.from = transform;
         tweenPos.to = PlayersInput.instance[id].transform;