浏览代码

修复变身法师后不被地面单位攻击bug

SZAND\msx_2 1 年之前
父节点
当前提交
2808a4ed20

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

@@ -428,6 +428,8 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: c1bedfb340186164dbac1499b49b879e, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  isTran: 0
+  pc: {fileID: 0}
   HitCols:
   - {fileID: 4480734502875862885}
   - {fileID: 2460330936527559963}
@@ -476,7 +478,7 @@ MonoBehaviour:
   beTargetCharacter: []
   searchTrigger: {fileID: 2932762729738363159}
   targetTypes: 0400000005000000
-  canHitFly: 0
+  canHitFly: 1
   linked: 0
   joint: {fileID: 0}
   rope: {fileID: 0}
@@ -497,6 +499,10 @@ MonoBehaviour:
   minHurtKeepTime: 0.2
   hurtKeepTime: 0
   hurtChangeVelocity: 1
+  comaTime: 5
+  pastComaTime: 0
+  isCaughtByCook: 0
+  isBeDropped: 0
   maxTime: 0
   minTime: 6
   maxHeight: 12

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

@@ -170,6 +170,8 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: c1bedfb340186164dbac1499b49b879e, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  isTran: 0
+  pc: {fileID: 0}
   HitCols:
   - {fileID: 6526817785665782971}
   - {fileID: 8769150919382874379}
@@ -218,7 +220,7 @@ MonoBehaviour:
   beTargetCharacter: []
   searchTrigger: {fileID: 5104552355235513707}
   targetTypes: 0400000005000000
-  canHitFly: 0
+  canHitFly: 1
   linked: 0
   joint: {fileID: 0}
   rope: {fileID: 0}
@@ -239,6 +241,10 @@ MonoBehaviour:
   minHurtKeepTime: 0.2
   hurtKeepTime: 0
   hurtChangeVelocity: 1
+  comaTime: 5
+  pastComaTime: 0
+  isCaughtByCook: 0
+  isBeDropped: 0
   maxTime: 0
   minTime: 6
   maxHeight: 12

+ 7 - 1
ActionTowerDefense/Assets/Resources/Prefab/Enemy_Giant.prefab

@@ -428,6 +428,8 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: 7475a7d33f657b146a4994b1e02710ad, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  isTran: 0
+  pc: {fileID: 0}
   HitCols:
   - {fileID: 4480734502875862885}
   - {fileID: 2460330936527559963}
@@ -476,7 +478,7 @@ MonoBehaviour:
   beTargetCharacter: []
   searchTrigger: {fileID: 2932762729738363159}
   targetTypes: 010000000200000003000000
-  canHitFly: 0
+  canHitFly: 1
   linked: 0
   joint: {fileID: 0}
   rope: {fileID: 0}
@@ -497,6 +499,10 @@ MonoBehaviour:
   minHurtKeepTime: 0.2
   hurtKeepTime: 0
   hurtChangeVelocity: 1
+  comaTime: 5
+  pastComaTime: 0
+  isCaughtByCook: 0
+  isBeDropped: 0
   maxTime: 1.5
   minTime: 0.1
   maxHeight: 9

+ 7 - 1
ActionTowerDefense/Assets/Resources/Prefab/Enemy_Sword.prefab

@@ -223,6 +223,8 @@ MonoBehaviour:
   m_Script: {fileID: 11500000, guid: 7475a7d33f657b146a4994b1e02710ad, type: 3}
   m_Name: 
   m_EditorClassIdentifier: 
+  isTran: 0
+  pc: {fileID: 0}
   HitCols:
   - {fileID: 3917432747505904452}
   - {fileID: 4960124152152785005}
@@ -271,7 +273,7 @@ MonoBehaviour:
   beTargetCharacter: []
   searchTrigger: {fileID: 428784489592146076}
   targetTypes: 010000000300000002000000
-  canHitFly: 0
+  canHitFly: 1
   linked: 0
   joint: {fileID: 0}
   rope: {fileID: 0}
@@ -292,6 +294,10 @@ MonoBehaviour:
   minHurtKeepTime: 0.2
   hurtKeepTime: 0
   hurtChangeVelocity: 1
+  comaTime: 5
+  pastComaTime: 0
+  isCaughtByCook: 0
+  isBeDropped: 0
   maxTime: 1.5
   minTime: 0.1
   maxHeight: 9