public static void LoadOKTW() { Q = new Spell(SpellSlot.Q, 625f); W = new Spell(SpellSlot.W, 550f); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 625f); FR = new Spell(SpellSlot.R, 1000f); Q.SetTargetted(0.25f, 1400f); W.SetSkillshot(0.3f, 80f, float.MaxValue, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.20f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); FR.SetSkillshot(0.20f, 250f, float.MaxValue, false, SkillshotType.SkillshotCircle); flash = Player.GetSpellSlot("summonerflash"); drawMenu = Config.AddSubMenu("Draw"); drawMenu.Add("qRange", new CheckBox("Q range")); drawMenu.Add("wRange", new CheckBox("W range")); drawMenu.Add("rRange", new CheckBox("R range")); drawMenu.Add("onlyRdy", new CheckBox("Draw only ready spells")); QMenu = Config.AddSubMenu("Q Config"); QMenu.Add("autoQ", new CheckBox("Auto Q")); QMenu.Add("harrasQ", new CheckBox("Harass Q")); WMenu = Config.AddSubMenu("W Config"); WMenu.Add("autoW", new CheckBox("Auto W")); WMenu.Add("harrasW", new CheckBox("Harass W")); EMenu = Config.AddSubMenu("E Config"); EMenu.Add("autoE", new CheckBox("Auto E stack stun")); RMenu = Config.AddSubMenu("R Config"); RMenu.AddLabel("0 : Normal"); RMenu.AddLabel("1 : Always"); RMenu.AddLabel("2 : Never"); RMenu.AddLabel("3 : Always Stun"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { RMenu.Add("UM" + enemy.NetworkId, new Slider(enemy.ChampionName, 0, 0, 3)); } RMenu.AddSeparator(); RMenu.Add("autoRks", new CheckBox("Auto R KS")); RMenu.Add("autoRcombo", new CheckBox("Auto R Combo if stun is ready")); RMenu.Add("rCount", new Slider("Auto R x enemies", 3, 2, 5)); RMenu.Add("tibers", new CheckBox("Tibbers Auto Pilot")); if (flash != SpellSlot.Unknown) { RMenu.Add("rCountFlash", new Slider("Auto flash + R stun x enemies", 4, 2, 5)); } FarmMenu = Config.AddSubMenu("Farm"); FarmMenu.Add("farmQ", new CheckBox("Farm Q")); FarmMenu.Add("farmW", new CheckBox("Lane clear W")); FarmMenu.Add("Mana", new Slider("LaneClear Mana", 60)); Game.OnUpdate += Game_OnGameUpdate; GameObject.OnCreate += Obj_AI_Base_OnCreate; Drawing.OnDraw += Drawing_OnDraw; }
public static void LoadOKTW() { Q = new Spell(SpellSlot.Q, 625f); W = new Spell(SpellSlot.W, 550f); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 625f); FR = new Spell(SpellSlot.R, 1000f); Q.SetTargetted(0.25f, 1400f); W.SetSkillshot(0.3f, 80f, float.MaxValue, false, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 180f, float.MaxValue, false, SkillshotType.SkillshotCircle); FR.SetSkillshot(0.25f, 180f, float.MaxValue, false, SkillshotType.SkillshotCircle); flash = Player.GetSpellSlot("summonerflash"); drawMenu = Config.AddSubMenu("线圈"); drawMenu.Add("qRange", new CheckBox("Q 范围")); drawMenu.Add("wRange", new CheckBox("W 范围")); drawMenu.Add("rRange", new CheckBox("R 范围")); drawMenu.Add("onlyRdy", new CheckBox("只显示无冷却技能")); QMenu = Config.AddSubMenu("Q 设置"); QMenu.Add("autoQ", new CheckBox("自动 Q")); QMenu.Add("harrasQ", new CheckBox("骚扰 Q")); WMenu = Config.AddSubMenu("W 设置"); WMenu.Add("autoW", new CheckBox("自动 W")); WMenu.Add("harrasW", new CheckBox("骚扰 W")); EMenu = Config.AddSubMenu("E 设置"); EMenu.Add("autoE", new CheckBox("自动叠加E")); RMenu = Config.AddSubMenu("R 设置"); RMenu.AddLabel("0 : 普通"); RMenu.AddLabel("1 : 一直"); RMenu.AddLabel("2 : 从不"); RMenu.AddLabel("3 : 可晕眩时"); foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy)) { RMenu.Add("UM" + enemy.NetworkId, new Slider(enemy.ChampionName, 0, 0, 3)); } RMenu.AddSeparator(); RMenu.Add("autoRks", new CheckBox("自动 R 抢头")); RMenu.Add("autoRcombo", new CheckBox("连招自动R,如果可晕眩")); RMenu.Add("rCount", new Slider("自动 R X 数量", 3, 2, 5)); RMenu.Add("tibers", new CheckBox("自动移动熊")); if (flash != SpellSlot.Unknown) { RMenu.Add("rCountFlash", new Slider("自动闪现 + R 可击晕敌人数量", 4, 2, 5)); } FarmMenu = Config.AddSubMenu("农兵"); FarmMenu.Add("farmQ", new CheckBox("尾兵 Q")); FarmMenu.Add("farmW", new CheckBox("清线 W")); FarmMenu.Add("Mana", new Slider("清线蓝量", 60)); Game.OnUpdate += Game_OnGameUpdate; GameObject.OnCreate += Obj_AI_Base_OnCreate; Drawing.OnDraw += Drawing_OnDraw; }