Roflme
2012-11-21 15:48:44
Another SIMPLE EoC function, BUT NOTE IT IS NOT FULLY FUNCTIONING YET. Right now it's set up to ONLY work with 1. Place an ability in the very first slot and see if this works. I need to get the center of the other boxes later.
May need to play with the wait times because those were giving me problems. If it continues to not work PLEASE POST the ABILITY you used.
And random question:
Does anyone know if srl_InFight was affected by the EoC? Or is it still working/updated?
May need to play with the wait times because those were giving me problems. If it continues to not work PLEASE POST the ABILITY you used.
procedure useActionKey(s:string); // Sends the key
begin
TypeSendEx(s, false)
end;
function AbilityUsed:Boolean; // If the color changes then it means the ability
begin // has been used
Result := CountColor(Color, 59, 308, 61, 310) < 1;
if Result then
Writeln('Used Ability');
end;
function UseAbility(s:string):Boolean; // Uses an ability, comes back as true
begin // if it was successfully used.
Color := GetColor(60, 309);
useActionKey(s);
Wait(RandomRange(900,1000));
Result := AbilityUsed;
end; And random question:
Does anyone know if srl_InFight was affected by the EoC? Or is it still working/updated?