It is my guess that if the player is currently zoning/zoned then the condition you highlighted should fail regardless I believe. Maybe the mob's hatelist is not being properly cleared after an evac/gate/succor/w.e?
Second Thought: The entire block you quoted should not execute after a zone/gate/port. Fixing how it got through the first condition might be better than rewriting/making a new function.
Maybe the "target" variable is not being reset correctly.
|