Эх сурвалжийг харах

修复弓箭手只会射出两支箭

wgl 7 сар өмнө
parent
commit
2a35b1f247

+ 2 - 2
ActionTowerDefense/Assets/Animations/Demonic_Arrow/DemonicArrowCollider_Attack1.anim

@@ -303,12 +303,12 @@ AnimationClip:
     data: 
     objectReferenceParameter: {fileID: 0}
     floatParameter: 0
-    intParameter: 0
+    intParameter: 1
     messageOptions: 0
   - time: 0.5833333
     functionName: Attack_summonShootEvent
     data: 
     objectReferenceParameter: {fileID: 0}
     floatParameter: 0
-    intParameter: 0
+    intParameter: 2
     messageOptions: 0

+ 12 - 2
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Arrow.prefab

@@ -1009,7 +1009,7 @@ MonoBehaviour:
   canHitFly: 1
   isNonAttack: 0
   attackTime: 0
-  totalAttack_summonTime: 0.5
+  totalAttack_summonTime: 0.6
   totalAttack_marchTime: 0.5
   attackType: 1
   bulletPrefab: {fileID: 7473170563405908938, guid: 0460e8750cef0df4292f6d2bb56a4843, type: 3}
@@ -1020,7 +1020,17 @@ MonoBehaviour:
   shootTrack: 1
   Attack_summonInfos:
   - damage: 0
-    attackDir: {x: 0, y: 0, z: 0}
+    attackDir: {x: -1, y: 0, z: 0}
+    force: 0
+    changeHurt: 0
+    repelValue: 0
+  - damage: 0
+    attackDir: {x: -1, y: 0, z: 0}
+    force: 0
+    changeHurt: 0
+    repelValue: 0
+  - damage: 0
+    attackDir: {x: -1, y: 0, z: 0}
     force: 0
     changeHurt: 0
     repelValue: 0