Page 1 of 1

Healing NPC Macro

Posted: Thu Apr 29, 2010 10:33 pm
by Lazarus
How is your macro set up to heal the NPC? My current one is simple, double click bandages, click target (NPC) and I have a time delay of currently 40 seconds (training wrestling with a 2nd char). My problem is, as I'm sitting here watching, my healer (70+ healing) doesn't always fully heal. Sometimes it says hes barely healed the NPC and of course by this point the NPC is almost dead so I stop and restart the macro real quick so he does it again. My question is, is there a way for my healer to automatically reapply bandages if he doesn't really heal? If so how do I add that in? Or should I just shorten my delay?

Re: Healing NPC Macro

Posted: Thu Apr 29, 2010 10:38 pm
by Bag
Just set up an if statement...

!Loop
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|2|101986|4051|537|6|401
Assistant.Macros.PauseAction|00:00:07.5000000
Assistant.Macros.IfAction|4|0|barely
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.WaitForTargetAction|1
Assistant.Macros.AbsoluteTargetAction|0|2|101986|4051|537|6|401
Assistant.Macros.PauseAction|00:00:07.5000000
Assistant.Macros.ElseAction
Assistant.Macros.PauseAction|00:00:10
Assistant.Macros.EndIfAction

This will double click bandages, target NPC, wait 7.5seconds. If the message "barely" is returned, it will heal again, otherwise it will pause for 10 seconds.

Re: Healing NPC Macro

Posted: Thu Apr 29, 2010 10:53 pm
by Lazarus
Bag wrote:This will double click bandages, target NPC, wait 7.5seconds. If the message "barely" is returned, it will heal again, otherwise it will pause for 10 seconds.
This bag. This seem to be working minus one little hook up. I just saw my healer "barely" heal and so he went to heal again which he did however immediately afterwards he begin healing again instead of waiting the 20 second delay.

Re: Healing NPC Macro

Posted: Thu Apr 29, 2010 11:08 pm
by Unstablecorn
!Loop
Assistant.Macros.DoubleClickTypeAction|3617|True
Assistant.Macros.PauseAction|00:00:00.5000000
Assistant.Macros.AbsoluteTargetAction|0|2|150252|1053|627|43|400
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.IfAction|4|0|you begin applying the bandages.
Assistant.Macros.PauseAction|00:00:04.5000000



This is what I use. It keeps trying to heal untill it begins applying the bandage then it waits 5 secs.

Re: Healing NPC Macro

Posted: Fri Apr 30, 2010 6:58 am
by Lazarus
Thanks guys. I just used what bag gave me. Wasn't that bad, worked enough for me to GM wrestling last night. I'm training swords now and I just continually heal at this point, no delay, thats going well also.

Gained like 2.5 skill in healing just by regularly healing.

Re: Healing NPC Macro

Posted: Fri Apr 30, 2010 7:54 am
by Bag
Yeh Laz I forgot to mention actually that it will heal AGAIN after that, which is a slight error, but honestly that's not that bad since often if you get a barely message, you'd want to heal again right away anyway since you may not top off the NPC the first time. Bandages are cheap and keeping NPC alive is paramount to the macro working.

Re: Healing NPC Macro

Posted: Fri Apr 30, 2010 8:02 am
by Lazarus
Bag wrote:Yeh Laz I forgot to mention actually that it will heal AGAIN after that, which is a slight error, but honestly that's not that bad since often if you get a barely message, you'd want to heal again right away anyway since you may not top off the NPC the first time. Bandages are cheap and keeping NPC alive is paramount to the macro working.
+1. Thats why I wasn't even stressing over it. I have plenty of bandages.