Still working at 5.4.8 patch.
You need HonorBuddy bot for this.
Create folder called ORBZ in Honorbuddy\Bots\ and create new file in notepad and save it as ORBZ.cs
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Styx;
using Styx.Common;
using Styx.CommonBot;
using Styx.CommonBot.POI;
using Styx.CommonBot.Profiles;
using Styx.CommonBot.Routines;
using Styx.Helpers;
using Styx.Pathing;
using Styx.WoWInternals.WoWObjects;
using Styx.TreeSharp;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Action = Styx.TreeSharp.Action;
namespace ORBZ {
class ORBZ: BotBase {
public override string Name {
get {
return "ORBZ";
}
}
public override PulseFlags PulseFlags {
get {
return PulseFlags.All;
}
}
static int castORBZ = 0;
public override void Pulse() {
if (castORBZ == 0)
return;
SpellManager.Cast("Healing Sphere");
if (castORBZ == 1)
SpellManager.ClickRemoteLocation(StyxWoW.Me.Location);
else if (castORBZ == 2)
SpellManager.ClickRemoteLocation(StyxWoW.Me.CurrentTarget.Location);
Lua.DoString("SpellStopTargeting(); castORBZ = 0;");
castORBZ = 0;
}
private Composite _root;
public override Composite Root {
get {
return _root ?? (_root = new PrioritySelector(logic()));
}
}
public override void Start() {
ProfileManager.LoadEmpty();
}
private static Composite logic() {
return new Action(delegate {
castORBZ = Lua.GetReturnVal<int>("return castORBZ", 0);
});
}
}
}
Make 2 macros:
for orbs under your target location
Code:
#showtool Healing Sphere
/script castORBZ =2;
and
for orbs under you
Code:
#showtool Healing Sphere
/script castORBZ =1;
Disable all plugins, select bot ORBZ in HonorBuddy and click START.
If you clicked 1st macro without target just click STOP and START in HonorBuddy.