// Update is called once per frame
 void Update()
 {
     heroClass.addPoints(actionMeter, health);
     heroClass.displayUpdates(myText, actionMeter);
     if (ailed)
     {
         if (Time.time - startAil > ailTimer)
         {
             ailed = false;
             heroClass.restoreStats();
         }
     }
 }