private static void OnEndScene(EventArgs args) { if (Kalista.getCheckBoxItem(Kalista.drawingMenu, "com.ikalista.drawing.eDamage")) { foreach ( var hero in EntityManager.Heroes.Enemies.Where(x => x.IsValidTarget() && x.IsHPBarRendered && x.HasRendBuff())) { height = 9; width = 104; xOffset = hero.ChampionName == "Jhin" ? -9 : 2; yOffset = hero.ChampionName == "Jhin" ? -5 : 9; DrawLine(hero); } } if (Kalista.getCheckBoxItem(Kalista.drawingMenu, "com.ikalista.drawing.eDamageJ")) { foreach ( var unit in EntityManager.MinionsAndMonsters.GetJungleMonsters().Where( x => ObjectManager.Player.Distance(x) <= SpellManager.Spell[SpellSlot.E].Range && x.IsValidTarget() && x.IsHPBarRendered && x.HasRendBuff())) { Render.Circle.DrawCircle(unit.Position, 500f, unit.IsMobKillable() ? Color.GreenYellow : Color.Red); } } }