static void Game_OnStart(EventArgs args) { Game.OnUpdate += Game_OnUpdate; Game.OnTick += OnTick; Obj_AI_Base.OnBuffGain += Common.OnBuffGain; GameObject.OnCreate += OnCreate; Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; Orbwalker.OnPreAttack += OnPreAttack; Drawing.OnDraw += Game_OnDraw; SkinBase = Player.Instance.SkinId; try { if (ChampionName != PlayerInstance.BaseSkinName) { return; } Q = new Spell.Active(SpellSlot.Q, (uint)_Player.AttackRange + 50); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.5, 1400, 250); E = new Spell.Targeted(SpellSlot.E, (uint)_Player.AttackRange + 50); R = new Spell.Targeted(SpellSlot.R, (uint)_Player.AttackRange + 50); Bootstrap.Init(null); Chat.Print("GuTenTak Addon Loading Success", Color.Green); Menu = MainMenu.AddMenu("GuTenTak Tristana", "Tristana"); Menu.AddSeparator(); Menu.AddLabel("GuTenTak Tristana Addon"); var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Tristana"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Combo Configs"); ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true)); ModesMenu1.Add("ComboE", new CheckBox("Use E on Combo", true)); ModesMenu1.Add("ComboEF", new CheckBox("Combo E Forced Target", true)); ModesMenu1.Add("ManualR", new KeyBind("Semi-Auto R", false, KeyBind.BindTypes.HoldActive, 'T')); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("E List"); foreach (var Enemy in EntityManager.Heroes.Enemies) { ModesMenu1.Add(Enemy.ChampionName, new CheckBox("Use E to " + Enemy.ChampionName, true)); } ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Harass Configs"); ModesMenu1.Add("HarassEF", new CheckBox("Harass E Forced Target", true)); ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true)); ModesMenu1.Add("HarassE", new CheckBox("Use E on Harass", true)); ModesMenu1.Add("ManaHE", new Slider("Use Harass Mana %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Kill Steal Configs"); ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true)); ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true)); ModesMenu1.Add("KER", new CheckBox("Use E + R on KillSteal", true)); ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Tristana"); ModesMenu2.AddLabel("Lane Clear Config"); ModesMenu2.AddSeparator(); ModesMenu2.Add("FarmEF", new CheckBox("LaneClear E Forced Target", true)); ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true)); ModesMenu2.Add("FarmE", new CheckBox("Use E on LaneClear", true)); ModesMenu2.Add("ManaLE", new Slider("Mana %", 40)); ModesMenu2.AddSeparator(); ModesMenu2.AddLabel("Jungle Clear Config"); ModesMenu2.Add("JungleEF", new CheckBox("JungleClear E Forced Target", true)); ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true)); ModesMenu2.Add("JungleE", new CheckBox("Use E on JungleClear", true)); ModesMenu2.Add("ManaJE", new Slider("Mana %", 40)); ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Tristana"); ModesMenu3.Add("AntiGapW", new CheckBox("Use W for Anti-Gapcloser", true)); ModesMenu3.Add("AntiGapR", new CheckBox("Use R for Anti-Gapcloser", false)); ModesMenu3.Add("AntiGapKR", new CheckBox("Use R for Anti-Gapcloser (Khazix & Rengar)", true)); ModesMenu3.Add("FleeW", new CheckBox("Use W on Flee", false)); ModesMenu3.AddSeparator(); ModesMenu3.AddLabel("Skin Hack"); ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false)); ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10")); ModesMenu3.AddSeparator(); ModesMenu3.AddLabel("Item Usage on Combo"); ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true)); ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true)); ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true)); ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true)); ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80)); ModesMenu3.AddLabel("QSS Configs"); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ModesMenu3.Add("Stun", new CheckBox("Stun", true)); ModesMenu3.Add("Blind", new CheckBox("Blind", true)); ModesMenu3.Add("Charm", new CheckBox("Charm", true)); ModesMenu3.Add("Suppression", new CheckBox("Suppression", true)); ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true)); ModesMenu3.Add("Fear", new CheckBox("Fear", true)); ModesMenu3.Add("Taunt", new CheckBox("Taunt", true)); ModesMenu3.Add("Silence", new CheckBox("Silence", false)); ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000)); ModesMenu3.AddLabel("QSS Ult Configs"); ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true)); ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true)); ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true)); ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000)); DrawMenu = Menu.AddSubMenu("Draws", "DrawTristana"); DrawMenu.Add("drawA", new CheckBox(" Draw Real AA", true)); DrawMenu.Add("drawW", new CheckBox(" Draw W", true)); DrawMenu.Add("drawE", new CheckBox(" Draw E Stack", true)); } catch (Exception e) { } }
static void Game_OnStart(EventArgs args) { Game.OnUpdate += Game_OnUpdate; Game.OnTick += OnTick; Obj_AI_Base.OnBuffGain += Common.OnBuffGain; GameObject.OnCreate += OnCreate; Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; Orbwalker.OnPreAttack += OnPreAttack; Drawing.OnDraw += Game_OnDraw; SkinBase = Player.Instance.SkinId; try { if (ChampionName != PlayerInstance.BaseSkinName) { return; } Q = new Spell.Active(SpellSlot.Q, (uint)_Player.AttackRange + 50); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.5, 1400, 250); E = new Spell.Targeted(SpellSlot.E, (uint)_Player.AttackRange + 50); R = new Spell.Targeted(SpellSlot.R, (uint)_Player.AttackRange + 50); Bootstrap.Init(null); Chat.Print("GuTenTak Addon Loading Success", Color.Green); Menu = MainMenu.AddMenu("GuTenTak 小炮", "Tristana"); Menu.AddSeparator(); Menu.AddLabel("CH汉化-GuTenTak 小炮脚本"); var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Tristana"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("连招设置"); ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true)); ModesMenu1.Add("ComboE", new CheckBox("连招E", true)); ModesMenu1.Add("ComboEF", new CheckBox("连招强制E目标", true)); ModesMenu1.Add("ManualR", new KeyBind("半自动 R", false, KeyBind.BindTypes.HoldActive, 'T')); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("E 列表"); foreach (var Enemy in EntityManager.Heroes.Enemies) { ModesMenu1.Add(Enemy.ChampionName, new CheckBox("使用E " + Enemy.ChampionName, true)); } ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("骚扰设置"); ModesMenu1.Add("HarassEF", new CheckBox("骚扰强制E目标", true)); ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true)); ModesMenu1.Add("HarassE", new CheckBox("骚扰E", true)); ModesMenu1.Add("ManaHE", new Slider("E蓝量使用 %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("抢头设置"); ModesMenu1.Add("KS", new CheckBox("开启抢头", true)); ModesMenu1.Add("KR", new CheckBox("R抢头", true)); ModesMenu1.Add("KER", new CheckBox("E + R抢头", true)); ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Tristana"); ModesMenu2.AddLabel("清线设置"); ModesMenu2.AddSeparator(); ModesMenu2.Add("FarmEF", new CheckBox("清线E集中目标", true)); ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true)); ModesMenu2.Add("FarmE", new CheckBox("清线E", true)); ModesMenu2.Add("ManaLE", new Slider("E蓝量使用 %", 40)); ModesMenu2.AddSeparator(); ModesMenu2.AddLabel("清野设置"); ModesMenu2.Add("JungleEF", new CheckBox("清野E集中目标", true)); ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true)); ModesMenu2.Add("JungleE", new CheckBox("清野E", true)); ModesMenu2.Add("ManaJE", new Slider("E蓝量使用 %", 40)); ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Tristana"); ModesMenu3.Add("AntiGapW", new CheckBox("W 防突进", true)); ModesMenu3.Add("AntiGapR", new CheckBox("R 防突进", false)); ModesMenu3.Add("AntiGapKR", new CheckBox("R 防突进 (螳螂 & 狮子狗)", true)); ModesMenu3.Add("FleeW", new CheckBox("逃跑使用W", false)); ModesMenu3.AddSeparator(); ModesMenu3.AddLabel("换肤"); ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false)); ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10")); ModesMenu3.AddLabel("物品使用(连招)"); ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true)); ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true)); ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true)); ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true)); ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80)); ModesMenu3.AddLabel("水银设置"); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招")); ModesMenu3.Add("Stun", new CheckBox("晕眩", true)); ModesMenu3.Add("Blind", new CheckBox("致盲", true)); ModesMenu3.Add("Charm", new CheckBox("魅惑", true)); ModesMenu3.Add("Suppression", new CheckBox("压制", true)); ModesMenu3.Add("Polymorph", new CheckBox("变形", true)); ModesMenu3.Add("Fear", new CheckBox("恐惧", true)); ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true)); ModesMenu3.Add("Silence", new CheckBox("沉默", false)); ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000)); ModesMenu3.AddLabel("解大招水银设置"); ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true)); ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true)); ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true)); ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000)); DrawMenu = Menu.AddSubMenu("线圈", "DrawTristana"); DrawMenu.Add("drawA", new CheckBox(" 显示真实普攻距离", true)); DrawMenu.Add("drawW", new CheckBox(" 显示 W", true)); DrawMenu.Add("drawE", new CheckBox(" 显示 E 层数", true)); } catch (Exception e) { } }
static void Game_OnStart(EventArgs args) { if (ChampionName != Player.Instance.BaseSkinName) { return; } Game.OnUpdate += Game_OnUpdate; /*Drawing.OnDraw += Game_OnDraw; * Obj_AI_Base.OnBuffGain += Common.OnBuffGain; * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; * Game.OnTick += Common.ItemUsage; * SkinBase = Player.Instance.SkinId;*/ try { Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60); Q.AllowedCollisionCount = 0; W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160); R.AllowedCollisionCount = int.MaxValue; Bootstrap.Init(null); Chat.Print("GuTenTak Addon Loading Success", Color.Green); Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal"); Menu.AddSeparator(); Menu.AddLabel("GuTenTak Ezreal Addon"); //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Combo Configs"); ModesMenu1.Add("ComboQ", new CheckBox("Use Q on Combo", true)); ModesMenu1.Add("ComboA", new CheckBox("Use AA => Q Combo", false)); ModesMenu1.Add("ComboW", new CheckBox("Use W on Combo", true)); ModesMenu1.Add("ComboR", new CheckBox("Use R on Combo", true)); ModesMenu1.Add("ManaCW", new Slider("Use W Mana %", 30)); ModesMenu1.Add("RCount", new Slider("Cast R if Will Hit >=", 3, 2, 5)); ModesMenu1.AddSeparator(); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("AutoHarass Configs"); ModesMenu1.Add("AutoHarass", new CheckBox("Use Q on AutoHarass", false)); ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80)); ModesMenu1.AddLabel("Harass Configs"); ModesMenu1.Add("HarassQ", new CheckBox("Use Q on Harass", true)); ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40)); ModesMenu1.Add("HarassW", new CheckBox("Use W on Harass", true)); ModesMenu1.Add("ManaHW", new Slider("Mana %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Kill Steal Configs"); ModesMenu1.Add("KS", new CheckBox("Use KillSteal", true)); ModesMenu1.Add("KQ", new CheckBox("Use Q on KillSteal", true)); ModesMenu1.Add("KW", new CheckBox("Use W on KillSteal", true)); ModesMenu1.Add("KR", new CheckBox("Use R on KillSteal", true)); ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal"); ModesMenu2.AddLabel("LastHit Configs"); ModesMenu2.Add("ManaF", new Slider("Mana %", 60)); ModesMenu2.Add("LastQ", new CheckBox("Use Q on LastHit", true)); ModesMenu2.AddLabel("Lane Clear Config"); ModesMenu2.Add("ManaL", new Slider("Mana %", 40)); ModesMenu2.Add("FarmQ", new CheckBox("Use Q on LaneClear", true)); ModesMenu2.AddLabel("Jungle Clear Config"); ModesMenu2.Add("ManaJ", new Slider("Mana %", 40)); ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true)); ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Ezreal"); ModesMenu3.AddLabel("Misc Configs"); ModesMenu3.Add("AntiGap", new CheckBox("Use E for Anti-Gapcloser", true)); ModesMenu3.Add("StackTear", new CheckBox("Auto stack tear in fountain", true)); ModesMenu3.AddLabel("Flee Configs"); ModesMenu3.Add("FleeQ", new CheckBox("Use Q on Flee", true)); ModesMenu3.Add("FleeOQ", new CheckBox("Use Q only hero", true)); ModesMenu3.Add("FleeE", new CheckBox("Use E on Flee", true)); //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false)); ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35)); ModesMenu3.AddLabel("Item Usage on Combo"); ModesMenu3.Add("useItems", new CheckBox("Use Items", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true)); ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true)); ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true)); ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80)); ModesMenu3.AddLabel("QSS Configs"); ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ModesMenu3.Add("Stun", new CheckBox("Stun", true)); ModesMenu3.Add("Blind", new CheckBox("Blind", true)); ModesMenu3.Add("Charm", new CheckBox("Charm", true)); ModesMenu3.Add("Suppression", new CheckBox("Suppression", true)); ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true)); ModesMenu3.Add("Fear", new CheckBox("Fear", true)); ModesMenu3.Add("Taunt", new CheckBox("Taunt", true)); ModesMenu3.Add("Silence", new CheckBox("Silence", false)); ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000)); ModesMenu3.AddLabel("QSS Ult Configs"); ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true)); ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true)); ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true)); ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000)); ModesMenu3.AddLabel("Skin Hack"); ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false)); ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); DrawMenu = Menu.AddSubMenu("Draws", "DrawEzreal"); DrawMenu.Add("usedraw", new CheckBox("Enable Drawings", true)); DrawMenu.AddSeparator(1); DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true)); DrawMenu.Add("drawW", new CheckBox(" Draw W", true)); DrawMenu.Add("drawR", new CheckBox(" Draw R", false)); DrawMenu.Add("drawXR", new CheckBox(" Draw Don't Use R", true)); DrawMenu.Add("drawXFleeQ", new CheckBox(" Draw Don't Use Flee Q", false)); if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } else { Obj_AI_Base.OnBuffGain -= Common.OnBuffGain; } }; if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.ItemUsage; } ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.ItemUsage; } else { Game.OnTick -= Common.ItemUsage; } }; if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue) { Drawing.OnDraw += Game_OnDraw; } DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Drawing.OnDraw += Game_OnDraw; } else { Drawing.OnDraw -= Game_OnDraw; } }; if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } else { Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser; } }; if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.KillSteal; } ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.KillSteal; } else { Game.OnTick -= Common.KillSteal; } }; if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } else { Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack; } }; if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.StackTear; } ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.StackTear; } else { Game.OnTick -= Common.StackTear; } }; if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) => { if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(vargs.NewValue); } }; ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } else { Player.SetSkinId(0); } }; if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.AutoQ; } ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.AutoQ; } else { Game.OnTick -= Common.AutoQ; } }; } catch (Exception e) { Console.WriteLine(e.StackTrace); } }
static void Game_OnStart(EventArgs args) { if (ChampionName != Player.Instance.BaseSkinName) { return; } Game.OnUpdate += Game_OnUpdate; /*Drawing.OnDraw += Game_OnDraw; * Obj_AI_Base.OnBuffGain += Common.OnBuffGain; * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; * Game.OnTick += Common.ItemUsage; * SkinBase = Player.Instance.SkinId;*/ try { Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60); Q.AllowedCollisionCount = 0; W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160); R.AllowedCollisionCount = int.MaxValue; Bootstrap.Init(null); Chat.Print("GuTenTak Addon Loading Success", Color.Green); Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal"); Menu.AddSeparator(); Menu.AddLabel("CH汉化-GuTenTak 伊泽瑞尔脚本"); //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("连招设置"); ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true)); ModesMenu1.Add("ComboA", new CheckBox("优先普攻(后Q)", false)); ModesMenu1.Add("ComboW", new CheckBox("连招W", true)); ModesMenu1.Add("ComboR", new CheckBox("连招R", true)); ModesMenu1.Add("ManaCW", new Slider("W蓝量使用 %", 30)); ModesMenu1.Add("RCount", new Slider("使用R如果能命中数量 >=", 3, 2, 5)); ModesMenu1.AddSeparator(); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("自动骚扰设置"); ModesMenu1.Add("AutoHarass", new CheckBox("Q自动骚扰", false)); ModesMenu1.Add("ManaAuto", new Slider("Q蓝量使用 %", 80)); ModesMenu1.AddLabel("骚扰设置"); ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true)); ModesMenu1.Add("ManaHQ", new Slider("Q蓝量使用 %", 40)); ModesMenu1.Add("HarassW", new CheckBox("骚扰W", true)); ModesMenu1.Add("ManaHW", new Slider("W蓝量使用 %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("抢头设置"); ModesMenu1.Add("KS", new CheckBox("开启抢头", true)); ModesMenu1.Add("KQ", new CheckBox("Q抢头", true)); ModesMenu1.Add("KW", new CheckBox("W抢头", true)); ModesMenu1.Add("KR", new CheckBox("R抢头", true)); ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Ezreal"); ModesMenu2.AddLabel("尾兵设置"); ModesMenu2.Add("ManaF", new Slider("Q蓝量使用 %", 60)); ModesMenu2.Add("LastQ", new CheckBox("Q尾兵", true)); ModesMenu2.AddLabel("清线设置"); ModesMenu2.Add("ManaL", new Slider("Q蓝量使用 %", 40)); ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true)); ModesMenu2.AddLabel("清野设置"); ModesMenu2.Add("ManaJ", new Slider("Q蓝量使用 %", 40)); ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true)); ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Ezreal"); ModesMenu3.AddLabel("杂项设置"); ModesMenu3.Add("AntiGap", new CheckBox("E 防突进", true)); ModesMenu3.Add("StackTear", new CheckBox("泉水自动叠加女神", true)); ModesMenu3.AddLabel("逃跑设置"); ModesMenu3.Add("FleeQ", new CheckBox("逃跑使用Q", true)); ModesMenu3.Add("FleeE", new CheckBox("逃跑使用E", true)); //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false)); ModesMenu3.Add("ManaFlQ", new Slider("Q蓝量使用 %", 35)); ModesMenu3.AddLabel("物品使用(连招)"); ModesMenu3.Add("useYoumuu", new CheckBox("使用幽梦", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("usehextech", new CheckBox("使用科技枪", true)); ModesMenu3.Add("useBotrk", new CheckBox("使用破败&弯刀", true)); ModesMenu3.Add("useQss", new CheckBox("使用水银饰带", true)); ModesMenu3.Add("minHPBotrk", new Slider("最低血量 % 使用破败", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("敌人最低血量 % 使用破败", 80)); ModesMenu3.AddLabel("水银设置"); ModesMenu3.Add("useQss", new CheckBox("使用水银", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "自动", "连招")); ModesMenu3.Add("Stun", new CheckBox("晕眩", true)); ModesMenu3.Add("Blind", new CheckBox("致盲", true)); ModesMenu3.Add("Charm", new CheckBox("魅惑", true)); ModesMenu3.Add("Suppression", new CheckBox("压制", true)); ModesMenu3.Add("Polymorph", new CheckBox("变形", true)); ModesMenu3.Add("Fear", new CheckBox("恐惧", true)); ModesMenu3.Add("Taunt", new CheckBox("嘲讽", true)); ModesMenu3.Add("Silence", new CheckBox("沉默", false)); ModesMenu3.Add("QssDelay", new Slider("使用水银延迟(毫秒)", 250, 0, 1000)); ModesMenu3.AddLabel("解大招水银设置"); ModesMenu3.Add("ZedUlt", new CheckBox("劫 R", true)); ModesMenu3.Add("VladUlt", new CheckBox("吸血鬼 R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("小鱼人 R", true)); ModesMenu3.Add("MordUlt", new CheckBox("金属大师 R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("波比 R", true)); ModesMenu3.Add("QssUltDelay", new Slider("使用水银解大招延迟(毫秒)", 250, 0, 1000)); ModesMenu3.AddLabel("换肤"); ModesMenu3.Add("skinhack", new CheckBox("开启换肤", false)); ModesMenu3.Add("skinId", new ComboBox("模式", 0, "预设", "1", "2", "3", "4", "5", "6", "7", "8")); DrawMenu = Menu.AddSubMenu("线圈", "DrawEzreal"); DrawMenu.Add("usedraw", new CheckBox("开启线圈", true)); DrawMenu.AddSeparator(1); DrawMenu.Add("drawQ", new CheckBox(" 显示 Q", true)); DrawMenu.Add("drawW", new CheckBox(" 显示 W", true)); DrawMenu.Add("drawR", new CheckBox(" 显示 R", false)); DrawMenu.Add("drawXR", new CheckBox(" 显示 不使用R", true)); DrawMenu.Add("drawXFleeQ", new CheckBox(" 显示 逃跑不使用Q", false)); if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } else { Obj_AI_Base.OnBuffGain -= Common.OnBuffGain; } }; if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.ItemUsage; } ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.ItemUsage; } else { Game.OnTick -= Common.ItemUsage; } }; if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue) { Drawing.OnDraw += Game_OnDraw; } DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Drawing.OnDraw += Game_OnDraw; } else { Drawing.OnDraw -= Game_OnDraw; } }; if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } else { Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser; } }; if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.KillSteal; } ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.KillSteal; } else { Game.OnTick -= Common.KillSteal; } }; if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } else { Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack; } }; if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.StackTear; } ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.StackTear; } else { Game.OnTick -= Common.StackTear; } }; if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) => { if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(vargs.NewValue); } }; ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } else { Player.SetSkinId(0); } }; if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.AutoQ; } ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.AutoQ; } else { Game.OnTick -= Common.AutoQ; } }; } catch (Exception e) { Console.WriteLine(e.StackTrace); } }
static void Game_OnStart(EventArgs args) { if (ChampionName != Player.Instance.BaseSkinName) { return; } Game.OnUpdate += Game_OnUpdate; /*Drawing.OnDraw += Game_OnDraw; * Obj_AI_Base.OnBuffGain += Common.OnBuffGain; * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; * Game.OnTick += Common.ItemUsage; * SkinBase = Player.Instance.SkinId;*/ try { Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60); Q.AllowedCollisionCount = 0; W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160); R.AllowedCollisionCount = int.MaxValue; Bootstrap.Init(null); Chat.Print("Script Yüklendi - Hadi gene İyisin", Color.Yellow); Menu = MainMenu.AddMenu("EzGame-Ezreal", "Ezreal"); Menu.AddSeparator(); Menu.AddLabel("Bu Script sadece Ezreal içindir. İlginize göre yakında başka şampiyonlardada çıkarıcam."); Menu.AddLabel("***************"); Menu.AddLabel("Hangi karakterde script istediğinizi 'www.facebook.com/PratikHackOfficial' sayfasına mesaj atınız. "); //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("Menü", "Modes1Ezreal"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Kombo Menüsü"); ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true)); ModesMenu1.Add("ComboA", new CheckBox("Kite attığın hedefe Q kullan öncelikli olarak", false)); ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true)); ModesMenu1.Add("ComboR", new CheckBox("Komboda R kullan", true)); ModesMenu1.Add("ManaCW", new Slider("W kullanmak için mana sınırı %", 30)); ModesMenu1.Add("RCount", new Slider("R kaç hedefe isabet etsin >=", 3, 2, 5)); ModesMenu1.AddSeparator(); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Otomatik Dürtme ayarları"); ModesMenu1.Add("AutoHarass", new CheckBox("Otomatik Q at", false)); ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80)); ModesMenu1.AddLabel("Dürtme Ayarları"); ModesMenu1.Add("HarassQ", new CheckBox("Dürterken Q at", true)); ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40)); ModesMenu1.Add("HarassW", new CheckBox("dürterken W at", true)); ModesMenu1.Add("ManaHW", new Slider("Mana %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Kill Çalma"); ModesMenu1.Add("KS", new CheckBox("Kill Çalma ", true)); ModesMenu1.Add("KQ", new CheckBox("Kill Çalmak için Q at", true)); ModesMenu1.Add("KW", new CheckBox("Kill Çalmak için W at", true)); ModesMenu1.Add("KR", new CheckBox("Kill Çalmak için R at", true)); ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal"); ModesMenu2.AddLabel("SonVurus ayarları"); ModesMenu2.Add("ManaF", new Slider("Mana %", 60)); ModesMenu2.Add("LastQ", new CheckBox("Q ile son vurus Yap", true)); ModesMenu2.AddLabel("Lane temizle"); ModesMenu2.Add("ManaL", new Slider("Mana %", 40)); ModesMenu2.Add("FarmQ", new CheckBox("Koridor temizlerken Q kullan", true)); ModesMenu2.AddLabel("Orman"); ModesMenu2.Add("ManaJ", new Slider("Mana %", 40)); ModesMenu2.Add("JungleQ", new CheckBox("Orman Temizlerken Q kullan", true)); ModesMenu3 = Menu.AddSubMenu("Cesitli", "Modes3Ezreal"); ModesMenu3.AddLabel("**PratikHack**"); ModesMenu3.Add("AntiGap", new CheckBox("E kullan", true)); ModesMenu3.Add("StackTear", new CheckBox("Otomatik Stack kas - (12 lvlden sonra açın) .", true)); ModesMenu3.AddLabel("Vurkaç"); ModesMenu3.Add("FleeQ", new CheckBox("Kaçarken Q at", true)); ModesMenu3.Add("FleeOQ", new CheckBox("Kaçarken hedef kitele ve ona Q at", true)); ModesMenu3.Add("FleeE", new CheckBox("Kaçarken E kullan", true)); //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false)); ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35)); ModesMenu3.AddLabel("Komboda itemleri kullan"); ModesMenu3.Add("useItems", new CheckBox("Kullanılıcak itemler", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("useYoumuu", new CheckBox("Yoummu hayalet kılıç", true)); ModesMenu3.Add("usehextech", new CheckBox("Hextech birimleri kullan", true)); ModesMenu3.Add("useBotrk", new CheckBox("Mahvolmuş kralın kılıcı", true)); ModesMenu3.Add("minHPBotrk", new Slider("Minimum can oranı kaçtayken %", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("Minimum rakibin can oranı kaçtayken %", 80)); ModesMenu3.AddLabel("QSS Ayarı"); ModesMenu3.Add("useQss", new CheckBox("CıvaYatağanKullan", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Otomatik", "Kombo")); ModesMenu3.Add("Stun", new CheckBox("Stun ", true)); ModesMenu3.Add("Blind", new CheckBox("Kör", true)); ModesMenu3.Add("Charm", new CheckBox("Cazibe", true)); ModesMenu3.Add("Suppression", new CheckBox("Baskı", true)); ModesMenu3.Add("Polymorph", new CheckBox("Polimörf", true)); ModesMenu3.Add("Fear", new CheckBox("Korkutma", true)); ModesMenu3.Add("Taunt", new CheckBox("Kışkırtma", true)); ModesMenu3.Add("Silence", new CheckBox("Susturma", false)); ModesMenu3.Add("QssDelay", new Slider("CıvaYatağan kullanım gecikmesi (ms)", 250, 0, 1000)); ModesMenu3.AddLabel("Ultilere karşı CıvaYatağan Kullanımı"); ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true)); ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true)); ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true)); ModesMenu3.Add("QssUltDelay", new Slider("Kullanım gecikmesi ", 250, 0, 1000)); ModesMenu3.AddLabel("---KOSTÜM HACK---"); ModesMenu3.Add("skinhack", new CheckBox("SkinHack aktifleştir", false)); ModesMenu3.Add("skinId", new ComboBox("Skin numarası", 0, "Klasik", "1", "2", "3", "4", "5", "6", "7", "8")); DrawMenu = Menu.AddSubMenu("Sınır", "DrawEzreal"); DrawMenu.Add("usedraw", new CheckBox("Sınırları aktifleştir", true)); DrawMenu.AddSeparator(1); DrawMenu.Add("drawQ", new CheckBox(" Q sınırı göster", true)); DrawMenu.Add("drawW", new CheckBox(" W sınırı göster", true)); DrawMenu.Add("drawR", new CheckBox(" R sınırı göster", true)); DrawMenu.Add("drawXR", new CheckBox(" kullanmadan R sınırı göster", false)); DrawMenu.Add("drawXFleeQ", new CheckBox(" Kaçarken Q sınırı gösterme", false)); if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } else { Obj_AI_Base.OnBuffGain -= Common.OnBuffGain; } }; if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.ItemUsage; } ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.ItemUsage; } else { Game.OnTick -= Common.ItemUsage; } }; if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue) { Drawing.OnDraw += Game_OnDraw; } DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Drawing.OnDraw += Game_OnDraw; } else { Drawing.OnDraw -= Game_OnDraw; } }; if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } else { Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser; } }; if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.KillSteal; } ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.KillSteal; } else { Game.OnTick -= Common.KillSteal; } }; if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } else { Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack; } }; if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.StackTear; } ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.StackTear; } else { Game.OnTick -= Common.StackTear; } }; if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) => { if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(vargs.NewValue); } }; ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } else { Player.SetSkinId(0); } }; if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.AutoQ; } ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.AutoQ; } else { Game.OnTick -= Common.AutoQ; } }; } catch (Exception e) { Console.WriteLine(e.StackTrace); } }
static void Game_OnStart(EventArgs args) { if (ChampionName != Player.Instance.BaseSkinName) { return; } Game.OnUpdate += Game_OnUpdate; /*Drawing.OnDraw += Game_OnDraw; * Obj_AI_Base.OnBuffGain += Common.OnBuffGain; * Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; * Game.OnTick += Common.ItemUsage; * SkinBase = Player.Instance.SkinId;*/ try { Q = new Spell.Skillshot(SpellSlot.Q, 1150, SkillShotType.Linear, 250, 2000, 60); Q.AllowedCollisionCount = 0; W = new Spell.Skillshot(SpellSlot.W, 1000, SkillShotType.Linear, 250, 1600, 80); W.AllowedCollisionCount = int.MaxValue; E = new Spell.Skillshot(SpellSlot.E, 475, SkillShotType.Linear); E.AllowedCollisionCount = int.MaxValue; R = new Spell.Skillshot(SpellSlot.R, 3000, SkillShotType.Linear, 1000, 2000, 160); R.AllowedCollisionCount = int.MaxValue; Bootstrap.Init(null); Chat.Print("GuTenTak Ezrael yuklendi.Keyifli oyunlar.Ceviri TekinTR", Color.Green); Menu = MainMenu.AddMenu("GuTenTak Ezreal", "Ezreal"); Menu.AddSeparator(); Menu.AddLabel("GuTenTak Ezreal Addon"); //var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Ezreal"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Combo Configs"); ModesMenu1.Add("ComboQ", new CheckBox("Komboda Q kullan", true)); ModesMenu1.Add("ComboA", new CheckBox("Kullan AA => Q Kombosu", false)); ModesMenu1.Add("ComboW", new CheckBox("Komboda W kullan", true)); ModesMenu1.Add("ComboR", new CheckBox("Komboda R kullan", true)); ModesMenu1.Add("ManaCW", new Slider("W icin mana %", 30)); ModesMenu1.Add("RCount", new Slider("R kac dusmana carpsin >=", 3, 2, 5)); ModesMenu1.AddSeparator(); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("AutoHarass Configs"); ModesMenu1.Add("AutoHarass", new CheckBox("Oto durtmede Q kullan", false)); ModesMenu1.Add("ManaAuto", new Slider("Mana %", 80)); ModesMenu1.AddLabel("Harass Configs"); ModesMenu1.Add("HarassQ", new CheckBox("Durterken Q kullan", true)); ModesMenu1.Add("ManaHQ", new Slider("Mana %", 40)); ModesMenu1.Add("HarassW", new CheckBox("Durterken W kullan", true)); ModesMenu1.Add("ManaHW", new Slider("Mana %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Kill Steal Configs"); ModesMenu1.Add("KS", new CheckBox("Kullan KillSteal", true)); ModesMenu1.Add("KQ", new CheckBox("Q ile oldur", true)); ModesMenu1.Add("KW", new CheckBox("W ile oldur", true)); ModesMenu1.Add("KR", new CheckBox("R ile oldur", true)); ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Ezreal"); ModesMenu2.AddLabel("LastHit Configs"); ModesMenu2.Add("ManaF", new Slider("Mana %", 60)); ModesMenu2.Add("LastQ", new CheckBox("Minyona son vurus Q ile", true)); ModesMenu2.AddLabel("Lane Clear Config"); ModesMenu2.Add("ManaL", new Slider("Mana %", 40)); ModesMenu2.Add("FarmQ", new CheckBox("Q ile koridor ittir", true)); ModesMenu2.AddLabel("Jungle Clear Config"); ModesMenu2.Add("ManaJ", new Slider("Mana %", 40)); ModesMenu2.Add("JungleQ", new CheckBox("Q ile orman temizle", true)); ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Ezreal"); ModesMenu3.AddLabel("Misc Configs"); ModesMenu3.Add("AntiGap", new CheckBox("Atilma yapanlara E kullan", true)); ModesMenu3.Add("StackTear", new CheckBox("Otomatik gozyasi kas", true)); ModesMenu3.AddLabel("Flee Configs"); ModesMenu3.Add("FleeQ", new CheckBox("Kacarken Q kullan", true)); ModesMenu3.Add("FleeOQ", new CheckBox("Kacarken Q yu sadece sampiyonlara", true)); ModesMenu3.Add("FleeE", new CheckBox("Kacarkern E kullan", true)); //ModesMenu3.Add("BlockE", new CheckBox("Block EnemyUnderTurret", false)); ModesMenu3.Add("ManaFlQ", new Slider("Q Mana %", 35)); ModesMenu3.AddLabel("Item Usage on Combo"); ModesMenu3.Add("useItems", new CheckBox("Item Kullan", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true)); ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true)); ModesMenu3.Add("useBotrk", new CheckBox("Kullan Botrk & Cutlass", true)); ModesMenu3.Add("minHPBotrk", new Slider("Canim sundan dusukse kullan Botrk %", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("Dusmanin cani sundan dusukse kullan Botrk %", 80)); ModesMenu3.AddLabel("QSS Configs"); ModesMenu3.Add("useQss", new CheckBox("Kullan Civali", true)); ModesMenu3.AddSeparator(1); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ModesMenu3.Add("Stun", new CheckBox("Stan", true)); ModesMenu3.Add("Blind", new CheckBox("Kör", true)); ModesMenu3.Add("Charm", new CheckBox("Ayartma", true)); ModesMenu3.Add("Suppression", new CheckBox("Durdurma", true)); ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true)); ModesMenu3.Add("Fear", new CheckBox("Korku", true)); ModesMenu3.Add("Taunt", new CheckBox("Taunt", true)); ModesMenu3.Add("Silence", new CheckBox("Susturma", false)); ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000)); ModesMenu3.AddLabel("QSS Ult Configs"); ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true)); ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true)); ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true)); ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000)); ModesMenu3.AddLabel("Skin Hack"); ModesMenu3.Add("skinhack", new CheckBox("Skin secme aktif", false)); ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); DrawMenu = Menu.AddSubMenu("Draws", "DrawEzreal"); DrawMenu.Add("usedraw", new CheckBox("Gostergeler Aktif", true)); DrawMenu.AddSeparator(1); DrawMenu.Add("drawQ", new CheckBox(" Goster Q", true)); DrawMenu.Add("drawW", new CheckBox(" Goster W", true)); DrawMenu.Add("drawR", new CheckBox(" Goster R", false)); DrawMenu.Add("drawXR", new CheckBox(" R icin gosterge kullanma", true)); DrawMenu.Add("drawXFleeQ", new CheckBox(" Q ile kacarken gosterge kullanma", false)); if (ModesMenu3["useQss"].Cast <CheckBox>().CurrentValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } ModesMenu3["useQss"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Obj_AI_Base.OnBuffGain += Common.OnBuffGain; } else { Obj_AI_Base.OnBuffGain -= Common.OnBuffGain; } }; if (ModesMenu3["useItems"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.ItemUsage; } ModesMenu3["useItems"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.ItemUsage; } else { Game.OnTick -= Common.ItemUsage; } }; if (DrawMenu["usedraw"].Cast <CheckBox>().CurrentValue) { Drawing.OnDraw += Game_OnDraw; } DrawMenu["usedraw"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Drawing.OnDraw += Game_OnDraw; } else { Drawing.OnDraw -= Game_OnDraw; } }; if (ModesMenu3["AntiGap"].Cast <CheckBox>().CurrentValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } ModesMenu3["AntiGap"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; } else { Gapcloser.OnGapcloser -= Common.Gapcloser_OnGapCloser; } }; if (ModesMenu1["KS"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.KillSteal; } ModesMenu1["KS"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.KillSteal; } else { Game.OnTick -= Common.KillSteal; } }; if (ModesMenu1["ComboA"].Cast <CheckBox>().CurrentValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } ModesMenu1["ComboA"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Orbwalker.OnPostAttack += Common.Orbwalker_OnPostAttack; } else { Orbwalker.OnPostAttack -= Common.Orbwalker_OnPostAttack; } }; if (ModesMenu3["StackTear"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.StackTear; } ModesMenu3["StackTear"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.StackTear; } else { Game.OnTick -= Common.StackTear; } }; if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } ModesMenu3["skinId"].Cast <ComboBox>().OnValueChange += (sender, vargs) => { if (ModesMenu3["skinhack"].Cast <CheckBox>().CurrentValue) { Player.SetSkinId(vargs.NewValue); } }; ModesMenu3["skinhack"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Player.SetSkinId(ModesMenu3["skinId"].Cast <ComboBox>().CurrentValue); } else { Player.SetSkinId(0); } }; if (ModesMenu1["AutoHarass"].Cast <CheckBox>().CurrentValue) { Game.OnTick += Common.AutoQ; } ModesMenu1["AutoHarass"].Cast <CheckBox>().OnValueChange += (sender, vargs) => { if (vargs.NewValue) { Game.OnTick += Common.AutoQ; } else { Game.OnTick -= Common.AutoQ; } }; } catch (Exception e) { Console.WriteLine(e.StackTrace); } }
static void Game_OnStart(EventArgs args) { Game.OnUpdate += Game_OnUpdate; Game.OnTick += OnTick; Obj_AI_Base.OnBuffGain += Common.OnBuffGain; GameObject.OnCreate += OnCreate; Gapcloser.OnGapcloser += Common.Gapcloser_OnGapCloser; Orbwalker.OnPreAttack += OnPreAttack; Drawing.OnDraw += Game_OnDraw; SkinBase = Player.Instance.SkinId; try { if (ChampionName != PlayerInstance.BaseSkinName) { return; } Q = new Spell.Active(SpellSlot.Q, (uint)_Player.AttackRange + 50); W = new Spell.Skillshot(SpellSlot.W, 900, SkillShotType.Circular, (int)0.5, 1400, 250); E = new Spell.Targeted(SpellSlot.E, (uint)_Player.AttackRange + 50); R = new Spell.Targeted(SpellSlot.R, (uint)_Player.AttackRange + 50); Bootstrap.Init(null); Chat.Print("GuTenTak Addon basariyla yuklendi", Color.Green); Menu = MainMenu.AddMenu("GuTenTak Tristana", "Tristana"); Menu.AddSeparator(); Menu.AddLabel("GuTenTak Tristana Addon"); var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("Menu", "Modes1Tristana"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Combo Ayarları"); ModesMenu1.Add("ComboQ", new CheckBox("Q Kullan", true)); ModesMenu1.Add("ComboE", new CheckBox("E Kullan", true)); ModesMenu1.Add("ComboEF", new CheckBox("Kombo modunda E ile düşmanı zorla", true)); ModesMenu1.Add("ManualR", new KeyBind("Yarı otomatik R", false, KeyBind.BindTypes.HoldActive, 'T')); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("E List"); foreach (var Enemy in EntityManager.Heroes.Enemies) { ModesMenu1.Add(Enemy.ChampionName, new CheckBox("E Kullan " + Enemy.ChampionName, true)); } ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Dürtme Ayarları"); ModesMenu1.Add("HarassEF", new CheckBox("Dürtme modunda E ile zorla", true)); ModesMenu1.Add("HarassQ", new CheckBox("Q Kullan", true)); ModesMenu1.Add("HarassE", new CheckBox("E Kullan", true)); ModesMenu1.Add("ManaHE", new Slider("Gereken Mana %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("Kill Çalma Ayarları"); ModesMenu1.Add("KS", new CheckBox("Kill Çalma Kullan", true)); ModesMenu1.Add("KR", new CheckBox("R Kullan", true)); ModesMenu1.Add("KER", new CheckBox("E + R Kullan", true)); ModesMenu2 = Menu.AddSubMenu("Farm", "Modes2Tristana"); ModesMenu2.AddLabel("Lane Clear Ayarları"); ModesMenu2.AddSeparator(); ModesMenu2.Add("FarmEF", new CheckBox("Laneclear modunda E ile zorlama", true)); ModesMenu2.Add("FarmQ", new CheckBox("Q Kullan", true)); ModesMenu2.Add("FarmE", new CheckBox("E Kullan", true)); ModesMenu2.Add("ManaLE", new Slider("Mana %", 40)); ModesMenu2.AddSeparator(); ModesMenu2.AddLabel("Jungle Clear Ayarları"); ModesMenu2.Add("JungleEF", new CheckBox("JungleClear E Forced Target", true)); ModesMenu2.Add("JungleQ", new CheckBox("Use Q on JungleClear", true)); ModesMenu2.Add("JungleE", new CheckBox("Use E on JungleClear", true)); ModesMenu2.Add("ManaJE", new Slider("Mana %", 40)); ModesMenu3 = Menu.AddSubMenu("Misc", "Modes3Tristana"); ModesMenu3.Add("AntiGapW", new CheckBox("W Kullan şunun içni Anti-Gapcloser", true)); ModesMenu3.Add("AntiGapR", new CheckBox("R Kullan şunun içni Anti-Gapcloser", false)); ModesMenu3.Add("AntiGapKR", new CheckBox("R Kullan şunun içni Anti-Gapcloser (Khazix & Rengar)", true)); ModesMenu3.Add("FleeW", new CheckBox("Kaçma modunda W", false)); ModesMenu3.AddSeparator(); ModesMenu3.AddLabel("Skin Hack"); ModesMenu3.Add("skinhack", new CheckBox("Kostüm Hilesi Aktif", false)); ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10")); ModesMenu3.AddSeparator(); ModesMenu3.AddLabel("İtemleri Kullanma"); ModesMenu3.Add("useYoumuu", new CheckBox("Kullan Youmuu", true)); ModesMenu3.Add("usehextech", new CheckBox("Kullan Hextech", true)); ModesMenu3.Add("useBotrk", new CheckBox("Kullan Botrk & Cutlass", true)); ModesMenu3.Add("useQss", new CheckBox("Kullan QuickSilver", true)); ModesMenu3.Add("minHPBotrk", new Slider("Mahvolmuş için can %", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("Mahvolmuş için düşman canı %", 80)); ModesMenu3.AddLabel("QSS Ayarları"); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ModesMenu3.Add("Stun", new CheckBox("Sabitleme", true)); ModesMenu3.Add("Blind", new CheckBox("Kör", true)); ModesMenu3.Add("Charm", new CheckBox("Çekicilik(Ahri)", true)); ModesMenu3.Add("Suppression", new CheckBox("Önleme,Durdurma", true)); ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true)); ModesMenu3.Add("Fear", new CheckBox("Korku", true)); ModesMenu3.Add("Taunt", new CheckBox("Tuzak", true)); ModesMenu3.Add("Silence", new CheckBox("Sessiz", false)); ModesMenu3.Add("QssDelay", new Slider("QSS Gecikmesi", 250, 0, 1000)); ModesMenu3.AddLabel("QSS Ult Ayarları"); ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true)); ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true)); ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true)); ModesMenu3.Add("QssUltDelay", new Slider("Ulti için QSS gecikmesi", 250, 0, 1000)); DrawMenu = Menu.AddSubMenu("Draws", "DrawTristana"); DrawMenu.Add("drawA", new CheckBox(" Göster AA menzili", true)); DrawMenu.Add("drawW", new CheckBox(" Göster W", true)); DrawMenu.Add("drawE", new CheckBox(" Göster E Yükü", true)); } catch (Exception e) { } }
static void Game_OnStart(EventArgs args) { Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Game_OnDraw; Obj_AI_Base.OnBuffGain += Common.OnBuffGain; Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast; Game.OnTick += OnTick; Orbwalker.OnPostAttack += Common.WLogic; Orbwalker.OnPostAttack += Common.LJClear; SkinBase = Player.Instance.SkinId; try { if (ChampionName != PlayerInstance.BaseSkinName) { return; } Q = new Spell.Skillshot(SpellSlot.Q, 1250, SkillShotType.Linear, (int)0.25, 1030, 90) { AllowedCollisionCount = int.MaxValue }; W = new Spell.Active(SpellSlot.W); E = new Spell.Active(SpellSlot.E); Bootstrap.Init(null); Chat.Print("GuTenTak Addon Loading Success", Color.Green); Menu = MainMenu.AddMenu("GuTenTak 西维尔", "Sivir"); Menu.AddSeparator(); Menu.AddLabel("CH汉化-GuTenTak 战争女神脚本"); var Enemies = EntityManager.Heroes.Enemies.Where(a => !a.IsMe).OrderBy(a => a.BaseSkinName); ModesMenu1 = Menu.AddSubMenu("菜单", "Modes1Sivir"); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("连招设置"); ModesMenu1.Add("ComboQ", new CheckBox("连招Q", true)); ModesMenu1.Add("ComboW", new CheckBox("连招W", true)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("骚扰设置"); ModesMenu1.Add("HarassQ", new CheckBox("骚扰Q", true)); ModesMenu1.Add("HarassMana", new Slider("Q蓝量使用 %", 60)); ModesMenu1.Add("HarassW", new CheckBox("骚扰W", true)); ModesMenu1.Add("ManaHW", new Slider("W蓝量使用 %", 60)); ModesMenu1.AddSeparator(); ModesMenu1.AddLabel("抢头设置"); ModesMenu1.Add("KS", new CheckBox("开启抢头", true)); ModesMenu1.Add("KQ", new CheckBox("Q抢头", true)); ModesMenu2 = Menu.AddSubMenu("尾兵", "Modes2Sivir"); ModesMenu2.AddLabel("清线设置"); ModesMenu2.Add("MinionLC", new Slider("清线最低小兵数量", 3, 1, 5)); ModesMenu2.AddSeparator(); ModesMenu2.Add("FarmQ", new CheckBox("清线Q", true)); ModesMenu2.Add("ManaLQ", new Slider("Q蓝量使用 %", 40)); ModesMenu2.Add("FarmW", new CheckBox("清线W", true)); ModesMenu2.Add("ManaLW", new Slider("W蓝量使用 %", 40)); ModesMenu2.AddSeparator(); ModesMenu2.AddLabel("清野设置"); ModesMenu2.Add("JungleQ", new CheckBox("清野Q", true)); ModesMenu2.Add("ManaJQ", new Slider("Q蓝量使用 %", 40)); ModesMenu2.Add("JungleW", new CheckBox("清野W", true)); ModesMenu2.Add("ManaJW", new Slider("W蓝量使用 %", 40)); ModesMenu3 = Menu.AddSubMenu("杂项", "Modes3Sivir"); ModesMenu3.Add("SpellShield", new CheckBox("自动E", true)); ModesMenu3.Add("GoldCard", new CheckBox("卡牌" + " 黄牌 ", true)); ModesMenu3.Add("RedCard", new CheckBox("卡牌" + " 红牌 ", false)); foreach (var enemy in EntityManager.Heroes.Enemies.Where(a => a.Team != Player.Instance.Team)) { foreach ( var spell in enemy.Spellbook.Spells.Where( a => a.Slot == SpellSlot.Q || a.Slot == SpellSlot.W || a.Slot == SpellSlot.E || a.Slot == SpellSlot.R)) { if (spell.SData.TargettingType != SpellDataTargetType.Self && spell.SData.TargettingType != SpellDataTargetType.SelfAndUnit) { if (spell.Slot == SpellSlot.Q) { if (spell.SData.TargettingType == SpellDataTargetType.Unit) { ModesMenu3.Add(spell.SData.Name, new CheckBox(enemy.ChampionName + " Q ", false)); } //new CheckBox(enemy.ChampionName + " Q " + spell.Name, false)); } else if (spell.Slot == SpellSlot.W) { if (spell.SData.TargettingType == SpellDataTargetType.Unit) { ModesMenu3.Add(spell.SData.Name, new CheckBox(enemy.ChampionName + " W ", false)); } } else if (spell.Slot == SpellSlot.E) { if (spell.SData.TargettingType == SpellDataTargetType.Unit) { ModesMenu3.Add(spell.SData.Name, new CheckBox(enemy.ChampionName + " E ", false)); } else if (spell.Slot == SpellSlot.R) { if (spell.SData.TargettingType == SpellDataTargetType.Unit) { ModesMenu3.Add(spell.SData.Name, new CheckBox(enemy.ChampionName + " R ", false)); } ; } } } } } /* * foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(enemy => enemy.IsEnemy)) * { * for (int i = 0; i < 4; i++) * { * var spell = enemy.Spellbook.Spells[i]; * if (spell.SData.TargettingType != SpellDataTargetType.Self && spell.SData.TargettingType != SpellDataTargetType.SelfAndUnit) * { * if (spell.SData.TargettingType == SpellDataTargetType.Unit) * ModesMenu3.Add(spell.SData.Name, * new CheckBox(enemy.ChampionName + " - Target - " + spell.Name, false)); * } * } * } */ ModesMenu3.AddSeparator(); ModesMenu3.AddLabel("Item Usage on Combo"); ModesMenu3.Add("useYoumuu", new CheckBox("Use Youmuu", true)); ModesMenu3.Add("usehextech", new CheckBox("Use Hextech", true)); ModesMenu3.Add("useBotrk", new CheckBox("Use Botrk & Cutlass", true)); ModesMenu3.Add("useQss", new CheckBox("Use QuickSilver", true)); ModesMenu3.Add("minHPBotrk", new Slider("Min health to use Botrk %", 80)); ModesMenu3.Add("enemyMinHPBotrk", new Slider("Min enemy health to use Botrk %", 80)); ModesMenu3.AddLabel("QSS Configs"); ModesMenu3.Add("Qssmode", new ComboBox(" ", 0, "Auto", "Combo")); ModesMenu3.Add("Stun", new CheckBox("Stun", true)); ModesMenu3.Add("Blind", new CheckBox("Blind", true)); ModesMenu3.Add("Charm", new CheckBox("Charm", true)); ModesMenu3.Add("Suppression", new CheckBox("Suppression", true)); ModesMenu3.Add("Polymorph", new CheckBox("Polymorph", true)); ModesMenu3.Add("Fear", new CheckBox("Fear", true)); ModesMenu3.Add("Taunt", new CheckBox("Taunt", true)); ModesMenu3.Add("Silence", new CheckBox("Silence", false)); ModesMenu3.Add("QssDelay", new Slider("Use QSS Delay(ms)", 250, 0, 1000)); ModesMenu3.AddLabel("QSS Ult Configs"); ModesMenu3.Add("ZedUlt", new CheckBox("Zed R", true)); ModesMenu3.Add("VladUlt", new CheckBox("Vladimir R", true)); ModesMenu3.Add("FizzUlt", new CheckBox("Fizz R", true)); ModesMenu3.Add("MordUlt", new CheckBox("Mordekaiser R", true)); ModesMenu3.Add("PoppyUlt", new CheckBox("Poppy R", true)); ModesMenu3.Add("QssUltDelay", new Slider("Use QSS Delay(ms) for Ult", 250, 0, 1000)); ModesMenu3.AddLabel("Skin Hack"); ModesMenu3.Add("skinhack", new CheckBox("Activate Skin hack", false)); ModesMenu3.Add("skinId", new ComboBox("Skin Mode", 0, "Default", "1", "2", "3", "4", "5", "6", "7", "8")); DrawMenu = Menu.AddSubMenu("Draws", "DrawSivir"); DrawMenu.Add("drawA", new CheckBox(" Draw Real AA", true)); DrawMenu.Add("drawQ", new CheckBox(" Draw Q", true)); } catch (Exception e) { } }