public static void OnTick(FelineBlessedStatue statue) { if (statue.Movable) { statue.StopTimer(); return; } statue.DropResource(); TimerRegistry.UpdateRegistry(TimerID, statue, RespawnDuration); statue.NextReagentTime = DateTime.UtcNow + RespawnDuration; }
public InternalTimer(FelineBlessedStatue item) : base(TimeSpan.FromHours(1.0), TimeSpan.FromHours(1.0)) { Priority = TimerPriority.OneSecond; _Item = item; }