Пример #1
0
        private void RefreshTimerLife(IBuff buff)
        {
            int buffId = buff.GetBuffId();

            if (buffTimerMap.ContainsKey(buffId))
            {
                int   timerId = GetTimerId(buffId, true);
                float life    = buff.GetDuringTime();
                timerService.RefreshTimerLife(timerId, life);
            }
        }