Changed pets and entity

Changed Entity so there is now max hp and have also started to work on
making the pet attack