Pārlūkot izejas kodu

修改了胖子击飞伤害比例;修复飞行怪物被击飞死亡后无法击落问题;

WGL 3 mēneši atpakaļ
vecāks
revīzija
3aa87e668d

+ 3 - 2
ActionTowerDefense/Assets/Resources/Prefab/MySoldier/Demonic_Giant.prefab

@@ -667,6 +667,7 @@ MonoBehaviour:
   totalHp: 200
   hp: 0
   canFly: 0
+  canControlFly: 0
   nowCanFly: 0
   canNotShotDown: 1
   canNotAddForce: 0
@@ -881,11 +882,11 @@ MonoBehaviour:
       blowUp:
         directionType: 0
         dir: {x: -1, y: 1, z: 0}
-        dirRandom: {x: 0, y: 0.5, z: 0}
+        dirRandom: {x: 0.5, y: 0.5, z: 0}
         force: 130
         time: 2
         haveLandingDamage: 1
-        landingDamageRate: 1.5
+        landingDamageRate: 2
         ControlOrder: 0
       shotDown:
         directionType: 0

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

@@ -138,6 +138,8 @@ public class Enemy : MoveCharacter
         moveSpeed = Random.Range(minMoveSpeed, maxMoveSpeed);
 
         ChangeSearchState(SearchState.NoTarget);
+        attributeStatus.curSpecialStates = SpecialState.Null;
+        attributeStatus.attributeTime = 0;
         curAttackID = 0;
         attackController.ChooseAttack(curAttackID);
     }