Just to give credit, this plugin was based off the other plugin ... which in turn was based off COIHelper. I have cleaned up the code and made this more generic so that when this event is over, it can easily be utilized for whatever the special use buff occasion may be. First release 1.0 Code: using System.ComponentModel; using System.Drawing; using System.Linq; using System.Threading; using System.Windows.Forms; using System.Windows.Media; using System; using Styx.Helpers; using Styx.WoWInternals; using Styx.WoWInternals.WoWObjects; using System.IO; using System.Xml.Linq; using Styx.Plugins; using Styx; using Styx.CommonBot; using Styx.Common.Helpers; using Styx.CommonBot.POI; using Styx.CommonBot.Profiles; using Styx.CommonBot.Database; using Styx.Common; using Styx.CommonBot.Frames; using System.Collections.Generic; using System.Diagnostics; namespace BuffHelper { public partial class BuffHelper : HBPlugin { public override string Name { get { return "Buff Helper"; } } public override string Author { get { return "hackersrage"; } } public override Version Version { get { return new Version(1, 0); } } public override bool WantButton { get { return true; } } public override string ButtonText { get { return "No Config"; } } public bool IsBuffActive() { if (Me.HasAura("WoW's 8th Anniversary")) { return true; } return false; } public static void slog(string format, params object[] args) { Logging.Write("[BuffHelper]:" + format, args); } private static LocalPlayer Me { get { return StyxWoW.Me; } } public override void Initialize() { Logging.Write(Colors.Lime, "Celebration Helper"); } public override void Pulse() { DoBuffCheck(); } public bool DoBuffCheck() { if ( StyxWoW.Me.IsDead || StyxWoW.Me.IsGhost ) { return false; } WoWItem buff = Me.BagItems.FirstOrDefault(h => h.Entry == 71134); if ((buff != null) && (buff.CooldownTimeLeft.TotalMilliseconds <= 0) && !Me.Mounted && !IsBuffActive()) { buff.Use(); Logging.Write(Colors.CornflowerBlue, "Used : WoW's 8th Anniversary"); } return false; } } } You can download the current version here. If this proves popular, I will setup an SVN, but for the moment, that seems a bit nuts. View attachment BuffHelper1.0.zip Download, and extract to your Plugins folder. No configuration necessary. Just enable it, and make sure the anniversary item is in your inventory. Update Log 1.0 - View attachment BuffHelper1.0.zip Cleaned up variables. Added check for IsGhost Added check for IsDead *Note - While the "WoW 8th Anniversary" item is no longer available. This code can be recycled to utilize other item buffs. I am waiting for another event item that everyone gets before updating this to use that.
Will try this out with my luck potions, if you don't mind? Didn't get it.. will try to learn som basic codes tonight
I updated it for WoW's 9th Anniversary: View attachment BuffHelper.zip Just unzip into your /Plugins folder