Richard
2009-05-16 13:31:20
If there is anyone out there that can test this to see how reliable it would be, it would be greatly appreciated. All it is is a special attack feature that presses the button when the green bar is filled to the amount you desire(in %).
Its very simple to call, just do SpecialAttack(100); if you want to bar 100% full.
Thanks
{*******************************************************************************
Procedure SpecialAttack(MinPercent: Integer);
By: Richard
Description: Use the special attack button if it is present, and presses it if
the percent of the bar filled is >= MinPercent
*******************************************************************************}
Procedure SpecialAttack(MinPercent: Integer);
Var
g : Integer;
c : Extended;
Begin
GameTab(1);
If (GetColor(623,424) = 65535) then
Begin
WriteLN('Special attack is already active');
Exit;
end;
If (GetColor(623,424) <> 1048576) then
Begin
WriteLN('Current weapon doesn'#39't have a special attack');
Exit;
end;
g := (CountColorTolerance(3700023, 572, 417, 713, 428, 120));
c := ((g/1634)*100);
g := Round(c);
If (MinPercent <= g) then
MouseBox(570, 413, 714, 431, 1);
end;Its very simple to call, just do SpecialAttack(100); if you want to bar 100% full.
Thanks