Hero AI for these two skills can be rather perplexing. After testing it in FoW and a couple other places, here's my observations on how the AI works:
* Heroes don't spam these skills on recharge. I'm assuming some requirement must be met before the hero uses the skill.
* Heroes will use the skill on any enchanted foes.
* Heroes will use the skill on any foes with ranged attacks. This includes casters and may extend to Rangers and Paragons.
* The Shadow Beasts attack at melee range with Necromancer profession. I notice the heroes aren't likely to use Defile/Desecrate until they use a spell, but I can't guarantee so. Otherwise they don't use the skill if the Shadow Beasts are only autoattacking.
So I'd like to confirm if anyone else sees this behavior with the skills. A couple other things I haven't checked is:
* Melee professions that use spells i.e. Thorn Wolves. Dervish enemies would be hard to confirm this since they use mostly enchantments for spells.
* If they use on Rangers and Paragons. I'm not sure if heroes cast on enemies because they use ranged attacks or are of caster profession. The Shadow Beasts at Tower in FoW and casters in Spider Cave may have thwarted my observations of such.
R
