private static void Game_OnGameLoad(EventArgs args) { if (Player.ChampionName != "Teemo") //Satan { return; } //Base menu Menu = new Menu("Teemo Satan Yordle", "Teemo Satan Yordle", true); #region TargetSelector and Orbwalker Menu.AddSubMenu(new Menu("Target Selector", "Target Selector")); TargetSelector.AddToMenu(Menu.SubMenu("Target Selector")); Menu.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); new Orbwalking.Orbwalker(Menu.SubMenu("Orbwalker")); #endregion MenuHandler.MenuHandlerRun(); Menu.AddToMainMenu(); SpellHandler.SpellHandlerLoad(); Shroom.ShroomLoad(); ItemHandler.ItemHandlerLoad(); Drawing.OnDraw += Drawing_OnDraw; Game.OnGameUpdate += Game_OnGameUpdate; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; Orbwalking.AfterAttack += Orbwalking_AfterAttack; Game.PrintChat("<font color=\"#33CC00\">Teemo</font> - Satan Yordle v" + VersionE + " By <font color=\"#0066FF\">E2Slayer</font>"); }
public static void Combo() { var TG = TargetSelector.GetTarget(Q.Range, TargetSelector.DamageType.Physical); var PacketE = Menu.Item("Packets").GetValue <bool>(); var shroomOnC = Menu.Item("ShroomOn").GetValue <StringList>().SelectedIndex; if (shroomOnC == 1) { Shroom.AutoR(); } if (TG == null || Player.IsDead) { return; } ItemHandler.ItemUse(); if (Menu.Item("UseW").GetValue <bool>() && W.IsReady()) { if (TG.Distance(ObjectManager.Player) > Orbwalking.GetRealAutoAttackRange(ObjectManager.Player)) { W.Cast(); } } if (Menu.Item("UseR").GetValue <bool>() && R.IsReady()) { if (TG.IsValidTarget(R.Range)) { R.Cast(TG.Position, PacketE); } } }
} // Drawing End /* * ======================== * GameUpdate * ======================== */ private static void Game_OnGameUpdate(EventArgs args) { if (Player.IsDead) { return; } var shroomOnC = Menu.Item("ShroomOn").GetValue <StringList>().SelectedIndex; if (shroomOnC == 0) // 0 is Shroom Always On { Shroom.AutoR(); } if (Menu.Item("ComboActive").GetValue <KeyBind>().Active) { Modes.Combo(); } else if (Menu.Item("HarassActive").GetValue <KeyBind>().Active || Menu.Item("HarassActiveT").GetValue <KeyBind>().Active) { Modes.Harass(); } }