Hi Guys i got a problem with a script, could someone trying to help me to fix this?
It's annoying, i tried to do it in many different way but nothing change.
When i press the Hotkey it doesn't work good.
Thanks in advance to everybody
Kind Regards Grin
Here the script:
procedure cast_spam();
var IsCasting:Boolean;
var arrow:Boolean;
begin
arrow:=False;
if not IsCasting then begin
if (arrow = False) then begin
IsCasting:=True
cast ('Magic_Arrow');
WaitForTarget(500);
if targetpresent then begin
TargetToObject(LastAttack);
IsCasting:=False;
arrow:=True;
end;
end;
if (arrow = True) then begin
IsCasting:=True;
cast ('Fireball');
WaitForTarget(500);
if targetpresent then begin
TargetToObject(LastAttack);
IsCasting:=False;
arrow:=False;
end;
end;
end;
End;