Пример #1
0
 public static void CheckWarriorsSkillCooldown(S_START_COOLTIME_SKILL sk)
 {
     if (SkillsDatabase.SkillIdToName(sk.SkillId, Class.Warrior).Contains("Scythe I"))
     {
         Scythed?.Invoke((int)sk.Cooldown);
     }
     else if (SkillsDatabase.SkillIdToName(sk.SkillId, Class.Warrior).Contains("Deadly Gamble"))
     {
         GambleCooldown?.Invoke((int)sk.Cooldown);
     }
 }
Пример #2
0
 public static void HandleNewSkillCooldown(S_START_COOLTIME_SKILL p)
 {
     WindowManager.SkillsEnded = false;
     SkillManager.AddSkill(p.SkillId, p.Cooldown);
 }
 public static void HandleNewSkillCooldown(S_START_COOLTIME_SKILL p)
 {
     SkillManager.AddSkill(p.SkillId, p.Cooldown);
 }