예제 #1
0
        public static void OnTick(FelineBlessedStatue statue)
        {
            if (statue.Movable)
            {
                statue.StopTimer();
                return;
            }

            statue.DropResource();

            TimerRegistry.UpdateRegistry(TimerID, statue, RespawnDuration);
            statue.NextReagentTime = DateTime.UtcNow + RespawnDuration;
        }
예제 #2
0
 public InternalTimer(FelineBlessedStatue item)
     : base(TimeSpan.FromHours(1.0), TimeSpan.FromHours(1.0))
 {
     Priority = TimerPriority.OneSecond;
     _Item    = item;
 }