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); }
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; }