Like some of you know, i'm working on a power chopper. To ensure the safety of everyone's account, i added this procedure to check if we are getting attacked.
(Not use scar tags because unavailable)PHP Code:procedure CheckFight;
begin
if HPPercent>50 then
begin
DCDebug('Found Fight!');
RandomRunTo;
end;
if not HPPercent>50 then Exit;
end;
There's a problem though, whenever i start the script to test it, it quickly does RunTo even though the player still has full life. i've been working on this for an hour or so. What am i doing wrong?



Reply With Quote






i can't believe how i didn't see that.. thanks.
