Код:
var
i: Integer;
begin
while engine.status = lsOnline do begin
for i := 0 to NpcList.Count - 1 do begin
if (NpcList.Items(i).Dead) and (NpcList.Items(i).Sweepable) then begin
Engine.FaceControl(0,false);
Engine.CancelTarget;
Engine.SetTarget(NpcList.Items(i));
delay(500);
Engine.UseSkill(42);
delay(500);
end;
end;
end;
end.
Автор: krn