static void SpawnCircleSkillShot(Vector2 start, Vector2 end) { SkillshotDetector.TriggerOnDetectSkillshot( DetectionType.ProcessSpell, SpellDatabase.GetByName("TestCircleSkillShot"), Utils.TickCount, start, end, end, ObjectManager.Player); LeagueSharp.Common.Utility.DelayAction.Add(5000, () => SpawnCircleSkillShot(start, end)); }
static void SpawnCircleSkillShot(Vector2 start, Vector2 end) { SkillshotDetector.TriggerOnDetectSkillshot( DetectionType.ProcessSpell, SpellDatabase.GetByName("TestCircleSkillShot"), Utils.TickCount, start, end, end, ObjectManager.Player); Core.DelayAction(() => SpawnCircleSkillShot(start, end), 5000); }
static void SpawnCircleSkillShot(Vector2 start, Vector2 end) { SkillshotDetector.TriggerOnDetectSkillshot(DetectionType.ProcessSpell, Common.Evade.SpellDatabase.GetByName("TestCircleSkillShot"), Utils.TickCount, start, end, end, GameObjects.Player); DelayAction.Add(5000, () => SpawnCircleSkillShot(start, end)); }