private static void Lane() { var minions = GameObjects.EnemyMinions.Where(m => m.IsMinion && m.IsEnemy && m.Team != GameObjectTeam.Neutral && m.LSIsValidTarget(1050)); foreach (var m in minions) { if (MenuConfig.getCheckBoxItem(MenuConfig.laneclearMenu, "LaneR") && Spells.R.IsReady()) { if (Spells.Q.IsReady() && Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.laneclearMenu, "LaneQ")) { Spells.R.Cast(); } } if (MenuConfig.getCheckBoxItem(MenuConfig.laneclearMenu, "LaneQ1") && Spells.Q.IsReady() && m.Health > Player.GetAutoAttackDamage(m)) { if (!(Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.laneclearMenu, "LaneQ"))) { return; } { Spells.Q.Cast(m.ServerPosition); } } if (MenuConfig.getCheckBoxItem(MenuConfig.laneclearMenu, "LaneE1") && Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.laneclearMenu, "LaneE") && Spells.E.IsReady()) { if (!(Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.laneclearMenu, "LaneE"))) { return; } { Spells.E.Cast(Player); } } } }
private static void Mixed() { if (MenuConfig.getCheckBoxItem(MenuConfig.harassMenu, "HarassR") && Spells.R.IsReady()) { if (Spells.Q.IsReady() || Spells.E.IsReady()) { Spells.R.Cast(); } } if (MenuConfig.getCheckBoxItem(MenuConfig.harassMenu, "HarassQ1") && Spells.Q.IsReady()) { if (!(Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.harassMenu, "HarassQ"))) { return; } { Spells.Q.Cast(Target); } } if (MenuConfig.getCheckBoxItem(MenuConfig.harassMenu, "HarassW1") && Spells.W.IsReady()) { if (!(Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.harassMenu, "HarassW"))) { return; } { Spells.W.Cast(Target); } } if (MenuConfig.getCheckBoxItem(MenuConfig.harassMenu, "HarassE1") && Spells.E.IsReady()) { if (!(Player.ManaPercent >= MenuConfig.getSliderItem(MenuConfig.harassMenu, "HarassE"))) { return; } { Spells.E.Cast(Player); } } }