1) darkness is supposed to trump darkvision. It's what makes the Warlock invocation devils sight strong.

2) darkness is supposed to be a zone of darkness that extinguishes low level magical light spells and mundane light sources.

3) as it is, hiding in Darkness is invisibility right now and it doesn't cost an action. The ai needs to be smart enough to account for this fairly basic tactic. What will combat be like when we have access to greater invisibility?

4). Whatever works to make the ai behave as though standing in front of a zone of darkness with blasts of energy and arrows flying at it from an unseen source is a bad idea