Plugin isnt work. Anyone can help to fix ?
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 WaitOnDeath
{
public class WaitOnDeath : HBPlugin
{
public override string Name { get { return "Wait On Death"; } }
public override string Author { get { return "JBonnick"; } }
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()
{
if(Me.IsGhost && Me.PvpFlagged)
{
Logging.Write("[WaitOnDeath Plugin] Waiting for 300 seconds");
Coroutine.Sleep(300000);
}
}
}
}