internal static void OnUpdate(EventArgs args) { if (Environment.TickCount - LastUpdate < 250) { return; } if (Heroes.Player.UnderTurret(true)) { var turret = Turrets.EnemyTurrets.FirstOrDefault(t => t.Distance(Heroes.Player.ServerPosition) <= 800); if (turret.CountNearbyAllyMinions(800) < 3) { DecisionMaker.Goto(HeadQuarters.AllyHQ.RandomizePosition()); } } LastUpdate = Environment.TickCount; ValidPossibleMoves = new List <Vector3>(); if (Heroes.Player.IsMelee || Heroes.Player.AttackRange < 450) { UseAutoSharpARAMPositioning(); } else { UseAIMARAMPositioning(); } }