Exemple #1
0
        public static BuffLogicState GetBuffLogicState(BuffInfo_New buffInfo, SkillObj logObj)
        {
            string         stateName = logObj.GetBuffLogicStateName(buffInfo);
            BuffLogicState state     = GetBuffLogicState(stateName);

            if (state == null && logObj != null)
            {
                logObj.LogInfo("BuffLogicState not found stateName[{0}]".F(stateName));
            }
            return(state);
        }
Exemple #2
0
 public static BuffLogicState GetBuffLogicState(BuffInfo_New buffInfo, SkillObj logObj)
 {
     string stateName = logObj.GetBuffLogicStateName(buffInfo);
     BuffLogicState state = GetBuffLogicState(stateName);
     if (state == null && logObj != null)
     {
         logObj.LogInfo("BuffLogicState not found stateName[{0}]".F(stateName));
     }
     return state;
 }