private static void Harass() { if (GetBool("main.harass.q")) { Casts.Q(); } if (GetBool("main.harass.e")) { Casts.E(); } }
private static void Combo() { if (GetBool("main.combo.q")) { Casts.Q(); } if (GetBool("main.combo.e")) { Casts.E(); } if (GetBool("main.combo.r")) { Casts.R(); } }
private static void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target) { if (!unit.IsMe) { return; } switch (orbwalker.ActiveMode) { case Orbwalking.OrbwalkingMode.LastHit: case Orbwalking.OrbwalkingMode.LaneClear: if (!target.IsDead && q.IsReady() && GetBool("main.clear.q")) { q.CastOnUnit(ObjectManager.GetUnitByNetworkId <Obj_AI_Base>(target.NetworkId)); } break; case Orbwalking.OrbwalkingMode.Combo: if (!target.IsDead && q.IsReady() && GetBool("main.combo.q") && GetBool("main.combo.qaa") && target.Type == GameObjectType.obj_AI_Hero && target.IsEnemy && GetBool("main.combo.e") && GetBool("main.combo.eaa")) { q.Cast(); Utility.DelayAction.Add(1337, () => Casts.E()); return; } if (!target.IsDead && q.IsReady() && GetBool("main.combo.q") && GetBool("main.combo.qaa") && target.Type == GameObjectType.obj_AI_Hero && target.IsEnemy) { q.Cast(); } if (!target.IsDead && e.IsReady() && GetBool("main.combo.e") && GetBool("main.combo.eaa") && target.Type == GameObjectType.obj_AI_Hero && target.IsEnemy) { e.Cast(); } break; } }