darkness doesnt disable attacks, it disables spell casting.
the reason the AI does that is because when they are hit, and cannot fight back, they are told to run. Their run away pathing is only 600. If they run 600 away, and you keep hitting them, and hit them with some form of interrupt along the way (a simple bash) it may interrupt their return command. However, when this happens, they still want to return, but they cannot. This is entirely a game engine type thing, which I personally find retardedddddd. I fixed it for the CHALW, because it was causing problems. The one problem I find though is that by using triggers; we may encounter trigger overload, which we often do (PTB mode) which causes game crashes.
First, I wil change their combat init range, to like 1000 or something; and see if that might spark something lose for them. It has worked in the past.