modified player life progress bar to change depend on players life