private void OnEnemyCustomGapcloser(AIHeroClient sender, Gapcloser.GapcloserEventArgs args) { if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady() || !sender.IsEnemy) { return; } SteelTempest.CastQ(sender); }
private void OnEnemyCustomGapcloser(CActiveCGapcloser args) { if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady()) { return; } SteelTempest.CastQ(args.Sender); }
private void Interrupter2_OnInterruptableTarget(AIHeroClient unit, Interrupter2.InterruptableTargetEventArgs args) { if (!Config.Param <bool>("ylm.anti.interrupt.useq3") || !Config.Param <bool>(string.Format("ylm.anti.interrupt.{0}", unit.ChampionName))) { return; } if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady()) { return; } SteelTempest.CastQ(unit); }
private void Interrupter2_OnInterruptableTarget(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs interruptableSpellEventArgs) { var unit = sender as AIHeroClient; if (unit != null && !sender.IsEnemy || (!Config.antiMenu["ylm.anti.interrupt.useq3"].Cast <CheckBox>().CurrentValue || !Config.antiMenu[string.Format("ylm.anti.interrupt.{0}", unit.ChampionName)].Cast <CheckBox>().CurrentValue)) { return; } if (!SteelTempest.Empowered || !SteelTempest.Q.IsReady()) { return; } SteelTempest.CastQ(unit); }