Ejemplo n.º 1
0
        private void UpdateTimedProps(TimedPropsData data, bool enable)
        {
            double propsValue = 0;

            if (enable)
            {
                propsValue = data.propsValue;
            }

            if (data.propsType == (int)PropsTypes.ExtProps)
            {
                propCacheManager.SetExtPropsSingle(PropsSystemTypes.BufferPropsManager, data.skillId, data.propsType, data.propsIndex, propsValue);
            }
            else if (data.propsType == (int)PropsTypes.BaseProps)
            {
                propCacheManager.SetBasePropsSingle(PropsSystemTypes.BufferPropsManager, data.skillId, data.propsType, data.propsIndex, propsValue);
            }
        }