private static void Gama_OnDraw(EventArgs args) { if (Player.Instance.IsDead) { return; } if (MenuDraw["Draw.Q.Range"].Cast <CheckBox>().CurrentValue) { Circle.Draw(SpellManager.Q.IsReady() ? Color.Orange : Color.IndianRed, SpellManager.Q.Range, Player.Instance.Position); } if (MenuDraw["Draw.Q.Big"].Cast <CheckBox>().CurrentValue) { Circle.Draw(SpellManager.Q.IsReady() ? Color.Orange : Color.IndianRed, 450, Player.Instance.Position); } if (MenuDraw["Draw.R.Range"].Cast <CheckBox>().CurrentValue) { Circle.Draw(SpellManager.R.IsReady() ? Color.DeepSkyBlue : Color.IndianRed, SpellManager.R.Range, Player.Instance.Position); } if (MenuDraw["Draw.ComboCal"].Cast <CheckBox>().CurrentValue) { foreach (var enemy in EntityManager.Heroes.Enemies.Where(x => x.IsValidTarget(2000) && x.IsHPBarRendered)) { var Damage_Per = (int)((Damage.DmgCalSteal(enemy) / enemy.TotalShieldHealth()) * 100); if (Damage_Per > 0) { MainFont.DrawText(null, enemy.TotalShieldHealth() <= Damage_Per ? "Killable" : Damage_Per + "%", (int)enemy.HPBarPosition.X + 40, (int)enemy.HPBarPosition.Y - 45, Damage_Per > enemy.TotalShieldHealth() ? Color.Yellow : Color.White); } } } foreach (var hero in EntityManager.Heroes.Enemies.Where(x => x.IsValid && !x.IsDead && Player.Instance.Distance(x) < 2000)) { if (hero != null) { if (MenuDraw["Draw." + hero.ChampionName.ToLower() + ".Q"].Cast <CheckBox>().CurrentValue) { Circle.Draw(!hero.Spellbook.GetSpell(SpellSlot.Q).IsReady ? Color.White : Color.Zero, hero.Spellbook.GetSpell(SpellSlot.Q).SData.CastRange, hero.Position); } if (MenuDraw["Draw." + hero.ChampionName.ToLower() + ".W"].Cast <CheckBox>().CurrentValue) { Circle.Draw(!hero.Spellbook.GetSpell(SpellSlot.W).IsReady ? Color.White : Color.Zero, hero.Spellbook.GetSpell(SpellSlot.W).SData.CastRange, hero.Position); } if (MenuDraw["Draw." + hero.ChampionName.ToLower() + ".E"].Cast <CheckBox>().CurrentValue) { Circle.Draw(!hero.Spellbook.GetSpell(SpellSlot.E).IsReady ? Color.White : Color.Zero, hero.Spellbook.GetSpell(SpellSlot.E).SData.CastRange, hero.Position); } if (MenuDraw["Draw." + hero.ChampionName.ToLower() + ".R"].Cast <CheckBox>().CurrentValue) { Circle.Draw(!hero.Spellbook.GetSpell(SpellSlot.R).IsReady ? Color.White : Color.Zero, hero.Spellbook.GetSpell(SpellSlot.R).SData.CastRange, hero.Position); } } } if (MenuDraw["Draw.Virtual"].Cast <CheckBox>().CurrentValue) { Circle.Draw(Color.White, MenuDraw["Virtual.Range1"].Cast <Slider>().CurrentValue, Player.Instance.Position); Circle.Draw(Color.White, MenuDraw["Virtual.Range2"].Cast <Slider>().CurrentValue, Player.Instance.Position); } }