SZAND\msx_2 hai 6 meses
pai
achega
b202fb3e08

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
ActionTowerDefense/Assets/GameLevelEditor/maps.asset


+ 15 - 4
ActionTowerDefense/Assets/Resources/Prefab/MySoldier/Demonic_Arrow.prefab

@@ -1085,6 +1085,8 @@ MonoBehaviour:
   totalAttack_summonTime: 1.5333334
   totalAttack_marchTime: 1
   dieKeepTime: 0
+  beHitDistance: 0
+  attackDis: 0
   rb: {fileID: 8639832132491289349}
   bodyTrans: {fileID: 5769591908339262981}
   beSearchTrigger: {fileID: 316813748882225178}
@@ -1174,10 +1176,6 @@ MonoBehaviour:
   isRecorded: 0
   searchState: 0
   soulCollector: {fileID: 0}
-  attackDistance: 10
-  maxAttackDis: 20
-  minAttackDis: 9
-  needToChange: 1
   curAttackID: 0
   adsorbSpeed: 0
   adsorbTarget: {x: 0, y: 0, z: 0}
@@ -1286,6 +1284,7 @@ MonoBehaviour:
   skill: {fileID: 0}
   attackEffect: {fileID: 0}
   effect: {fileID: 0}
+  attackDistance: 0
   attackTrigger: {fileID: 5755692021491134919}
   isAttackTriggerOn: 0
   bulletPrefab: {fileID: 7473170563405908938, guid: 0460e8750cef0df4292f6d2bb56a4843, type: 3}
@@ -1329,6 +1328,10 @@ MonoBehaviour:
       sustainedInjury:
         damage: 0
     attackTrigger: {fileID: 5755692021491134919}
+    attackDistance: 10
+    maxAttackDis: 15
+    minAttackDis: 9
+    needToChange: 1
     targetTypes: 040000000500000006000000
     canHitFly: 1
     armorPiercing: 30
@@ -1372,6 +1375,10 @@ MonoBehaviour:
       sustainedInjury:
         damage: 0
     attackTrigger: {fileID: 5755692021491134919}
+    attackDistance: 0
+    maxAttackDis: 15
+    minAttackDis: 9
+    needToChange: 1
     targetTypes: 040000000500000006000000
     canHitFly: 1
     armorPiercing: 30
@@ -1414,6 +1421,10 @@ MonoBehaviour:
       sustainedInjury:
         damage: 0
     attackTrigger: {fileID: 0}
+    attackDistance: 0
+    maxAttackDis: 0
+    minAttackDis: 0
+    needToChange: 0
     targetTypes: 
     canHitFly: 0
     armorPiercing: 0

+ 47 - 18
ActionTowerDefense/Assets/Resources/Prefab/MySoldier/Demonic_Giant_Yin.prefab

@@ -103,6 +103,10 @@ MonoBehaviour:
     attackEffect: 
     floatState:
       time: 0
+      upTime: {x: 0, y: 0}
+      backSpeed: {x: 0, y: 0}
+      rotateSpeed: {x: 0, y: 0}
+      height: {x: 0, y: 0}
     blowUp:
       dir: {x: 0, y: 0, z: 0}
       force: 0
@@ -523,6 +527,8 @@ MonoBehaviour:
   totalAttack_summonTime: 2.2
   totalAttack_marchTime: 4
   dieKeepTime: 0
+  beHitDistance: 0
+  attackDis: 0
   rb: {fileID: 5440846222648032765}
   bodyTrans: {fileID: 6459001683917408033}
   beSearchTrigger: {fileID: 4259433079752244006}
@@ -564,10 +570,13 @@ MonoBehaviour:
   attributeStatus: {fileID: 0}
   extraRiseGravity: -28.8
   extraFallGravity: -14.4
-  canMove: 1
   moveSpeed: 2
+  needToAdjustFlyHeight: 0
   flyHeight: 0
-  flyUpSpeed: 10
+  maxFlyHeight: 0
+  minFlyHeight: 0
+  flyUpTime: 0
+  isAdjustHeight: 0
   totalBeRepelValue: 100
   beRepelValue: 0
   weakTime: 0
@@ -581,16 +590,7 @@ MonoBehaviour:
   decelerationRatio: 1
   comaTime: 5
   pastComaTime: 0
-  floatState: 0
-  maxTime: 1.5
-  minTime: 0.1
-  maxHeight: 12
-  minHeight: 7
   floatTime: 10
-  maxRotateSpeed: 20
-  minRotateSpeed: 5
-  isFloat: 0
-  normalFallSpeed: 10
   effect: {fileID: 0}
   soulPrefab: {fileID: 1723151111827507807, guid: e2b65aa482f2f1447a4074208d72b778, type: 3}
   soulStartSpeed: 1
@@ -618,10 +618,6 @@ MonoBehaviour:
   isRecorded: 0
   searchState: 0
   soulCollector: {fileID: 0}
-  attackDistance: 3
-  maxAttackDis: 0
-  minAttackDis: 0
-  needToChange: 0
   curAttackID: 0
   adsorbSpeed: 0.5
   adsorbTarget: {x: 0, y: 0, z: 0}
@@ -692,6 +688,10 @@ MonoBehaviour:
     attackEffect: 
     floatState:
       time: 0
+      upTime: {x: 0, y: 0}
+      backSpeed: {x: 0, y: 0}
+      rotateSpeed: {x: 0, y: 0}
+      height: {x: 0, y: 0}
     blowUp:
       dir: {x: 0, y: 0, z: 0}
       force: 0
@@ -712,6 +712,7 @@ MonoBehaviour:
   skill: {fileID: 0}
   attackEffect: {fileID: 0}
   effect: {fileID: 0}
+  attackDistance: 0
   attackTrigger: {fileID: 7729941002223262554}
   isAttackTriggerOn: 0
   bulletPrefab: {fileID: 0}
@@ -731,6 +732,10 @@ MonoBehaviour:
       attackEffect: 
       floatState:
         time: 0
+        upTime: {x: 0, y: 0}
+        backSpeed: {x: 0, y: 0}
+        rotateSpeed: {x: 0, y: 0}
+        height: {x: 0, y: 0}
       blowUp:
         dir: {x: 0, y: 0, z: 0}
         force: 0
@@ -748,6 +753,10 @@ MonoBehaviour:
       sustainedInjury:
         damage: 0
     attackTrigger: {fileID: 7729941002223262554}
+    attackDistance: 0
+    maxAttackDis: 0
+    minAttackDis: 0
+    needToChange: 0
     targetTypes: 040000000500000006000000
     canHitFly: 1
     armorPiercing: 0
@@ -767,6 +776,10 @@ MonoBehaviour:
       attackEffect: 
       floatState:
         time: 0
+        upTime: {x: 0, y: 0}
+        backSpeed: {x: 0, y: 0}
+        rotateSpeed: {x: 0, y: 0}
+        height: {x: 0, y: 0}
       blowUp:
         dir: {x: 0, y: 0, z: 0}
         force: 0
@@ -784,6 +797,10 @@ MonoBehaviour:
       sustainedInjury:
         damage: 0
     attackTrigger: {fileID: 7729941002223262554}
+    attackDistance: 0
+    maxAttackDis: 0
+    minAttackDis: 0
+    needToChange: 0
     targetTypes: 040000000500000006000000
     canHitFly: 1
     armorPiercing: 0
@@ -804,6 +821,10 @@ MonoBehaviour:
       attackEffect: 
       floatState:
         time: 0
+        upTime: {x: 0, y: 0}
+        backSpeed: {x: 0, y: 0}
+        rotateSpeed: {x: 0, y: 0}
+        height: {x: 0, y: 0}
       blowUp:
         dir: {x: 0, y: 0, z: 0}
         force: 0
@@ -821,6 +842,10 @@ MonoBehaviour:
       sustainedInjury:
         damage: 0
     attackTrigger: {fileID: 0}
+    attackDistance: 0
+    maxAttackDis: 0
+    minAttackDis: 0
+    needToChange: 0
     targetTypes: 
     canHitFly: 0
     armorPiercing: 0
@@ -843,13 +868,15 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   curSpecialStates: ffffffff
-  strikeStunTime: 0
-  decelerationRatioX: 2
-  decelerationRatioY: 15
+  attributeTime: 0
   resistances:
+    Float: 0
     BlowUp: 0
     ShotDown: 0
     Stun: 0
+  decelerationRatioX: 2
+  decelerationRatioY: 15
+  floatingState: 0
 --- !u!1 &6139679835290116115
 GameObject:
   m_ObjectHideFlags: 0
@@ -1025,6 +1052,8 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   imgHp: {fileID: 891910447640254832}
+  pc: {fileID: 0}
+  points: []
 --- !u!1 &7208291223413765209
 GameObject:
   m_ObjectHideFlags: 0

+ 2 - 0
ActionTowerDefense/Assets/Scripts/Characters/AttackController.cs

@@ -200,7 +200,9 @@ public class AttackController : MonoBehaviour
         [Header("¹¥»÷²ÎÊý")]
         public AttackInfo attackInfo;
         public AttackTrigger attackTrigger;
+        [Header("¹¥»÷¾àÀë")]
         public float attackDistance;
+        [ShowIf("needToChange")]
         public float maxAttackDis, minAttackDis;
         public bool needToChange;
         [Header("Ä¿±ê")]

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio