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); } }
public static void OnEndScene(EventArgs args) { foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1350))) { if (!MenuConfig.DrawDmg) { continue; } Indicator.Unit = enemy; Indicator.DrawDmg(dmg.EDamage(enemy), Color.LawnGreen); } }