JPHamlett
2009-09-18 04:21:06
Function setobjective(skill : string; level : integer) : boolean;
var
TP : tpoint;
begin
if not gametab(tab_stats) then exit;
TP := SkillToCoords(True, Skill)
mouse(TP.x + 7,TP.y + 13, 5, 5, false);
waitoption('ject', 2500);
wait(10 + random (2));
chooseoption('ject');
typesend(inttostr(level));
end;
ill add more when gametab is fixed