public void OnDraw(EventArgs args) { if (ObjectManager.Player.IsDead) { return; } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1200))) { heroHealthBarIndicator.Unit = enemy; if (Menu.Item("LeeSin.Drawing.Damage.Q").GetValue <bool>() && spell.Spell.IsReady()) { var dmg = spell.GetDamage(enemy); if (spell.Smite.IsReady()) { dmg += spell.SmiteTargetableDamage(); } heroHealthBarIndicator.DrawDmg(dmg, enemy.Health <= dmg ? Color.DarkSlateGray : Color.Green); } heroHealthBarIndicator.DrawDmg(Statistisks.GetComboDamage(enemy), enemy.Health <= Statistisks.GetComboDamage(enemy) * .8 ? Color.LawnGreen : Color.Yellow); } }
public void OnDraw(EventArgs args) { if (ObjectManager.Player.IsDead) { return; } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500))) { if (Menu.Item("Damage").GetValue <bool>()) { heroHealthBarIndicator.Unit = enemy; heroHealthBarIndicator.DrawDmg(Damage.GetComboDamage(enemy), enemy.Health <= Damage.GetComboDamage(enemy) * .9 ? Color.LawnGreen : Color.Yellow); } if (Menu.Item("Counter").GetValue <bool>()) { Drawing.DrawText( enemy.HPBarPosition.X + Menu.Item("Vayne.Drawings.Damage.X").GetValue <Slider>().Value, enemy.HPBarPosition.Y + Menu.Item("Vayne.Drawings.Damage.Y").GetValue <Slider>().Value, System.Drawing.Color.AliceBlue, "Attacks: " + Damage.DamageCounter(enemy)); } } }
public void OnEndScene(EventArgs args) { foreach ( var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1200) && !ene.IsZombie)) { var easyKill = Variables.Spells[SpellSlot.R].IsReady() ? new ColorBGRA(0, 255, 0, 120) : new ColorBGRA(255, 255, 0, 120); drawDamage.Unit = enemy; drawDamage.DrawDmg(logic.ComboDmg(enemy), easyKill); } }
public void OnDraw(EventArgs args) { if (Variable.Player.IsDead) { return; } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500))) { drawDamage.Unit = enemy; drawDamage.DrawDmg(logic.ComboDamage(enemy), Color.LawnGreen); } }
public void OnDraw(EventArgs args) { if (ObjectManager.Player.IsDead) { return; } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500))) { drawDamage.Unit = enemy; drawDamage.DrawDmg(logic.EwqrDmg(enemy), logic.CanExecute(enemy) ? Color.LimeGreen : Color.Green); } }
public void OnDraw(EventArgs args) { if (ObjectManager.Player.IsDead) { return; } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget(1500) && ene.IsVisible)) { heroHealthBarIndicator.Unit = enemy; heroHealthBarIndicator.DrawDmg(Damage.GetComboDamage(enemy), enemy.Health <= Damage.GetComboDamage(enemy) * 1.25 ? Color.LawnGreen : Color.Yellow); } }