So this is the healing logic code ATM for this cc if anyone wants to add suggestions their more then welcome to. If you feel like something is missing in the logic say so I've got a month and a half of vacation left so m-th ill be working on this like 14+ hours a day and f-sun ill do so in the morning's since i still want to party during my vacation
I'll give credit where its due and take any and all suggestions on improvements.
Purpose:
Healing Logic that outheals all Human players.
Only Designed for lvl 85's atm with instances/raids in mind. other additions such as pvp to come later.
Current Credits go to:
Sm0k3d and his pally CC i used his as the Base for the cc and then modified it to suit me.
Apoc and the Singuler CC team I Stole some code from them for cluster's and friendly unit's
fpsware for his help and suggestion for Stopwatch usage much appreciated.
CodenameG for his explanation on what Blacklist.X does was quite helpful.

Purpose:
Healing Logic that outheals all Human players.
Only Designed for lvl 85's atm with instances/raids in mind. other additions such as pvp to come later.
Code:
if (GotBuff("Nature's Swiftness") && CanCast("Healing Touch", tar) && (Me.Combat || tar.Combat)) { s = "Healing Touch"; }
else if (hp < 15 && !GotBuff("Nature's Swiftness") && CanCast("Nature's Swiftness")) { s = "Nature's Swiftness"; }
else if (hp < 25 && !GotBuff("Nature's Grace") && CanCast("Regrowth", tar) && (!(ng.ElapsedMilliseconds < 45000) || (ng.ElapsedMilliseconds == 0))) { s = "Regrowth"; ng.Restart(); }
else if (hp < 35 && GotBuff("Nature's Grace") && CanCast("Healing Touch", tar)) { s = "Healing Touch"; }
//Tree of Life
else if (ShouldTree(3)) { s = "Tree of Life"; }
else if (GotBuff("Tree of Life") && CanCast("Wild Growth")) {tar = Clusters.GetBestUnitForCluster(Unit.NearbyFriendlyPlayers, ClusterType.Radius, 30f); s = "Wild Growth";}
else if (GotBuff("Tree of Life") && CanCast("Tranquility")) { s = "Tranquility"; }
//End Tree of Life
else if (ShouldTranquility(3)) { s = "Swiftmend"; }
else if (hp < 70 && GotBuff("Nature's Grace") && CanCast("Healing Touch", tar)) { s = "Healing Touch"; }
else if (hp < 70 && GotBuff("Clearcast") && CanCast("Healing Touch", tar)) { s = "Healing Touch"; }
else if (hp < 80 && GotBuff("Clearcast") && CanCast("Regrowth", tar)) { s = "Regrowth"; }
//Tank HoT's
else if (tar.Guid == tank.Guid && CanCast("Lifebloom") && !GotBuff("Lifebloom", tar)) { s = "Lifebloom"; Logging.Write("Tank doesn't have Lifebloom"); }
else if (tar.Guid == tank.Guid && CanCast("Lifebloom") && GotBuff("Lifebloom", tar) && tar.ActiveAuras["Lifebloom"].StackCount < 3) { s = "Lifebloom"; Logging.Write("Tank has less than 3 stacks of Lifebloom"); }
else if (tar.Guid == tank.Guid && CanCast("Lifebloom") && GotBuff("Lifebloom", tar) && tar.ActiveAuras["Lifebloom"].TimeLeft.TotalMilliseconds <= 1500 && hp > 50) { Logging.Write("Tank's HP is more than 60% and Lifebloom's duration is {1}", tar.HasAura("Lifebloom")? tar.ActiveAuras["Lifebloom"].TimeLeft.TotalMilliseconds : 1500); s = "Lifebloom"; }
else if (hp < 90 && tar.Guid == tank.Guid && CanCast("Rejuvenation", tar)) { s = "Rejuvenation"; }
//End of Tank HoT's
else if (hp < 85 && CanCast("Rejuvenation",tar) && (tar.ActiveAuras.ContainsKey("Rejuvenation") || tar.ActiveAuras.ContainsKey("Regrowth"))) { s = "Swiftmend"; }
else if (ShouldWildGrowth(2) && CanCast("Wild Growth", tar)) { tar = Clusters.GetBestUnitForCluster(Unit.NearbyFriendlyPlayers, ClusterType.Radius, 30f); s = "Wild Growth"; }
else if (ShouldEfflorescence(2) && CanCast("Swiftmend",tar)) { tar = Clusters.GetBestUnitForCluster(Unit.NearbyFriendlyPlayers, ClusterType.Radius, 8f); s = "Swiftmend"; }
else if (hp < 85 && CanCast("Rejuvenation",tar) && !tar.ActiveAuras.ContainsKey("Rejuvenation")) { s = "Rejuvenation"; }
else if (hp < 90 && CanCast("Rejuvenation",tar) && (tar.ActiveAuras.ContainsKey("Rejuvenation") || tar.ActiveAuras.ContainsKey("Regrowth") || tar.ActiveAuras.ContainsKey("Wild Growth") || tar.ActiveAuras.ContainsKey("Lifebloom"))) { s = "Nourish"; }
else if (hp < 70 && CanCast("Healing Touch",tar)) { s = "Healing Touch"; }
Current Credits go to:
Sm0k3d and his pally CC i used his as the Base for the cc and then modified it to suit me.
Apoc and the Singuler CC team I Stole some code from them for cluster's and friendly unit's
fpsware for his help and suggestion for Stopwatch usage much appreciated.
CodenameG for his explanation on what Blacklist.X does was quite helpful.