added enemy damage cooldown. healthBar now decreases properly