public static void AddSkill(string skillDef, ProcCoefficientInfo procCoefficientInfo) { skills[skillDef] = new List <ProcCoefficientInfo>() { procCoefficientInfo }; }
public static void AddToSkill(string skillDef, ProcCoefficientInfo procCoefficientInfo) { if (skills.ContainsKey(skillDef)) { skills[skillDef].Add(procCoefficientInfo); } else { AddSkill(skillDef, procCoefficientInfo); } }