What I was planning, is taking the existing code and editing it to work for a priest.
What I was thinking is that I could use UberFlex in combination with F2 and \.
While partied, sending F2 and \ Follows you're party member.
Any ideas on how to check if the main is in combat/walking away?
After that I need to resume following.
Code: Select all
if( v.CastTime > 0 ) then
local startTime = os.time();
while( not self.Casting ) do
yrest(50);
keyboardHold(VK_F2);
keyboardRelease(VK_F2);
keyboardHold(VK_\);
keyboardRelease(VK_\);
self:update();
if( os.difftime(os.time(), startTime) > v.CastTime ) then
self.Casting = true; -- force it.
break;
end
end;
while(self.Casting) do
-- Waiting for casting to finish...
yrest(10);
self:update();
end
Basically, when NOT casting, it's following.
I think this would be really simple with RoM Bot.