You are on page 1of 3

begin

Variable.Set("r", "0")
begin loop()
Function.Execute("Search")
Variable.Set("x", "0")
// RGB Target, replace it value as you need
if Color.At coordinate is (RGB)("34", "118", "180", "791", "76")
begin loop()
// anti hit stuck
Variable.Add (Math)("x", "1")
if Variable.Is greater than (Math)("x", "5")
begin
Keyboard.Hold keys("3")
Function.Execute("Human Pause")
Keyboard.Release keys("3")
end
// attack mode, Melle or Skill
Function.Execute("Skill")
// change target after target HP 0%,
if Color.At coordinate is not (RGB)("133", "26", "19", "572",
"55")
begin
Macro.Restart("no")
end
end
Variable.Add (Math)("r", "1")
if Variable.Is greater than (Math)("r", "5")
begin loop()
Function.Execute("Roam")
Function.Execute("Search")
// Stop Roam after find target
// RGB Target, replace it value as you need
if Color.At coordinate is (RGB)("34", "118", "180", "791",
"76")
begin
Macro.Restart("no")
end
end
end
end

function("Human Pause")
begin
Humanly.Pause("100", "300")
end
function

function("Melee")
begin
Keyboard.Hold keys("1")
Function.Execute("Human Pause")
Keyboard.Release keys("1")
Keyboard.Hold keys("4")
Function.Execute("Human Pause")
Keyboard.Release keys("4")
Function.Execute("Heal")
end
function
function("Skill")
begin
Keyboard.Hold keys("{<f2>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f2>}")
Keyboard.Hold keys("1")
Function.Execute("Human Pause")
Keyboard.Release keys("1")
Keyboard.Hold keys("4")
Function.Execute("Human Pause")
Keyboard.Release keys("4")
Function.Execute("Heal")
end
function

function("Heal")
// emergency heal - CC 25%
if Color.At coordinate is not (RGB)("216", "65", "54", "145", "128")
begin
Keyboard.Hold keys("{<f4>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f4>}")
Keyboard.Hold keys("{<f1>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f1>}")
end
// Digi DS 5%
if Color.At coordinate is not (RGB)("15", "241", "255", "130", "142")
begin
Keyboard.Hold keys("{<f5>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f5>}")
end
// Tamer DS 5%
if Color.At coordinate is not (RGB)("15", "241", "255", "117", "68")
begin
Keyboard.Hold keys("{<f7>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f7>}")
end
// Food HP 50%
if Color.At coordinate is not (RGB)("243", "57", "40", "167", "129")
begin
Keyboard.Hold keys("{<f8>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<f8>}")
end
function

function("Search")
begin
Keyboard.Hold keys("{<tab>}")
Function.Execute("Human Pause")
Keyboard.Release keys("{<tab>}")
Keyboard.Hold keys("4")
Function.Execute("Human Pause")
Keyboard.Release keys("4")
Function.Execute("Human Pause")
Function.Execute("Heal")
end
function

function("Roam")
begin
Variable.Set random text("Key", "1", "wasd")
Keyboard.Hold keys("{Key}")
Humanly.Pause("300", "350")
Keyboard.Release keys("{Key}")
end
function

You might also like