* Using new method call to avoid deprecated methods for future reference to display the damage bar of energy items