public Ezreal() { Menu = Program.MainMenu; STS = new SimpleTS(); List <string> hitChances = new List <string>(); foreach (HitChance value in Enum.GetValues(typeof(HitChance))) { hitChances.Add(value.ToString()); } Q = new Spell(SpellSlot.Q, 1200); Q.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotLine); W = new Spell(SpellSlot.W, 1050); W.SetSkillshot(0.25f, 80f, 1600f, false, SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E, 475); R = new Spell(SpellSlot.R, float.MaxValue); R.SetSkillshot(1f, 160f, 2000f, false, SkillshotType.SkillshotLine); DLib.RegistDamage("Q", DamageType.Physical, 35f, 20f, new List <DamageType>() { DamageType.Physical, DamageType.Physical }, new List <ScalingType>() { ScalingType.AD, ScalingType.AP }, new List <float>() { 1.1f, 0.4f }, delegate(Obj_AI_Base target) { return(Q.IsReady()); }, delegate(Obj_AI_Base target) { return(0f); }); DM.AddCircle(ObjectManager.Player, Q.Range, Color.Red, "Q Draw", delegate() { return(Q.IsReady()); }); DM.AddCircle(ObjectManager.Player, W.Range, Color.Red, "W Draw", delegate() { return(W.IsReady()); }); Menu Config = new Menu("Ezreal", "Ezreal"); STS.AddToMenu(Config); Menu HitChanceMenu = new Menu("HitChance", "HitChance"); Menu ComboHitChaceMenu = new Menu("Combo", "Combo"); ComboHitChaceMenu.AddList("HitChance.Combo.Q", "Q HitChance", new StringList(hitChances.ToArray(), 5)); ComboHitChaceMenu.AddList("HitChance.Combo.W", "W HitChance", new StringList(hitChances.ToArray(), 4)); HitChanceMenu.AddSubMenu(ComboHitChaceMenu); Menu HarassHitChaceMenu = new Menu("Harass", "Harass"); HarassHitChaceMenu.AddList("HitChance.Harass.Q", "Q HitChance", new StringList(hitChances.ToArray(), 4)); HarassHitChaceMenu.AddList("HitChance.Harass.W", "W HitChance", new StringList(hitChances.ToArray(), 3)); HitChanceMenu.AddSubMenu(HarassHitChaceMenu); Config.AddSubMenu(HitChanceMenu); DLib.AddToMenu(Config, new List <string>() { "Q" }); DLib.SetText("After Q"); DM.AddToMenu(Config); Menu Combo = new Menu("Combo", "Combo"); Combo.AddBool("Combo.UseQ", "Use Q"); Combo.AddBool("Combo.UseW", "Use W"); Config.AddSubMenu(Combo); Menu Harass = new Menu("Harass", "Harass"); Harass.AddBool("Harass.UseQ", "Use Q"); Harass.AddBool("Harass.UseW", "Use W"); Config.AddSubMenu(Harass); Menu Clear = new Menu("Clear", "Clear"); Menu LineClear = new Menu("LineClear", "LineClear"); LineClear.AddBool("Clear.LineClear.UseQ", "Use Q"); LineClear.AddSlice("Clear.LineClear.UseQ2", "Use Q if my mana >= (%)", 80, 0, 100); Clear.AddSubMenu(LineClear); Menu JungleClear = new Menu("JungleClear", "JungleClear"); JungleClear.AddBool("Clear.JungleClear.UseQ", "Use Q"); JungleClear.AddSlice("Clear.JungleClear.UseQ2", "Use Q if my mana >= (%)", 80, 0, 100); Clear.AddSubMenu(JungleClear); Config.AddSubMenu(Clear); Menu LastHit = new Menu("LastHit", "LastHit"); LastHit.AddBool("LastHit.UseQ", "Use Q"); LastHit.AddSlice("LastHit.UseQ2", "Use Q if my mana >= (%)", 80, 0, 100); //LastHit.AddBool("LastHit.UseClear", "Use Lasthit in clear"); Config.AddSubMenu(LastHit); Menu.AddSubMenu(Config); Game.OnUpdate += Game_OnUpdate; }
public Jinx() { Menu = Program.MainMenu; #region Spell Q = new Spell(SpellSlot.Q, 600); W = new Spell(SpellSlot.W, 750); W.SetSkillshot(0.6f, 70f, 3300f, true, SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E, 920); E.SetSkillshot(1.2f, 100f, 1750f, false, SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R, 3000); R.SetSkillshot(0.7f, 140f, 1500f, false, SkillshotType.SkillshotLine); #endregion DLib.RegistDamage("W", DamageType.Physical, 10f, 50f, DamageType.Physical, ScalingType.AD, 1.4f, delegate(Obj_AI_Base target) { return(W.IsReady()); }, delegate(Obj_AI_Base target) { return(0f); }); DLib.RegistDamage("E", DamageType.Physical, 80f, 55f, DamageType.Physical, ScalingType.AP, 1f, delegate(Obj_AI_Base target) { return(E.IsReady()); }, delegate(Obj_AI_Base target) { return(0f); }); DLib.RegistDamage("R", DamageType.Physical, 250f, 100f, DamageType.Physical, ScalingType.AD, 0.1f, delegate(Obj_AI_Base target) { return(R.IsReady()); }, delegate(Obj_AI_Base target) { return((float)W.GetDamage(target) + (float)E.GetDamage(target) + (float)(ObjectManager.Player.GetAutoAttackDamage(target) * 2)); }); DM.AddCircle(ObjectManager.Player, W.Range, Color.Red, "W Draw", delegate() { return(W.IsReady()); }); DM.AddCircle(ObjectManager.Player, E.Range, Color.Red, "E Draw", delegate() { return(E.IsReady()); }); List <string> hitChances = new List <string>(); foreach (HitChance value in Enum.GetValues(typeof(HitChance))) { hitChances.Add(value.ToString()); } Menu Config = new Menu("Jinx", "Jinx"); Menu HitChanceMenu = new Menu("HitChance", "HitChance"); Menu ComboHitChaceMenu = new Menu("Combo", "Combo"); ComboHitChaceMenu.AddList("HitChance.Combo.W", "W HitChance", new StringList(hitChances.ToArray(), 5)); ComboHitChaceMenu.AddList("HitChance.Combo.E", "E HitChance", new StringList(hitChances.ToArray(), 4)); HitChanceMenu.AddSubMenu(ComboHitChaceMenu); Menu HarassHitChaceMenu = new Menu("Harass", "Harass"); HarassHitChaceMenu.AddList("HitChance.Harass.W", "W HitChance", new StringList(hitChances.ToArray(), 4)); HarassHitChaceMenu.AddList("HitChance.Harass.E", "E HitChance", new StringList(hitChances.ToArray(), 3)); HitChanceMenu.AddSubMenu(HarassHitChaceMenu); Config.AddSubMenu(HitChanceMenu); DLib.AddToMenu(Config, new List <string>() { "W", "E", "R" }); STS.AddToMenu(Config); DM.AddToMenu(Config); Menu Combo = new Menu("Combo", "Combo"); Combo.AddBool("Combo.UseQ", "Use Q"); Combo.AddBool("Combo.UseW", "Use W"); Combo.AddBool("Combo.UseE", "Use E"); Combo.AddBool("Combo.UseR", "Use R"); Combo.AddSlice("Combo.mper", "Dont use if my mana => (%)", 10); Config.AddSubMenu(Combo); Menu Harass = new Menu("Harass", "Harass"); Harass.AddBool("Harass.UseQ", "Use Q"); Harass.AddBool("Harass.UseW", "Use W"); Harass.AddBool("Harass.UseE", "Use E"); Harass.AddSlice("Harass.mper"); Config.AddSubMenu(Harass); Menu KS = new Menu("Killsteal", "Killsteal"); KS.AddBool("KS.UseW", "Use W"); KS.AddBool("KS.UseE", "Use E"); Config.AddSubMenu(KS); Menu Misc = new Menu("Misc", "Misc"); Misc.AddSlice("Misc.RRange", "Max R Range", 1700, 0, 3000); Misc.AddSlice("Misc.WRange", "Max W Range", 300, 0, 720); Misc.AddSlice("Misc.MinRRange", "Min R Range", 600, 0, 1800); Misc.AddSlice("Misc.REnemies", "Min enemies for auto r", 4, 1, 5); Misc.AddBool("Misc.ROverkill", "Check R Overkill"); Misc.AddBool("Misc.EStun", "Auto E Stun"); Misc.AddBool("Misc.EGapcloser", "Auto E Gapcloser"); Misc.AddBool("Misc.EAutoCast", "Auto E Slow/Immobile/Dash"); Misc.AddBool("Misc.SwapThree", "Swap Q at three fishbone stacks"); Misc.AddBool("Misc.SwapDistance", "Swap Q for Distance"); Misc.AddBool("Misc.SwapAOE", "Swap Q for AoE"); Config.AddSubMenu(Misc); Menu.AddSubMenu(Config); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; }
public Draven() { Q = new Spell(SpellSlot.Q, 1075); W = new Spell(SpellSlot.W, 950); W.SetSkillshot(0.5f, 315f, float.MaxValue, false, SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E, 1050); E.SetSkillshot(0.25f, 130f, 1600f, false, SkillshotType.SkillshotLine); R = new Spell(SpellSlot.R, float.MaxValue); R.SetSkillshot(0.5f, 155f, 2000f, false, SkillshotType.SkillshotLine); List <string> hitChances = new List <string>(); foreach (HitChance value in Enum.GetValues(typeof(HitChance))) { hitChances.Add(value.ToString()); } DLib.RegistDamage("Q", DamageType.Physical, 0f, 0f, DamageType.Physical, ScalingType.AD, 0f, delegate(Obj_AI_Base target) { return(AxesCatcher.GetCountAxes() > 0); }, delegate(Obj_AI_Base target) { return(((float)myHero.GetAutoAttackDamage(target) * (1.45f + (0.1f * (Q.Level - 1)))) * AxesCatcher.GetCountAxes()); }); DLib.RegistDamage("E", DamageType.Physical, 70f, 35f, DamageType.Physical, ScalingType.BONUS_AD, 0.5f, delegate(Obj_AI_Base target) { return(E.IsReady()); }, delegate(Obj_AI_Base target) { return(0f); }); DLib.RegistDamage("R", DamageType.Physical, 175f, 100f, DamageType.Physical, ScalingType.BONUS_AD, 1.1f, delegate(Obj_AI_Base target) { return(R.IsReady()); }, delegate(Obj_AI_Base target) { return(0f); }); DM.AddCircle(ObjectManager.Player, W.Range, Color.Red, "W Draw", delegate() { return(W.IsReady()); }); DM.AddCircle(ObjectManager.Player, E.Range, Color.Red, "E Draw", delegate() { return(E.IsReady()); }); Menu = Program.MainMenu; Config = new Menu("Draven", "Draven"); Menu HitChanceMenu = new Menu("HitChance", "HitChance"); Menu ComboHitChaceMenu = new Menu("Combo", "Combo"); ComboHitChaceMenu.AddList("HitChance.Combo.E", "E HitChance", new StringList(hitChances.ToArray(), 4)); ComboHitChaceMenu.AddList("HitChance.Combo.R", "R HitChance", new StringList(hitChances.ToArray(), 5)); HitChanceMenu.AddSubMenu(ComboHitChaceMenu); Menu HarassHitChaceMenu = new Menu("Harass", "Harass"); HarassHitChaceMenu.AddList("HitChance.Harass.E", "E HitChance", new StringList(hitChances.ToArray(), 3)); HarassHitChaceMenu.AddList("HitChance.Harass.R", "R HitChance", new StringList(hitChances.ToArray(), 4)); HitChanceMenu.AddSubMenu(HarassHitChaceMenu); Config.AddSubMenu(HitChanceMenu); STS.AddToMenu(Config); DLib.AddToMenu(Config, new List <string>() { "Q", "E", "R", "R" }); DM.AddToMenu(Config); AxesCatcher.AddToMenu(Config); Menu Combo = new Menu("Combo", "Combo"); Combo.AddList("Combo.UseQ", "Use Q", new StringList(new string[] { "Zero Spins", "One Spin", "Two Spin" }, 2)); Combo.AddList("Combo.UseW", "Use W", new StringList(new string[] { "Never", "If is not in range", "Always" }, 1)); Combo.AddBool("Combo.UseE", "Use E"); Combo.AddBool("Combo.UseR1", "Use R if killable"); Combo.AddSlice("Combo.UseR2", "Use R if enemies >=", 3, 0, 5); //Combo.AddBool("Combo.UseItem") Config.AddSubMenu(Combo); Menu Harass = new Menu("Harass", "Harass"); Harass.AddList("Harass.UseQ", "Use Q", new StringList(new string[] { "Zero Spins", "One Spin", "Tow Spin" }, 2)); Harass.AddBool("Harass.UseW", "Use W"); Harass.AddBool("Harass.UseE", "Use E"); Harass.AddSlice("Harass.mper", 20); Config.AddSubMenu(Harass); Menu LineClear = new Menu("LineClear", "LineClear"); LineClear.AddList("LineClear.UseQ", "Use Q", new StringList(new string[] { "Zero Spins", "One Spin", "Tow Spin" }, 2)); LineClear.AddBool("LineClear.UseW", "Use W"); LineClear.AddBool("LineClear.UseE", "Use E"); LineClear.AddSlice("LineClear.mper", 20); Config.AddSubMenu(LineClear); Menu JungleClear = new Menu("JungleClear", "JungleClear"); JungleClear.AddList("JungleClear.UseQ", "Use Q", new StringList(new string[] { "Zero Spins", "One Spin", "Tow Spin" }, 2)); JungleClear.AddBool("JungleClear.UseW", "Use W"); JungleClear.AddBool("JungleClear.UseE", "Use E"); JungleClear.AddSlice("JungleClear.mper", 20); Config.AddSubMenu(JungleClear); Menu LastHit = new Menu("LastHit", "LastHit"); LastHit.AddBool("LastHit.UseQ", "Use Q"); LastHit.AddBool("LastHit.UseE", "Use E"); LastHit.AddSlice("LastHit.mper", 20); Config.AddSubMenu(LastHit); Menu KillSteal = new Menu("KillSteal", "KillSteal"); KillSteal.AddBool("KillSteal.UseQ", "Use Q"); KillSteal.AddBool("KillSteal.UseW", "Use W"); KillSteal.AddBool("KillSteal.UseE", "Use E"); KillSteal.AddBool("KillSteal.useIgnite", "Use Ignite"); Config.AddSubMenu(KillSteal); Menu Auto = new Menu("Auto", "Auto"); Auto.AddBool("Auto.EI", "Use E To Interrupt"); Auto.AddBool("Auto.EA", "Use E To Gapcloser"); Config.AddSubMenu(Auto); Menu Misc = new Menu("Misc", "Misc"); Misc.AddSlice("Misc.overkill", "Overkill % for dmg Predict..", 10, 0, 100); Misc.AddSlice("Misc.RRange", "R Range", 1800, 300, 6000); Config.AddSubMenu(Misc); Menu.AddSubMenu(Config); Game.OnUpdate += Game_OnUpdate; Drawing.OnDraw += Drawing_OnDraw; GameObject.OnCreate += GameObject_OnCreate; GameObject.OnDelete += GameObject_OnDelete; AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser; }