Post by Ravenclaw on Dec 24, 2013 15:15:16 GMT -8
This macro is used only with bandages (and Greater Heal spell if bandages run out), you must have either the standard white bandages or the bandages that are enhanced by the 'fountain of life' in your pack. It will also use the Cure Poison spell if poisoned.
This will place a bandage on every 8 seconds ('pause 8000' ms). This time should be adjusted to match your characters ability. [2 places]
You will also need to adjust the hitpoint value to something just slightly under your hitpoint max, currently set to 60. [2 places]
The bottom section of this code will warn you that you are out of bandages and it will also attempt to cast Greater heal on your character.
***Edited Dec. 25, 2013 - Added a check for poison routine to the start. Will cast cure if poisoned.
-=-=-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-
This will place a bandage on every 8 seconds ('pause 8000' ms). This time should be adjusted to match your characters ability. [2 places]
You will also need to adjust the hitpoint value to something just slightly under your hitpoint max, currently set to 60. [2 places]
The bottom section of this code will warn you that you are out of bandages and it will also attempt to cast Greater heal on your character.
***Edited Dec. 25, 2013 - Added a check for poison routine to the start. Will cast cure if poisoned.
-=-=-=-=-=-=-=-=-=-=-=-=-=-
//Check for poison
if poisoned
autotargetself
cast 'Cure'
pause 500
endif
//adjust value to a hitpoint value slightly under you max hitpoints
if hits < 60
if @findtype 0xe21 0x53
@usetype 0xe21 0x53
waitfortarget 3000
target! 'self'
//adjust to your healing time
pause 8000
else
if @findtype 0xe21 0x0
@usetype 0xe21 0x0
waitfortarget 3000
target! 'self'
//adjust to your healing time
pause 8000
endif
endif
endif
//adjust value to a hitpoint value slightly under you max hitpoints
if hits < 60
if not @findtype 0xe21 0x53 'backpack'
if not @findtype 0xe21 0x0 'backpack'
cast "Greater Heal"
waitfortarget 3000
target! 'self'
sysmsg 'OUT OF BANDAIDS - RUN!!!' '32'
pause 2000
sysmsg '!!!OUT OF BANDAGES - RUN!!!' '32'
pause 3000
cast "Greater Heal"
waitfortarget 3000
target! 'self'
sysmsg 'OUT OF BANDAIDS - RUN!!!' '32'
pause 2000
sysmsg '!!!OUT OF BANDAGES - RUN!!!' '32'
pause 3000
sysmsg 'OUT OF BANDAIDS - RUN!!!' '32'
endif
endif
endif
-=-=-=-=-=-=-=-=-=-=-=-=-=-