|
Post by crowface28 on Jul 27, 2020 13:38:42 GMT
Whack a friend, and heal them. If they're hitting you, it'll walk you away to self-heal if you get too low on health for whatever reason. Required setup: - Bandages dragged to first hotbar slot
- Bandage Self dragged to second slot on hotbar
- Sparring partner set as "last target"... use a bandage manually on them once to set this.
while true do
Macro(0)
LastTarget()
sleep(1000)
if tonumber(HEALTH) < 20 then
Move(CHARPOSX, CHARPOSY, tonumber(CHARPOSZ)+5)
sleep(4000)
Macro(1)
sleep(15000)
Move(CHARPOSX, CHARPOSY, tonumber(CHARPOSZ)-5)
end
end
|
|
|
Post by polymerase on Jul 29, 2020 10:51:01 GMT
May I ask why the Move() commands? Cheers, nice job
|
|
|
Post by polymerase on Sept 2, 2020 15:21:56 GMT
Suggested changes:
while true do Macro(0) -- attack Macro LastTarget() sleep(1000)
if HEALTH < 20 then Move(CHARPOSX, CHARPOSY, CHARPOSZ+5) sleep(4000)
Macro(1) sleep(15000)
Move(CHARPOSX, CHARPOSY, CHARPOSZ) end end
Not tested.
|
|