public void HitByEMP(float duration)
 {
     if (!isImmuneToEMP && stats.GetElectricity() > 0)
     {
         string reactorToDisable = selectRandomReactor();
         stats[reactorToDisable].Disable();
         EMPSound.Play();
         StartCoroutine(RecoverFromEMP(duration, reactorToDisable));
     }
     else
     {
         Debug.Log("plink");
     }
 }
 void Update()
 {
     currElectricityBar.sizeDelta = new Vector2(stats.GetElectricity() * conversionRatio, height);
 }