I simply do not want do something for me, I understand and learn from who knows how.
Excuse the English, I am using translator. = ss
this is my macro:
// start of macro
SetActiveWindow Archlord
While 1=1
Call cheq //Run procedure cheq, look for a target
End
Constants
HPCheio = 100 // hp full
s1 = 4 // skill atack
s2 = 3 // skill atack
bf1Delay = 468 sec //buff delay, I am not using it anywhere, because when you put run, he was expecting 468 secs to move to next key
hpiniX = 415 // X coordinate of the beginning of the hp of the monster
hpfimX = 696 // X coordinate of the end of the monster hp
HPY = 27 // Y corrdinate of the hp of the monster
Temp = 0
End
Procedure cheq // look for target
KEYS {DEL} // this statement is select any target near the char
Compute Temp = $hpiniX + $HPcheio
Isred $Temp, $HPY
CALL ATQ // call procedure atack for kill target
ELSE
CALL PEGA // call pega for pikup the drop
END
END
PROCEDURE ATQ
KEYS $S1
DELAY 2 SEC
KEYS $S2
DELAY 2 SEC
CALL CHEQ
END
PROCEDURE PEGA
KEYDOWN {SPACE} 5 SEC
DELAY 5 SEC
END
// end of macro
Sure! what I do:
I want the macro look for a target.
When you find a target it uses the buff, then he belongs to the attack.
the buffs have a cooldown of 468 secs and I used it every time I could. (if that is too complicated, can be without the same buf)
Kill the target (if he died there) if he dies he takes a drop of the monster, if it is not dead he comes back to attack the monster.
and then get the drop.
