private static void Harass() //or mixed :^) { if (GetBool("main.harass.q") && ManalimiterCheck("main.harass.qm")) { Obj_AI_Hero target = TargetSelector.GetTarget(q.Range, q.DamageType); if (target != null) { Casts.QHero(target); } if (GetBool("main.lassthit.q") && ManalimiterCheck("main.lassthit.qm")) { Obj_AI_Minion targetMinion = MinionManager.GetMinions(q.Range).FirstOrDefault() as Obj_AI_Minion; if (targetMinion != null) { Casts.QMinion(targetMinion); } } } }
private static void Combo() { if ( Math.ClosestBarrelWherePosInExplosionRange( Player.GetEnemiesInRange(SightRange).First().ServerPosition.To2D()) != null) { Casts.AttackBarrel(); } if (GetBool("main.combo.qe")) { if (targetedBarrelQ != null) { Barrel bar = Math.ClosestBarrelWherePosInExplosionRange( Player.GetEnemiesInRange(SightRange).First().ServerPosition.To2D()); if (bar != null && bar.IsReady) { Casts.QMinion(bar.BarrelObj); } } } if (GetBool("main.combo.e") && config.Item("main.settings.disablee").GetValue <KeyBind>().Active.Equals(false)) { Casts.EHero(); } if (GetBool("main.combo.q")) { Obj_AI_Hero target = TargetSelector.GetTarget(q.Range, q.DamageType); if (target != null) { Casts.QHero(target); } } }