public void TakeDamage(float damage)
 {
     health -= damage;
     if (health < 0)
     {
         health = 0;
         Die();
     }
     PlaningUI.UpdatePlayerHealth(heroName, health);
 }