quasi fixed bug in hp bar calculations