added in will-to-live and magical resistance