unholy, and antimagical parameters are NULL.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5643 c06c8d41-db1a-0410-9941-cceddc491573
WA57DRAZPLTIY6LVTYBBOP2NFFJ3FZJYOJL4CQC24BL4H66RR3PAC
if (holy)
*holy = (is_good_god(you.religion) && mons_is_evil_or_unholy(mon));
const bool is_holy =
(is_good_god(you.religion) && mons_is_evil_or_unholy(mon));
const bool is_unholy =
(is_evil_god(you.religion) && mons_is_holy(mon));
const bool is_antimagical =
(you.religion == GOD_TROG && mons_is_magic_user(mon));