Changed damage inflicted to player health to an array index