Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
werdbrian committed Mar 4, 2016
1 parent ee4fe1b commit 870c260
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Leblanc/Leblanc/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ public static void useQE()
{
E.Cast(target);
}

}
}
private static void LaneClear()
Expand All @@ -587,8 +588,10 @@ from vMinion in minionsQ
if (W.IsReady())
{
var canCastUlt = R.IsReady();
var minions = MinionManager.GetMinions(W.Range+200).Select(m => m.ServerPosition.To2D()).ToList();
var minionPrediction = MinionManager.GetBestCircularFarmLocation(minions, 200, W.Range);
var minions =
var minionsQ = MinionManager.GetMinions(
ObjectManager.Player.ServerPosition, W.Range+200, MinionTypes.All, MinionTeam.NotAlly.Select(m => m.ServerPosition.To2D()).ToList());
var minionPrediction = MinionManager.GetBestCircularFarmLocation(minions, 200, W.Range+200);
var castPosition = minionPrediction.Position.To3D();
var notEnoughHits = minionPrediction.MinionsHit < 4;
if (!notEnoughHits)
Expand Down

0 comments on commit 870c260

Please sign in to comment.