private static void Drawing_OnDraw(EventArgs args) { if (Camille.IsDead) { return; } Menu menu = MenuHandler.Drawing; System.Drawing.Color drawColor = System.Drawing.Color.Blue; if (menu.GetCheckboxValue("Draw W Inner Range")) { W2.DrawRange(drawColor); } if (menu.GetCheckboxValue("Draw W Inner Range")) { W.DrawRange(drawColor); } if (menu.GetCheckboxValue("Draw E Range")) { E.DrawRange(drawColor); } if (menu.GetCheckboxValue("Draw R Range")) { R.DrawRange(drawColor); } if (menu.GetCheckboxValue("Draw Walls for E") && E.IsReady()) { if (E.Name == "CamilleE") { List <Vector2> wallPos = GetWallPositions(Camille.Position); for (int i = 0; i < wallPos.Count() - 1; i++) { if (wallPos[i].IsWall() && wallPos[i + 1].IsWall() && wallPos[i].IsInRange(wallPos[i + 1], 100) && wallPos[i + 1].IsInRange(Camille, Program.E.Range - 50)) { Drawing.DrawLine(wallPos[i].To3D().WorldToScreen(), wallPos[i + 1].To3D().WorldToScreen(), 1, System.Drawing.Color.Red); } } } else if (Camille.HasBuff("camilleeonwall")) { List <Vector2> dashablePos = GetDashablePositions(Camille.Position); for (int i = 0; i < dashablePos.Count() - 1; i++) { if (dashablePos[i].IsInRange(dashablePos[i + 1], 50)) { Drawing.DrawLine(dashablePos[i].To3D().WorldToScreen(), dashablePos[i + 1].To3D().WorldToScreen(), 1, System.Drawing.Color.Red); } } } } }