Forráskód Böngészése

怪物和动作参数调整

DESKTOP-PG06IH1\Mr.AB 1 éve
szülő
commit
39a03371a1

+ 6 - 5
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Arrow.prefab

@@ -119,7 +119,7 @@ RectTransform:
   m_GameObject: {fileID: 1637528673901708253}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5104997452083766110}
@@ -978,23 +978,23 @@ MonoBehaviour:
   - damage: 20
     attackDir: {x: -1, y: 0, z: 0}
     force: 0
-    changeHurt: 1
+    changeHurt: 0
     hurtTime: 0.3
     repelValue: 10
   - damage: 20
     attackDir: {x: -1, y: 0, z: 0}
     force: 0
-    changeHurt: 1
+    changeHurt: 0
     hurtTime: 0.3
     repelValue: 10
   - damage: 40
     attackDir: {x: -1, y: 0, z: 0}
     force: 0
-    changeHurt: 1
+    changeHurt: 0
     hurtTime: 0.3
     repelValue: 10
   attack2Infos:
-  - damage: 40
+  - damage: 10
     attackDir: {x: -1, y: 0, z: 0}
     force: 0
     changeHurt: 0
@@ -1027,6 +1027,7 @@ MonoBehaviour:
   weakTime: 0
   totalWeakTime: 3
   weakUpSpeed: 10
+  decelerationRatio: 1
   id: 0
   costMp: 60
   searchState: 0

+ 11 - 10
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Giant.prefab

@@ -438,22 +438,22 @@ MonoBehaviour:
   totalAttack1Time: 3.6
   totalAttack2Time: 2.2
   isDie: 0
-  totalHp: 10000
+  totalHp: 2000
   hp: 0
   attack1Infos:
   - damage: 10
-    attackDir: {x: -1, y: 0, z: 0}
-    force: 1000
+    attackDir: {x: -2, y: 1, z: 0}
+    force: 30000
     changeHurt: 1
-    hurtTime: 1
-    repelValue: 100
+    hurtTime: 3
+    repelValue: 31
   attack2Infos:
   - damage: 10
     attackDir: {x: -1, y: 0, z: 0}
-    force: 1000
+    force: 10000
     changeHurt: 0
-    hurtTime: 0
-    repelValue: 0
+    hurtTime: 3
+    repelValue: 31
   attackTriggers:
   - {fileID: 7729941002223262554}
   attackType: 0
@@ -477,8 +477,9 @@ MonoBehaviour:
   beRepelValue: 0
   totalBeRepelValue: 100
   weakTime: 0
-  totalWeakTime: 3
+  totalWeakTime: 10
   weakUpSpeed: 10
+  decelerationRatio: 1
   id: 0
   costMp: 150
   searchState: 0
@@ -589,7 +590,7 @@ RectTransform:
   m_GameObject: {fileID: 6239053045979137450}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalScale: {x: 0.5, y: 0.5, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 7669562854251313917}

+ 5 - 5
ActionTowerDefense/Assets/Resources/Prefab/Demonic_Sword.prefab

@@ -183,14 +183,14 @@ MonoBehaviour:
   attack1Infos:
   - damage: 100
     attackDir: {x: -1, y: 0, z: 0}
-    force: 50
+    force: 1000
     changeHurt: 1
     hurtTime: 0.5
-    repelValue: 30
+    repelValue: 52
   attack2Infos:
   - damage: 100
     attackDir: {x: -1, y: 0, z: 0}
-    force: 50
+    force: 1000
     changeHurt: 0
     hurtTime: 0
     repelValue: 0
@@ -232,7 +232,7 @@ Rigidbody:
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 2437299196472462361}
   serializedVersion: 2
-  m_Mass: 100
+  m_Mass: 20
   m_Drag: 0
   m_AngularDrag: 0.05
   m_UseGravity: 1
@@ -361,7 +361,7 @@ RectTransform:
   m_GameObject: {fileID: 5854255137085934375}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalScale: {x: 0.5, y: 0.5, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5150648748656367320}

+ 2 - 2
ActionTowerDefense/Assets/Resources/Prefab/Enemy_Arrow.prefab

@@ -1023,9 +1023,9 @@ MonoBehaviour:
   extraFallGravity: -14.4
   moveSpeed: 5
   beRepelValue: 0
-  totalBeRepelValue: 100
+  totalBeRepelValue: 20
   weakTime: 0
-  totalWeakTime: 3
+  totalWeakTime: 10
   weakUpSpeed: 10
   id: 0
   jumpSpeed: 10

+ 5 - 4
ActionTowerDefense/Assets/Resources/Prefab/Enemy_Giant.prefab

@@ -473,12 +473,13 @@ MonoBehaviour:
   foot: {fileID: 5440846222604650418}
   extraRiseGravity: -28.8
   extraFallGravity: -14.4
-  moveSpeed: 5
+  moveSpeed: 2
   beRepelValue: 0
   totalBeRepelValue: 100
   weakTime: 0
-  totalWeakTime: 3
+  totalWeakTime: 10
   weakUpSpeed: 10
+  decelerationRatio: 5
   id: 0
   jumpSpeed: 10
   searchState: 0
@@ -499,7 +500,7 @@ Rigidbody:
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 5440846222648032759}
   serializedVersion: 2
-  m_Mass: 500
+  m_Mass: 40
   m_Drag: 0
   m_AngularDrag: 0.05
   m_UseGravity: 1
@@ -596,7 +597,7 @@ RectTransform:
   m_GameObject: {fileID: 6239053045979137450}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalScale: {x: 0.5, y: 0.5, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 7669562854251313917}

+ 6 - 6
ActionTowerDefense/Assets/Resources/Prefab/Enemy_Sword.prefab

@@ -29,7 +29,7 @@ RectTransform:
   m_GameObject: {fileID: 120341367759518868}
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
+  m_LocalScale: {x: 0.5, y: 0.5, z: 1}
   m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 7536039267913552728}
@@ -270,9 +270,9 @@ MonoBehaviour:
   extraFallGravity: -14.4
   moveSpeed: 5
   beRepelValue: 0
-  totalBeRepelValue: 100
+  totalBeRepelValue: 30
   weakTime: 0
-  totalWeakTime: 3
+  totalWeakTime: 10
   weakUpSpeed: 10
   id: 0
   jumpSpeed: 9
@@ -280,8 +280,8 @@ MonoBehaviour:
   attackDistance: 1.5
   canFly: 0
   attackRatio: 0
-  maxMoveSpeed: 15
-  minMoveSpeed: 10
+  maxMoveSpeed: 12
+  minMoveSpeed: 8
   dropSoul: 5
   soulPrefab: {fileID: 1723151111827507807, guid: e2b65aa482f2f1447a4074208d72b778, type: 3}
   soulStartSpeed: 10
@@ -294,7 +294,7 @@ Rigidbody:
   m_PrefabAsset: {fileID: 0}
   m_GameObject: {fileID: 2437299196472462361}
   serializedVersion: 2
-  m_Mass: 100
+  m_Mass: 20
   m_Drag: 0
   m_AngularDrag: 0.05
   m_UseGravity: 1

+ 11 - 3
ActionTowerDefense/Assets/Scenes/SampleScene.unity

@@ -386,9 +386,9 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   player: {fileID: 540821988}
-  offsetX: 3
-  offsetY: 2
-  offsetZ: -15
+  offsetX: 5
+  offsetY: 5
+  offsetZ: -17
   lerpValue: 3.5
   targetPos: {x: 0, y: 0, z: 0}
 --- !u!114 &540821988 stripped
@@ -1091,6 +1091,14 @@ PrefabInstance:
   m_Modification:
     m_TransformParent: {fileID: 0}
     m_Modifications:
+    - target: {fileID: 1969773276, guid: 5b538f610930dd743a096c582e2810f4, type: 3}
+      propertyPath: m_SortingLayerID
+      value: 1516060329
+      objectReference: {fileID: 0}
+    - target: {fileID: 3571941038519084336, guid: 5b538f610930dd743a096c582e2810f4, type: 3}
+      propertyPath: totalMp
+      value: 500
+      objectReference: {fileID: 0}
     - target: {fileID: 3571941038519084336, guid: 5b538f610930dd743a096c582e2810f4, type: 3}
       propertyPath: airJumpSpeed
       value: 17

+ 1 - 1
ActionTowerDefense/Luban/.cache.meta

@@ -9,4 +9,4 @@ C:/ActionTowerDefense/ActionTowerDefense/Luban/Config/Datas/__beans__.xlsx,98987
 C:/ActionTowerDefense/ActionTowerDefense/Luban/Config/Datas/__enums__.xlsx,647733322F7261DFA483C2DBE2D1F9A4,10293,1711190247467
 C:/ActionTowerDefense/ActionTowerDefense/Luban/Config/Datas/__tables__.xlsx,D1BC5823EBCE916872405D2DCDC896D,10232,1711372939546
 C:/ActionTowerDefense/ActionTowerDefense/Luban/Config/Datas/出怪表.xlsx,60AE6EC6B760BC3956445F836A2BB,10265,1712241881332
-C:/ActionTowerDefense/ActionTowerDefense/Luban/Config/Datas/怪物表.xlsx,C66973DE3E5398AF5F2093BFAC9F1C,9736,1711769598375
+C:/ActionTowerDefense/ActionTowerDefense/Luban/Config/Datas/怪物表.xlsx,E4D91D5BD20BD4CB11078A943BF63,9736,1713282964606

BIN
ActionTowerDefense/Luban/Config/Datas/怪物表.xlsx