Umm,, i make more easy, if player have a pet or summon summoned... CH manager will target the summon, even you will need a check distance, if not... buffer will run behind the summon in case is too far... :P
I didnt check your code a lot, but trying to decompile with SauDecompiler... never finished, and that always happen when you have some mistake... especially with jumps..
EDIT: I just checked... extrange way of coding AI :P maybe is valid, but SauDecomp dont want to do the job since the jump is to a line behind :P
|