private void Drawing_OnDraw(EventArgs args) { if (Missile != null && Missile.IsValid && (menu["Draw"] as Menu).GetValue <MenuBool>("drawHelper").Enabled) { OktwCommon.DrawLineRectangle(Missile.Position, Player.Position, (int)QWER.Width, 1, System.Drawing.Color.White); } }
private void Drawing_OnDraw(EventArgs args) { if (Missile != null && Missile.IsValid && getCheckBoxItem("drawHelper")) { OktwCommon.DrawLineRectangle(Missile.Position, Player.Position, (int)QWER.Width, 1, Color.White); } }
private void Drawing_OnDraw(EventArgs args) { if (Missile != null && Missile.IsValid && Config[Player.CharacterName]["draw"].GetValue <MenuBool>("drawHelper").Value) { OktwCommon.DrawLineRectangle(Missile.Position, Player.Position, (int)QWER.Width, 1, System.Drawing.Color.White); } }
private void Drawing_OnDraw(EventArgs args) { if (Missile != null && Missile.IsValid && Config.Item("drawHelper", true).GetValue <bool>()) { OktwCommon.DrawLineRectangle(Missile.Position, Player.Position, (int)QWER.Width, 1, System.Drawing.Color.White); } }
private void Drawing_OnDraw(EventArgs args) { if (QMissile != null && QMissile.IsValid && Config.Item("Qhelp").GetValue <bool>()) { OktwCommon.DrawLineRectangle(QMissile.Position, Player.Position, (int)Q.Width, 1, System.Drawing.Color.White); } if (Config.Item("qRange").GetValue <bool>()) { if (Config.Item("onlyRdy").GetValue <bool>()) { if (Q.IsReady()) { Utility.DrawCircle(Player.Position, Q.Range, System.Drawing.Color.Cyan, 1, 1); } } else { Utility.DrawCircle(Player.Position, Q.Range, System.Drawing.Color.Cyan, 1, 1); } } if (Config.Item("wRange").GetValue <bool>()) { if (Config.Item("onlyRdy").GetValue <bool>()) { if (W.IsReady()) { Utility.DrawCircle(Player.Position, W.Range, System.Drawing.Color.Orange, 1, 1); } } else { Utility.DrawCircle(Player.Position, W.Range, System.Drawing.Color.Orange, 1, 1); } } if (Config.Item("eRange").GetValue <bool>()) { if (Config.Item("onlyRdy").GetValue <bool>()) { if (E.IsReady()) { Utility.DrawCircle(Player.Position, E.Range, System.Drawing.Color.Yellow, 1, 1); } } else { Utility.DrawCircle(Player.Position, E.Range, System.Drawing.Color.Yellow, 1, 1); } } if (Config.Item("noti").GetValue <bool>()) { var t = TargetSelector.GetTarget(1500, TargetSelector.DamageType.Physical); if (t.IsValidTarget()) { var comboDmg = 0f; if (R.IsReady()) { comboDmg += R.GetDamage(t) * 3; } if (Q.IsReady()) { comboDmg += Q.GetDamage(t) * 2; } if (W.IsReady()) { comboDmg += W.GetDamage(t) + W.GetDamage(t, 1); } if (comboDmg > t.Health) { Drawing.DrawText(Drawing.Width * 0.1f, Drawing.Height * 0.5f, System.Drawing.Color.Red, "COMBO KILL " + t.ChampionName + " have: " + t.Health + "hp"); drawLine(t.Position, Player.Position, 10, System.Drawing.Color.Yellow); } } } }
private void Drawing_OnDraw(EventArgs args) { if (Config.Item("qAxePos", true).GetValue <bool>()) { if (Player.HasBuff("dravenspinningattack")) { var BuffTime = OktwCommon.GetPassiveTime(Player, "dravenspinningattack"); if (BuffTime < 2) { if ((int)(Game.Time * 10) % 2 == 0) { drawText2("Q: " + String.Format("{0:0.0}", BuffTime), Player.Position, System.Drawing.Color.Yellow); } } else { drawText2("Q: " + String.Format("{0:0.0}", BuffTime), Player.Position, System.Drawing.Color.GreenYellow); } } foreach (var obj in axeList) { if (Game.CursorPos.Distance(obj.Position) > axeCatchRange || obj.Position.UnderTurret(true)) { Utility.DrawCircle(obj.Position, 150, System.Drawing.Color.OrangeRed, 1, 1); } else if (Player.Distance(obj.Position) > 120) { Utility.DrawCircle(obj.Position, 150, System.Drawing.Color.Yellow, 1, 1); } else if (Player.Distance(obj.Position) < 150) { Utility.DrawCircle(obj.Position, 150, System.Drawing.Color.YellowGreen, 1, 1); } } } if (Config.Item("qCatchRange", true).GetValue <bool>()) { Utility.DrawCircle(Game.CursorPos, axeCatchRange, System.Drawing.Color.LightSteelBlue, 1, 1); } if (Config.Item("noti", true).GetValue <bool>() && RMissile != null) { OktwCommon.DrawLineRectangle(RMissile.Position, Player.Position, (int)R.Width, 1, System.Drawing.Color.White); } if (Config.Item("eRange", true).GetValue <bool>()) { if (Config.Item("onlyRdy", true).GetValue <bool>()) { if (E.IsReady()) { Utility.DrawCircle(Player.Position, E.Range, System.Drawing.Color.Yellow, 1, 1); } } else { Utility.DrawCircle(Player.Position, E.Range, System.Drawing.Color.Yellow, 1, 1); } } }