Пример #1
0
 public static void InputActiviateSkill(int index)
 {
     if(skills[index] != null && !skills[index].passive)//cannot activate a passive skill by input
     {
         skill_to_cast = skills[index];
         skill_to_cast.Activiate();
     }
 }
Пример #2
0
 protected void StartSkill(Skill s)
 {
     ai.current_skill = s;
     s.Activiate();
 }