private void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (target is Obj_AI_Hero && Config.Item("HydraTitanic").GetValue <bool>() && HydraTitanic.IsReady() && target.IsValid <Obj_AI_Hero>()) { HydraTitanic.Cast(); } }
private void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (Config.Item("HydraTitanic").GetValue <bool>() && Program.Combo && HydraTitanic.IsReady() && target.IsValid <AIHeroClient>()) { HydraTitanic.Cast(); SebbyLib.Orbwalking.ResetAutoAttackTimer(); } }
void Orbwalker_OnPostAttack(AttackableUnit target, EventArgs args) { if (getCheckBoxItem("HydraTitanic") && Program.Combo && HydraTitanic.IsReady() && target.IsValid <AIHeroClient>()) { HydraTitanic.Cast(); Orbwalker.ResetAutoAttack(); } }
private void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (Config.Item("HydraTitanic").GetValue <bool>() && Program.Combo && HydraTitanic.IsReady() && target.IsValid <AIHeroClient>()) { HydraTitanic.Cast(); LeagueSharp.Common.Orbwalking.LastAATick = 0; } }
private void Orbwalker_OnAction(object sender, OrbwalkingActionArgs args) { if (args.Type == OrbwalkingType.AfterAttack) { if (Config["activator"]["offensives"]["hydratitanic"].GetValue <MenuBool>("HydraTitanic").Value&& Program.Combo && HydraTitanic.IsReady && args.Target.Type == GameObjectType.AIHeroClient) { HydraTitanic.Cast(); } } }
protected override void Volatile_OnPostAttack(AttackableUnit target, EventArgs args) { if (!OffensivesMenu["th"].Cast <CheckBox>().CurrentValue || Orbwalker.ActiveModesFlags != Orbwalker.ActiveModes.Combo || !HydraTitanic.IsReady() || !target.IsValid || !(target is AIHeroClient)) { return; } HydraTitanic.Cast(); Orbwalker.ResetAutoAttack(); }