This looks fine to me, except you might want to correct 'heresy.'
Upon further inspection, these commands try to give the mob a waypoint, which they seem to ignore in combat.
I even tried $npc->GMMove to same effect, but the source doesn't force an update.
Try updating the final command in perl_mob.cpp, XS_Mob_GMMove to:
THIS->GMMove(x, y, z, heading, true);
I can test this further tomorrow.
|