Quellcode durchsuchen

修改了怪物掉落经验值,及落后上升速度参数;修改了飞剑累伤的持续时间,胖子的攻击血量以及击飞落地伤害比例;修复了最后一个Sheet无法刷怪的问题;修复了飞行怪死亡后复活无法起飞问题;

WGL vor 3 Monaten
Ursprung
Commit
2cde6ccc77

+ 4 - 3
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_1002.prefab

@@ -303,7 +303,7 @@ MonoBehaviour:
   targetCharacter: {fileID: 0}
   attackTarget: {fileID: 0}
   state: 1
-  totalHp: 30
+  totalHp: 40
   hp: 0
   canFly: 0
   nowCanFly: 0
@@ -367,9 +367,9 @@ MonoBehaviour:
   sustainedInjury_damage: 0
   heavyDamage: 0
   killer: {fileID: 0}
+  exp: 1
   tag: 0
   dieEffect: {fileID: 0}
-  exp: 20
   name: 
   baseSortingOrder: 5000
   isBack: 0
@@ -388,6 +388,7 @@ MonoBehaviour:
   attackRatio: 0
   dropSoulMax: 2
   dropSoulMin: 2
+  dropProbability: 100
   dropSoulAngle: 90
   canEscape: 0
   stopEscapeCD: 0
@@ -519,7 +520,7 @@ MonoBehaviour:
     attackType: 0
     attackInfo:
       attackValue: 0
-      damage: 60
+      damage: 5
       attackDir: {x: 0, y: 0, z: 0}
       attackEffect: 05000000
       floatState:

+ 3 - 2
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_1004.prefab

@@ -1321,7 +1321,7 @@ MonoBehaviour:
   flyHeight: 0
   maxFlyHeight: 6
   minFlyHeight: 10
-  flyUpTime: 0.527
+  flyUpTime: 0.1
   isAdjustHeight: 0
   isDamageReduction: 0
   reductionDegree: 0
@@ -1340,9 +1340,9 @@ MonoBehaviour:
   sustainedInjury_damage: 0
   heavyDamage: 0
   killer: {fileID: 0}
+  exp: 1
   tag: 0
   dieEffect: {fileID: 417478504669294145, guid: 2a4e7e280b9d19042ba0f57ae5edf736, type: 3}
-  exp: 1
   name: 
   baseSortingOrder: 7000
   isBack: 0
@@ -1361,6 +1361,7 @@ MonoBehaviour:
   attackRatio: 0
   dropSoulMax: 1
   dropSoulMin: 1
+  dropProbability: 100
   dropSoulAngle: 90
   canEscape: 0
   stopEscapeCD: 0

+ 3 - 2
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_1005.prefab

@@ -1322,7 +1322,7 @@ MonoBehaviour:
   flyHeight: 0
   maxFlyHeight: 0
   minFlyHeight: 0
-  flyUpTime: 0.527
+  flyUpTime: 0.1
   isAdjustHeight: 0
   isDamageReduction: 0
   reductionDegree: 0
@@ -1341,9 +1341,9 @@ MonoBehaviour:
   sustainedInjury_damage: 0
   heavyDamage: 0
   killer: {fileID: 0}
+  exp: 1
   tag: 0
   dieEffect: {fileID: 417478504669294145, guid: 2a4e7e280b9d19042ba0f57ae5edf736, type: 3}
-  exp: 1
   name: 
   baseSortingOrder: 7001
   isBack: 0
@@ -1362,6 +1362,7 @@ MonoBehaviour:
   attackRatio: 0
   dropSoulMax: 1
   dropSoulMin: 1
+  dropProbability: 100
   dropSoulAngle: 90
   canEscape: 0
   stopEscapeCD: 0

+ 2 - 1
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_1006.prefab

@@ -367,9 +367,9 @@ MonoBehaviour:
   sustainedInjury_damage: 0
   heavyDamage: 0
   killer: {fileID: 0}
+  exp: 1
   tag: 0
   dieEffect: {fileID: 0}
-  exp: 25
   name: 
   baseSortingOrder: 4000
   isBack: 0
@@ -388,6 +388,7 @@ MonoBehaviour:
   attackRatio: 0
   dropSoulMax: 2
   dropSoulMin: 2
+  dropProbability: 100
   dropSoulAngle: 90
   canEscape: 0
   stopEscapeCD: 0

+ 3 - 2
ActionTowerDefense/Assets/Resources/Prefab/Enemy/Enemy_1007.prefab

@@ -1321,7 +1321,7 @@ MonoBehaviour:
   flyHeight: 0
   maxFlyHeight: 0
   minFlyHeight: 0
-  flyUpTime: 0.751
+  flyUpTime: 0.1
   isAdjustHeight: 0
   isDamageReduction: 0
   reductionDegree: 0
@@ -1340,9 +1340,9 @@ MonoBehaviour:
   sustainedInjury_damage: 0
   heavyDamage: 0
   killer: {fileID: 0}
+  exp: 10
   tag: 0
   dieEffect: {fileID: 0}
-  exp: 30
   name: 
   baseSortingOrder: 2001
   isBack: 0
@@ -1361,6 +1361,7 @@ MonoBehaviour:
   attackRatio: 0
   dropSoulMax: 5
   dropSoulMin: 5
+  dropProbability: 100
   dropSoulAngle: 90
   canEscape: 0
   stopEscapeCD: 0

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

@@ -1537,7 +1537,7 @@ MonoBehaviour:
         time: 0
       stackingWounds:
         damage: 0.5
-        time: 0.5
+        time: 2
       changeDamage:
         rate: 0
       sustainedInjury:

+ 4 - 4
ActionTowerDefense/Assets/Resources/Prefab/MySoldier/Demonic_Giant.prefab

@@ -664,7 +664,7 @@ MonoBehaviour:
   targetCharacter: {fileID: 0}
   attackTarget: {fileID: 0}
   state: 0
-  totalHp: 300
+  totalHp: 200
   hp: 0
   canFly: 0
   nowCanFly: 0
@@ -881,11 +881,11 @@ MonoBehaviour:
       blowUp:
         directionType: 0
         dir: {x: -1, y: 1, z: 0}
-        dirRandom: {x: 0.5, y: 0.5, z: 0}
+        dirRandom: {x: 0, y: 0.5, z: 0}
         force: 130
         time: 2
         haveLandingDamage: 1
-        landingDamageRate: 2
+        landingDamageRate: 1.5
         ControlOrder: 0
       shotDown:
         directionType: 0
@@ -933,7 +933,7 @@ MonoBehaviour:
     attackType: 0
     attackInfo:
       attackValue: 0
-      damage: 5
+      damage: 2
       attackDir: {x: 0, y: 0, z: 0}
       attackEffect: 
       floatState:

+ 5 - 0
ActionTowerDefense/Assets/Scripts/Characters/Character.cs

@@ -160,6 +160,11 @@ public class Character : MonoBehaviour
         //ѪÁ¿ÖØÖÃ
         hp = totalHp;
         nowCanFly = canFly;
+        if (canFly)
+        {
+            rb.useGravity = false;
+            rb.constraints = RigidbodyConstraints.FreezeRotation | RigidbodyConstraints.FreezePositionY | RigidbodyConstraints.FreezePositionZ;
+        }
         uiHp.Show(hp, totalHp);
         ChangeState(CharacterState.Idle);
 

+ 1 - 1
ActionTowerDefense/Assets/Scripts/EnemyCreater.cs

@@ -107,7 +107,7 @@ public class EnemyCreater : MonoBehaviour
         cfgCreateEnemy = GameManager.instance.createEnemyConfigs[nowLevel].DataList;
 
         startId = levelSelect.levelsId[nowLevel][levelSelect.curLevelID];
-        endId = levelSelect.curLevelID < levelSelect.levels.Count ?
+        endId = levelSelect.curLevelID < levelSelect.levels.Count - 1 ?
             levelSelect.levelsId[nowLevel][levelSelect.curLevelID + 1]
             : cfgCreateEnemy.Count;
         if (cfgCreateEnemy[startId].WaveID != -1 || endId != cfgCreateEnemy.Count && cfgCreateEnemy[endId].WaveID != -1)