/// <summary> /// Returns true if some detected skillshot is about to hit the unit. /// </summary> public static bool IsAboutToHit(Obj_AI_Base unit, int time) { time += 150; return(ActiveSkillshots .Any(skillshot => skillshot.IsAboutToHit(time, unit))); }