River Jiang
2020-10-28 00451158ba904571b1c6c755f34292dc76e25d80
Assets/Scripts/TowerDefense/Affectors/AttackAffector.cs
@@ -260,7 +260,7 @@
               float process = energyCalTime % 11.0f;
               int proint = (int)Math.Floor(process);
               proint += towerPtr.uiProOffset;
               towerPtr.energyCtl.SetEnergyProgress(proint);
               towerPtr.energyCtl.SetEnergyProcessFloat( process );
               if (proint == 10)
               {
                  fInEnergy = 5.0f;
@@ -287,6 +287,7 @@
                  m_FireTimer = fBackupTimer;
                  towerPtr.PlayEnergyEffect(false);
               }
            }