I need to redo healing priorities for heal nukes and put them ahead of remedy anyhow. So that will fix both issues.
Ok. DPS mode was on and it never used a nuke-heal, heal-nuke, or twinheal-triggering nuke. I even opened the Macro and tried to create a time where per-code it should trigger, but it was nearly impossible because the gap left for them is too small. I also noticed a few other things:
1) Autofollow seems to work but it's funny to watch (someone would surely know it was a bot-program running it)
2) My epic shield never fired, but I never looked at the code to see when it should fire.
Here's a parse of 2 DH missions to show what my cleric actually casted:
Cleric - 282
--- Ardent Light - 181
--- Blessing of Sanctuary - 1
--- Burst of Life - 2
--- Divine Peace - 5
--- Fervid Renewal - 1
--- Improved Sanctuary - 1
--- Promised Rehabilitation - 63
--- Quiet Miracle - 2
--- Twincast - 2
--- Veturika's Perseverance - 2
--- Ward of Surety - 4
Quiet Miracle and Veturika's Perseverance I manually casted (damn ranger is always OOM!) I also noticed that Blessing of Sanctuary and Improved Sanctuary fired at the exact same time.
Going back to the autofollow:
If you kill and move really fast the cleric does not catch up quick enough. If she does catch up and she's on a mount there's a good chance she will begin casting while she's still moving. There use to be a trick with an AoN that would instantly stop you if you casted it--I'll have to see if that's still a thing and if it is it may be worth implementing to ensure you're not casting spells that are going to be interrupted. Also the autofollow moves and then stops, moves and then stops. I think this could be solved by recursively calling your DoLeashToon function and adding in the distance formula to tell it when to stop recursively calling itself. Stripping out most of the code you could do the recursive part like this:
DoLeashToon()
Code
Code
Code
if(distance(Me.X, Me.Y, LeashToon.X, LeashToonY) < 100) {
DoLeashToon
}
/return
Here's the distance formula:
http://www.purplemath.com/modules/distform.htm
At work I help with some Geo-spatial Programming and it's amazing how often you use the distance formula.



I'm sure I sound like the big complainer but I'm just trying to help make it better. I use this one for all of my boxing needs. I took a look at the benefit to mama cost ratio and if your tank can handle it Ardent Light is more efficient. Take the heal amount and divide it by the mana cost and you'll see it heals for just a little more per mana point. I also changed my heal threshold to be lower since Ardent heals for so much more.
I'll post what they accomplish and you can implement them that way. Otherwise you'd have the break out a magic decoder ring for it to make sense. Had a ton of them doing the same thing but set for different group sizes since I couldn't get the group average in a downshit.