private static void AddDic(SkillType type, float interval) { var skill = new Skill { type = type, name = type.ToString(), }; var acttime = new ActTime() { interval = interval }; skill.acttimelist.Add(acttime); genraldic.Add(type, skill); }
public CustomSkill(Skill skill, SkillType nexttype = SkillType.Default) { original = skill; act = skill.GetActTime(nexttype); }