Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!
Hey there, anyone able to build a simple plugin that overrides routine in order to cast death strike whenever the dark succor buff is active? Thank you.
// Dark Succor
// Version 1
// By JRentfro
using System;
using Styx;
using Styx.Helpers;
using Styx.Common;
using Styx.Plugins;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.TreeSharp;
using Buddy.Coroutines;
namespace DarkSuccor
{
public class DarkSuccor : HBPlugin
{
public override string Name { get { return "Death Strike"; } }
public override string Author { get { return "JRentfro"; } }
public override Version Version { get { return new Version(1, 0); } }
public override bool WantButton { get { return false; } }
private static LocalPlayer Me { get { return StyxWoW.Me; }}
public override void Pulse()
{
var unit = StyxWoW.Me.CurrentTarget;
if (unit !=null && StyxWoW.Me.HasAura("Dark Succor")
{
SpellManager.Cast("Death Strike")
}
}
}
}