When doing spell miscasts, check directly for resistance to unholy pain

and torment instead of just undead status, so that vulnerable vampires aren't left out.

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4751 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dolorous  on April 28, 2008
BLXJID5ZBBH42F2LKNF33DWE7ROPCK6CRXBVO6BLOHXKS4LZETKAC
Change contents