Example #1
0
            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);
            }
Example #2
0
 public CustomSkill(Skill skill, SkillType nexttype = SkillType.Default)
 {
     original = skill;
     act      = skill.GetActTime(nexttype);
 }