private static void onLoad(EventArgs args) { Game.PrintChat("Karma - Sharp by DeTuKs"); try { Config = new Menu("︱天启者─卡尔玛︱", "Karma", true); //Orbwalker Config.AddSubMenu(new Menu("走砍", "Orbwalker")); Karma.orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker")); //TS var TargetSelectorMenu = new Menu("目标选择", "Target Selector"); SimpleTs.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); //Combo Config.AddSubMenu(new Menu("连招", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("useQ", "使用 Q")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useW", "使用 W")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useE", "使用 E 给自己ㄧ")).SetValue(false); Config.SubMenu("combo").AddItem(new MenuItem("useR", "使用R与Q(骚扰也是)")).SetValue(true); //LastHit Config.AddSubMenu(new Menu("补兵", "lHit")); //LaneClear Config.AddSubMenu(new Menu("清兵", "lClear")); //Harass Config.AddSubMenu(new Menu("骚扰", "harass")); Config.SubMenu("harass").AddItem(new MenuItem("harP", "骚扰敌人")).SetValue(new KeyBind('T', KeyBindType.Press, false)); Config.SubMenu("harass").AddItem(new MenuItem("harT", "按键切换")).SetValue(new KeyBind('H', KeyBindType.Toggle, false)); Config.SubMenu("harass").AddItem(new MenuItem("useQHar", "使用Q与R")).SetValue(true); //Extra Config.AddSubMenu(new Menu("额外", "extra")); Config.SubMenu("extra").AddItem(new MenuItem("useMinions", "对小兵使用Q")).SetValue(true); //Donate Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; Karma.setSkillShots(); } catch { Game.PrintChat("Oops. Something went wrong with Yasuo- Sharpino"); } }
private static void OnGameUpdate(EventArgs args) { if (Karma.orbwalker.ActiveMode.ToString() == "Combo") { target = SimpleTs.GetTarget(1150, SimpleTs.DamageType.Magical); Karma.doCombo(target); } if (Karma.orbwalker.ActiveMode.ToString() == "Mixed") { } if (Karma.orbwalker.ActiveMode.ToString() == "LaneClear") { } if (Config.Item("harP").GetValue <KeyBind>().Active || Config.Item("harT").GetValue <KeyBind>().Active) { target = SimpleTs.GetTarget(1150, SimpleTs.DamageType.Magical); Karma.doHarass(target); } }
private static void onLoad(EventArgs args) { Game.PrintChat("Karma - Sharp by DeTuKs"); try { Config = new Menu("Karma - Sharp by DeTuKs Donate if you love my assams :)", "Karma", true); //Orbwalker Config.AddSubMenu(new Menu("Orbwalker", "Orbwalker")); Karma.orbwalker = new Orbwalking.Orbwalker(Config.SubMenu("Orbwalker")); //TS var TargetSelectorMenu = new Menu("Target Selector", "Target Selector"); SimpleTs.AddToMenu(TargetSelectorMenu); Config.AddSubMenu(TargetSelectorMenu); //Combo Config.AddSubMenu(new Menu("Combo Sharp", "combo")); Config.SubMenu("combo").AddItem(new MenuItem("useQ", "Use Q")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useW", "Use W")).SetValue(true); Config.SubMenu("combo").AddItem(new MenuItem("useE", "Use E on Myself")).SetValue(false); Config.SubMenu("combo").AddItem(new MenuItem("useR", "Use R on Q(Harass too)")).SetValue(true); //LastHit Config.AddSubMenu(new Menu("LastHit Sharp", "lHit")); //LaneClear Config.AddSubMenu(new Menu("LaneClear Sharp", "lClear")); //Harass Config.AddSubMenu(new Menu("Harass Sharp", "harass")); Config.SubMenu("harass").AddItem(new MenuItem("harP", "Harass Enemy press")).SetValue(new KeyBind('T', KeyBindType.Press, false)); Config.SubMenu("harass").AddItem(new MenuItem("harT", "Harass Enemy toggle")).SetValue(new KeyBind('H', KeyBindType.Toggle, false)); Config.SubMenu("harass").AddItem(new MenuItem("useQHar", "Use Q with R")).SetValue(true); //Extra Config.AddSubMenu(new Menu("Extra Sharp", "extra")); Config.SubMenu("extra").AddItem(new MenuItem("useMinions", "Use minions on Q")).SetValue(true); //Donate Config.AddSubMenu(new Menu("Donate", "Donate")); Config.SubMenu("Donate").AddItem(new MenuItem("domateMe", "PayPal:")).SetValue(true); Config.SubMenu("Donate").AddItem(new MenuItem("domateMe2", "*****@*****.**")).SetValue(true); Config.SubMenu("Donate").AddItem(new MenuItem("domateMe3", "Tnx ^.^")).SetValue(true); //Debug // Config.AddSubMenu(new Menu("Debug", "debug")); // Config.SubMenu("debug").AddItem(new MenuItem("db_targ", "Debug Target")).SetValue(new KeyBind('T', KeyBindType.Press, false)); Config.AddToMainMenu(); Drawing.OnDraw += onDraw; Game.OnGameUpdate += OnGameUpdate; GameObject.OnCreate += OnCreateObject; GameObject.OnDelete += OnDeleteObject; Obj_AI_Base.OnProcessSpellCast += OnProcessSpell; Karma.setSkillShots(); } catch { Game.PrintChat("Oops. Something went wrong with Yasuo- Sharpino"); } }