new logic:
1: if target name is specified, shoot target name.
2: if no target name is specified, but a target id specified (by battle), and target id is not dead, shoot target id
3: if no target name is specified, and a target id is specified (by battle), but the target id is already dead, then shoot first found target with the same name as the target id.
this is exactly what i tried to do last time i updated the aimbot logic, but i made a small bug: it would still look for the dead target (and not find it), instead of shooting an other target with the same name as the target id.
new logic: 1: if target name is specified, shoot target name. 2: if no target name is specified, but a target id specified (by battle), and target id is not dead, shoot target id 3: if no target name is specified, and a target id is specified (by battle), but the target id is already dead, then shoot first found target with the same name as the target id.
this is exactly what i tried to do last time i updated the aimbot logic, but i made a small bug: it would still look for the dead target (and not find it), instead of shooting an other target with the same name as the target id.