weixudong
2020-12-09 17c6e8b6f2aee4ed9a15c886f54a73f0cb61b125
Assets/Scripts/TowerDefense/UI/FreezeBreath.cs
@@ -115,7 +115,14 @@
                    bool needFrost = BallisticAttack.HandleWaterFrost(201, agent, ref damage);
                    agent.addSpeedSlowRate(0.15f);
                    agent.PlayOnHitImmediately();
                    EndlessGameUI.instance.FloatSlowDownWord(agent.position);
                    if (!agent.HasSlowDownText)
                    {
                        EndlessGameUI.instance.FloatSlowDownWord(agent.position);
                        agent.HasSlowDownText = true;
                    }
                    agent.TakeDamage(damage, agent.position, alignmentProvider);
                    if (agent.isDead)
@@ -177,6 +184,8 @@
            ps.transform.position = EndlessLevelManager.instance.WaveManager.GetWaveEndPos(waveLineId);
            ps.Play();
            AudioSourceManager.Ins.Play(AudioEnum.WaterTowerSkill);
        }
    }
}