private static void Drawing_OnEndScene(EventArgs args) { foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500) && !ene.IsDead && ene.IsVisible)) { Indicator.Unit = enemy; Indicator.DrawDmg(Dmg.ComboDmg(enemy), enemy.Health <= Dmg.ComboDmg(enemy) * 1.65 ? Color.LawnGreen : Color.Yellow); } }
private static void Drawing_OnEndScene(EventArgs args) { foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500))) { if (!MenuConfig.Dind) { continue; } Indicator.Unit = enemy; Indicator.DrawDmg(Dmg.ComboDmg(enemy), Color.LawnGreen); } }
private static void Drawing_OnEndScene(EventArgs args) { foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget() && !ene.IsZombie)) { if (MenuConfig.dind) { var EasyKill = Spells.Q.IsReady() && Dmg.IsLethal(enemy) ? new ColorBGRA(0, 255, 0, 120) : new ColorBGRA(255, 255, 0, 120); DRAW.DrawHpBar.unit = enemy; DRAW.DrawHpBar.drawDmg(Dmg.ComboDmg(enemy), EasyKill); } } }
private static void Drawing_OnEndScene(EventArgs args) { foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().Where(ene => ene.IsValidTarget() && !ene.IsZombie)) { if (MenuConfig.dind) { var EasyKill = Champion.Q.IsReady() && Dmg.IsLethal(enemy) ? new ColorBGRA(0, 255, 0, 120) : new ColorBGRA(255, 255, 0, 120); Indicator.unit = enemy; Indicator.drawDmg(Dmg.ComboDmg(enemy), EasyKill); } } }
public static void OnDrawEnemy(EventArgs args) { if (Player.IsDead || !MenuConfig.UseDrawings || !MenuConfig.Dind) { return; } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(x => x.IsValidTarget() && !x.IsZombie)) { var EasyKill = Spells.Q.IsReady() && Dmg.IsLethal(enemy) ? new ColorBGRA(0, 255, 0, 120) : new ColorBGRA(255, 255, 0, 120); DrawHpBar.unit = enemy; DrawHpBar.drawDmg(Dmg.ComboDmg(enemy), EasyKill); } }