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); } } }
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); } } }
public static void DmgDraw(EventArgs args) { foreach (var enemy in ObjectManager.Get <Obj_AI_Hero>().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); Indicator.unit = enemy; Indicator.drawDmg(Dmg.GetComboDamage(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); } }