Only stimulate Xom when zapping a wand of random effects or an unknown

wand if a monster or the player is targeted, or if an invisible enemy is nearby. This prevents the player from maximally stimulating Xom by just wasting a turn while near a dangerous monster via aming a wand of random effects away from all monsters.

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

Created by  zelgadis  on June 27, 2008
MMHQBQAWWCK6ZWOPAT265BXFTKXHDATCITFYR7FOIM6ZZE26FTBQC
Change contents