UOSteam Pet Auto Cleric Spell Heal Macro
Posted: Wed Apr 15, 2015 7:54 pm
This is my first post, so sorry if this is in the wrong place. I am currently attempting to make a script that will auto heal my pets with Touch of Life. I currently have the following:
It seems to work fine, except that it randomly heals my pets when I walk in or out of dungeons. I have no idea why it would do this. It's not that big of a problem. It is more annoying than anything. Any help is appreciated. Note that this is my first script, and am aware that it is probably terrible haha. Again, sorry if this is in the wrong section. Please move it if it is.
Edit: I also was wondering if anyone knew the casting time for Touch of Life. My pause needs to be tweaked a bit. I could figure it out, but if anyone knows the exact time, it would help a lot.
Code: Select all
if not findalias 'pet1'
headmsg 'Select first pet'
promptalias 'pet1'
endif
if not findalias 'pet2'
headmsg 'Select second pet'
promptalias 'pet2'
endif
if not findalias 'pet3'
headmsg 'Select third pet'
promptalias 'pet3'
endif
if not findalias 'pet4'
headmsg 'Select fourth pet'
promptalias 'pet4'
endif
if not findalias 'pet5'
headmsg 'Select fifth pet'
promptalias 'pet5'
endif
if hits 'pet1' < maxhits 'pet1'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet1'
pause 2000
endif
if hits 'pet2' < maxhits 'pet2'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet2'
pause 2000
endif
if hits 'pet3' < maxhits 'pet3'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet3'
pause 2000
endif
if hits 'pet4' < maxhits 'pet4'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet4'
pause 2000
endif
if hits 'pet5' < maxhits 'pet5'
replygump 0x9d402a14 11
waitforgump 2638227988 15000
autotargetobject 'pet5'
pause
endif
Edit: I also was wondering if anyone knew the casting time for Touch of Life. My pause needs to be tweaked a bit. I could figure it out, but if anyone knows the exact time, it would help a lot.