Purpose: Maintain Path of Frost Description: This simple plugin will maintain Path of Frost while not in combat to allow the DK to allows walk over water. I am using [N] Mining + Herb Farm in Valley of Four Winds - MASSIVE Yields and there is small section that runs across water; so, I decided I need to have Path of Frost to speed that bit up. Instructions: Make a folder in your HonorBuddy/Plugins folder named PathOfFrost -> make a file PathOfFrostPlugin.cs -> paste the below code into the file. Support: Not likely to happen, sort it out yourself; sorry, this is a real simple plugin no support should be needed. File: View attachment PathOfFrost.zip Code: using System; using System.Collections.Generic; using System.Text; using System.Windows.Media; using Styx; using Styx.Common; using Styx.CommonBot; using Styx.Plugins; using Styx.WoWInternals; using Styx.WoWInternals.WoWObjects; namespace XSOL { class PathOfFrost : HBPlugin { public override string Name { get { return "PathOfFrost"; } } public override string Author { get { return "xsol"; } } public override Version Version { get { return new Version(1, 0, 0, 0); } } public override bool WantButton { get { return true; } } public override string ButtonText { get { return "N/A"; } } private static LocalPlayer me = StyxWoW.Me; public PathOfFrost() { } public override void Pulse() { if (!StyxWoW.IsInGame) { return; } if (!me.Combat) { if (!me.Buffs.ContainsKey("Path of Frost")) { SpellManager.Cast("Path of Frost"); } } } public override void OnButtonPress() { } } }
could you please link your plugin?, cause i dont know how to generate a cs file. what would be very nice thx
make a text file and rename it to a .cs file; you will need to have show file extensions enabled or you could copy paste another cs file and rename that and replace the text but, I added a file, because I guess I am being nice today
yes, that would work for shaman, but you should make a new file and edit class name and the description text etc too
I will make a double post so mabe you can see the topic. Using it in BGs will cause to spam Path of Frost like crazy. Is there any way to check if the buff is on and its not in combat before cast it? Thanks alot once more!!!
it already checks for combat, a dot will cause the spam, you chose to use it for something it was not developed to do the easiest thing would be to delay the check to eliminate "spam"
How would I make this work for fishing? I Found the delay check line but am unsure what to replace it with.
Fixed. Updated code source text and link to attachment at the top. View attachment 150262 I have not fixed the pvp bug; that is as stated beyond the scope of what I made the plugin for.