tattooed wrote:
Good night, I have a 100% functional configuration..but I need to improve it and I'm having trouble getting it! I need that as soon as he tries to attack a monster that is on a hill or behind a wall, he realizes he can't attack the monster and teleports. For example: If he tries to attack the monster and can't attack for 10 seconds, let him teleport! but let this time not interfere as a time limit for attacking other monsters that are visible and attackable, only for monsters that are not attackable! I would like to know if someone could help me to put this inside my configuration please. Thanks in advance ! Here is my current configuration:
begin
Window.Bring to front("Ragnarok", "Yes")
Function.Execute("Attack")
Function.Execute("Fly")
end
function("Attack")
begin
Window.Bring to front("Ragnarok", "Yes")
Humanly.Pause("400", "500")
if Color.Can be located on screen (RGB)("255", "255", "198", "0")
begin
Humanly.Pause("300", "400")
Mouse.Click at color closest to coordinate (RGB)("255", "255", "198", "0", "800", "700", "left")
Humanly.Pause("300", "400")
end
end
function
function("Fly")
begin
Window.Bring to front("Ragnarok", "Yes")
Color.Limit area of interest to coordinates("1", "1", "800", "600")
if Color.Can not be located on screen (RGB)("255", "255", "198", "0")
begin
Window.Bring to front("Ragnarok", "Yes")
Humanly.Pause("300", "400")
Keyboard.Press key("2")
Humanly.Pause("300", "400")
end
end
function
you should have to check for the original script of macro blitz, the only way to attain your goal was how many times to try to attack and teleport.