private bool MonitorCast()
{
var prior = _fface.Player.CastPercentEx;
var stopwatch = new Stopwatch();
while (stopwatch.Elapsed.TotalSeconds < 2)
{
if (Math.Abs(prior - _fface.Player.CastPercentEx) < .5)
{
if (!stopwatch.IsRunning) stopwatch.Start();
}
else
{
stopwatch.Reset();
}
prior = _fface.Player.CastPercentEx;
Thread.Sleep(100);
}
return Math.Abs(prior - 100) < .5;
}