Someone know wtf is happening here? :
Creature is out of combat, without target, without auras, without emote (already tryied with me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);), threatlist and hostil list empty.
I have no idea why he "autoattacking the air"
Someone have sugestions?
Code used is https://gist.github.com/Keader/30fef24fde8f0823dc13bede6d42642c#file-akamawip-cpp-L208
still is a WIP, when ready i will open PR... but i need fix it first ._.