private void OnBuffStarted(ulong duration, Data.CooldownMode mode) { _anim.Duration = TimeSpan.FromMilliseconds(duration); ExternalArc.BeginAnimation(Arc.EndAngleProperty, _anim); }
private void OnBuffEnded(Data.CooldownMode obj) { ExternalArc.BeginAnimation(Arc.EndAngleProperty, null); ExternalArc.EndAngle = 0; }
private void OnRagnarokStarted(ulong duration, Data.CooldownMode mode) { _rag.Duration = TimeSpan.FromMilliseconds(duration); RagArc.BeginAnimation(Arc.EndAngleProperty, _rag); }
private void OnBuffStarted(Data.CooldownMode obj) { _anim.Duration = TimeSpan.FromMilliseconds(_context.Buff.Duration); ExternalArc.BeginAnimation(Arc.EndAngleProperty, _anim); }
private void OnRagnarokStarted(Data.CooldownMode obj) { _rag.Duration = TimeSpan.FromMilliseconds(_dc.Ragnarok.Buff.OriginalDuration); RagArc.BeginAnimation(Arc.EndAngleProperty, _rag); }