Have Xom check directly for negative energy and torment resistance when

trying to drain or torment the player, instead of just checking whether the player is undead. This allows vampires in the vulnerable hunger states to be affected.

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

Created by  dolorous  on April 27, 2008
MKJ2ORKSFPOPYEB5C36WZTR2QFHQYQ23PCLSC6SA44LJZ2AFBZFQC
Change contents