public Kalista() { //Spell Q = new Spell(SpellSlot.Q, 1150f) { DamageType = DamageType.Physical }; W = new Spell(SpellSlot.W, 5200f); E = new Spell(SpellSlot.E, 950f); R = new Spell(SpellSlot.R, 1500f); Q.SetSkillshot(0.25f, 40f, 1200f, true, SkillshotType.SkillshotLine); //Menu Menu ComboMenu = new Menu("Combo", "Combo"); Menu HarassMenu = new Menu("Harass", "Harass"); Menu LaneClearMenu = new Menu("LaneClear", "LaneClear"); Menu JungleClearMenu = new Menu("JungleClear", "JungleClear"); Menu MiscMenu = new Menu("Misc", "Misc"); Menu DrawingsMenu = new Menu("Drawings", "Drawings"); ComboMenu.Add(new MenuBool("UseQ", "Use Q", true)); ComboMenu.Add(new MenuBool("UseE", "Use E", true)); HarassMenu.Add(new MenuBool("UseQ", "Use Q", true)); LaneClearMenu.Add(new MenuSeparator("Qseparator", "Q")); LaneClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); LaneClearMenu.Add(new MenuSlider("UseQNumber", "Cast Q if killable minion number >=", 4, 1, 7)); LaneClearMenu.Add(new MenuSeparator("Eseparator", "E")); LaneClearMenu.Add(new MenuBool("UseE", "Use E", true)); LaneClearMenu.Add(new MenuSlider("UseENumber", "Cast E if killable minion number >=", 3, 1, 7)); JungleClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); JungleClearMenu.Add(new MenuBool("UseE", "Use E", true)); MiscMenu.Add(new MenuBool("UseKillsteal", "Use Killsteal", true)); MiscMenu.Add(new MenuBool("UseMobsteal", "Use Mobsteal", true)); DrawingsMenu.Add(new MenuSeparator("Qseparator", "Q")); DrawingsMenu.Add(new MenuBool("DrawQ", "Draw Q Range", true)); DrawingsMenu.Add(new MenuColor("QColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Wseparator", "W")); DrawingsMenu.Add(new MenuBool("DrawW", "Draw W Range")); DrawingsMenu.Add(new MenuColor("WColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Eseparator", "E")); DrawingsMenu.Add(new MenuBool("DrawE", "Draw E Range", true)); DrawingsMenu.Add(new MenuColor("EColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Rseparator", "R")); DrawingsMenu.Add(new MenuBool("DrawR", "Draw R Range")); DrawingsMenu.Add(new MenuColor("RColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Dseparator", "DamageIndicator")); var UseDamageIndicator = new MenuBool("UseDamageIndicator", "Use DamageIndicator", true); var DamageIndicatorFillColor = new MenuColor("DamageIndicatorFillColor", "Color", SharpDX.Color.Goldenrod); UseDamageIndicator.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.Enabled = UseDamageIndicator.Value; }; DamageIndicatorFillColor.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.FillColor = Color.FromArgb(DamageIndicatorFillColor.Color.ToBgra()); }; DrawingsMenu.Add(UseDamageIndicator); DrawingsMenu.Add(DamageIndicatorFillColor); MenuProvider.MainMenu.Add(ComboMenu); MenuProvider.MainMenu.Add(HarassMenu); MenuProvider.MainMenu.Add(LaneClearMenu); MenuProvider.MainMenu.Add(JungleClearMenu); MenuProvider.MainMenu.Add(MiscMenu); MenuProvider.MainMenu.Add(DrawingsMenu); //Event Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Game_OnDraw; Spellbook.OnCastSpell += Spellbook_OnCastSpell; DamageIndicator.DamageToUnit = GetComboDamage; //Loaded Logging.Write()(LogLevel.Info, "HuyNK Series SDK: Kalista Loaded!"); }
/// <summary> /// Initializes a new instance of the <see cref="BlueBool" /> class. /// </summary> /// <param name="component"> /// The component /// </param> public BlueBool2(MenuBool component) : base(component) { }
/// <summary> /// Builds a new handler for the given <see cref="MenuBool" />. /// </summary> /// <param name="component">The <see cref="MenuBool" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable<MenuBool> BuildBoolHandler(MenuBool component) { return new LightBool2(component); }
public Jinx() { Q = new Spell(SpellSlot.Q, 725); W = new Spell(SpellSlot.W, 1500f); W.SetSkillshot(0.6f, 60f, 3300f, true, LeagueSharp.Common.SkillshotType.SkillshotLine); E = new Spell(SpellSlot.E, 900f); E.SetSkillshot(0.7f, 120f, 1750f, false, LeagueSharp.Common.SkillshotType.SkillshotCircle); R = new Spell(SpellSlot.R, 20000); R.SetSkillshot(0.6f, 140f, 1700f, false, LeagueSharp.Common.SkillshotType.SkillshotLine); _r2 = new Spell(SpellSlot.R, 20000); _r2.SetSkillshot(0.6f, 140f, 1700f, false, LeagueSharp.Common.SkillshotType.SkillshotLine); //Menu //Set key Menu Skill = new Menu("Keys", "Cài đặt kill"); Skill.Add(new MenuSlider("Q_Max_Range", "Q khi đủ tầm", 650, 500, 1200)); Skill.Add(new MenuSlider("W_Max_Range", "W khi đủ tầm", 900, 500, 1500)); Skill.Add(new MenuSlider("R_Min_Range", "Tầm đánh R nhỏ nhât", 300, 300, 1200)); Skill.Add(new MenuSlider("R_Max_Range", "Tầm đánh R lớn nhất", 20000, 500, 20000)); Skill.Add(new MenuKeyBind("Combo_WE", "Combo WE", System.Windows.Forms.Keys.E, KeyBindType.Press, "E")); // Combo Menu ComboMenu = new Menu("Combo", "Combo"); ComboMenu.Add(new MenuBool("UseQ","Dùng Q",true)); ComboMenu.Add(new MenuBool("UseW", "Dùng W", true)); ComboMenu.Add(new MenuBool("UseE", "Dùng E", true)); ComboMenu.Add(new MenuBool("UseR", "Dùng R", true)); ComboMenu.Add(new MenuBool("R_Nearest_Killable", "Giết khi gần Chết")); //Cấu rỉa Menu HarassMenu = new Menu("Harass", "Cấu Rỉa"); HarassMenu.Add(new MenuBool("UseQ", "Dùng Q", true)); HarassMenu.Add(new MenuBool("UseW", "Dùng W", true)); //Đẩy đường Menu LaneClearMenu = new Menu("LaneClear", "Đẩy Đường"); LaneClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); //Dọn rừng Menu JungleClearMenu = new Menu("JungleClear", "Dọn Rừng"); JungleClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); //Tiện ích Menu MiscMenu = new Menu("Misc", "Tiện ích"); MiscMenu.Add(new MenuBool("UseKillsteal", "Dùng R KS", true)); MiscMenu.Add(new MenuBool("Misc_Use_WE", "Combo E + W", true)); //Hiển thị Menu DrawingsMenu = new Menu("Drawings", "Hiển Thị"); DrawingsMenu.Add(new MenuSeparator("Qseparator", "Q")); DrawingsMenu.Add(new MenuBool("DrawQ", "Draw Q Range", true)); DrawingsMenu.Add(new MenuColor("QColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Wseparator", "W")); DrawingsMenu.Add(new MenuBool("DrawW", "Draw W Range")); DrawingsMenu.Add(new MenuColor("WColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Eseparator", "E")); DrawingsMenu.Add(new MenuBool("DrawE", "Draw E Range", true)); DrawingsMenu.Add(new MenuColor("EColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Rseparator", "R")); DrawingsMenu.Add(new MenuBool("DrawR", "Draw R Range")); DrawingsMenu.Add(new MenuColor("RColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuBool("Draw_R_Killable", "Tìm Muc tiêu ULti")); DrawingsMenu.Add(new MenuSeparator("Dseparator", "DamageIndicator")); var UseDamageIndicator = new MenuBool("UseDamageIndicator", "Use DamageIndicator", true); var DamageIndicatorFillColor = new MenuColor("DamageIndicatorFillColor", "Color", SharpDX.Color.Goldenrod); UseDamageIndicator.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.Enabled = UseDamageIndicator.Value; }; DamageIndicatorFillColor.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.FillColor = Color.FromArgb(DamageIndicatorFillColor.Color.ToBgra()); }; DrawingsMenu.Add(UseDamageIndicator); DrawingsMenu.Add(DamageIndicatorFillColor); MenuProvider.MainMenu.Add(ComboMenu); MenuProvider.MainMenu.Add(Skill); MenuProvider.MainMenu.Add(HarassMenu); MenuProvider.MainMenu.Add(LaneClearMenu); MenuProvider.MainMenu.Add(JungleClearMenu); MenuProvider.MainMenu.Add(MiscMenu); MenuProvider.MainMenu.Add(DrawingsMenu); //Event Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Game_OnDraw; Spellbook.OnCastSpell += Spellbook_OnCastSpell; DamageIndicator.DamageToUnit = GetComboDamage; //Loaded Logging.Write()(LogLevel.Info, "HuyNK Series SDK: Jinx Loaded!"); }
/// <summary> /// Builds a new handler for the given <see cref="MenuBool" />. /// </summary> /// <param name="component">The <see cref="MenuBool" /> where this handler is responsible for.</param> /// <returns>The handler</returns> public ADrawable<MenuBool> BuildBoolHandler(MenuBool component) { return new TechBool(component); }
/// <summary> /// Initializes a new instance of the <see cref="LightBool" /> class. /// </summary> /// <param name="component"> /// The component /// </param> public LightBool2(MenuBool component) : base(component) { }
public Ashe() { //Spell Q = new Spell(SpellSlot.Q); W = new Spell(SpellSlot.W, 1200f) { DamageType = DamageType.Physical }; E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 2500f) { DamageType = DamageType.Physical, MinHitChance = HitChance.High }; W.SetSkillshot(0.25f, 40f, 902f, true, SkillshotType.SkillshotLine); R.SetSkillshot(0.25f, 130f, 1600f, false, SkillshotType.SkillshotLine); //Menu Menu ComboMenu = new Menu("Combo", "Combo"); Menu HarassMenu = new Menu("Harass", "Harass"); Menu LaneClearMenu = new Menu("LaneClear", "LaneClear"); Menu JungleClearMenu = new Menu("JungleClear", "JungleClear"); Menu MiscMenu = new Menu("Misc", "Misc"); Menu DrawingsMenu = new Menu("Drawings", "Drawings"); ComboMenu.Add(new MenuBool("UseQ", "Use Q", true)); ComboMenu.Add(new MenuBool("UseW", "Use W", true)); ComboMenu.Add(new MenuBool("UseE", "Use E", false)); ComboMenu.Add(new MenuBool("UseR", "Use R", true)); HarassMenu.Add(new MenuBool("UseW", "Use W", true)); LaneClearMenu.Add(new MenuBool("UseW", "Use W", false)); JungleClearMenu.Add(new MenuBool("UseQ", "Use Q", true)); JungleClearMenu.Add(new MenuBool("UseW", "Use W", true)); MiscMenu.Add(new MenuBool("UseKillsteal", "Use Killsteal", true)); MiscMenu.Add(new MenuBool("AutoRimmobile", "Auto R against immobile target", true)); DrawingsMenu.Add(new MenuSeparator("Wseparator", "W")); DrawingsMenu.Add(new MenuBool("DrawW", "Draw W Range", true)); DrawingsMenu.Add(new MenuColor("WColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Rseparator", "R")); DrawingsMenu.Add(new MenuBool("DrawR", "Draw R Range", true)); DrawingsMenu.Add(new MenuColor("RColor", "Color", SharpDX.Color.Blue)); DrawingsMenu.Add(new MenuSeparator("Dseparator", "DamageIndicator")); var UseDamageIndicator = new MenuBool("UseDamageIndicator", "Use DamageIndicator", true); var DamageIndicatorFillColor = new MenuColor("DamageIndicatorFillColor", "Color", SharpDX.Color.Goldenrod); UseDamageIndicator.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.Enabled = UseDamageIndicator.Value; }; DamageIndicatorFillColor.ValueChanged += (object sender, EventArgs e) => { DamageIndicator.FillColor = Color.FromArgb(DamageIndicatorFillColor.Color.ToBgra()); }; DrawingsMenu.Add(UseDamageIndicator); DrawingsMenu.Add(DamageIndicatorFillColor); MenuProvider.MainMenu.Add(ComboMenu); MenuProvider.MainMenu.Add(HarassMenu); MenuProvider.MainMenu.Add(LaneClearMenu); MenuProvider.MainMenu.Add(JungleClearMenu); MenuProvider.MainMenu.Add(MiscMenu); MenuProvider.MainMenu.Add(DrawingsMenu); //Event Game.OnUpdate += Game_OnGameUpdate; Drawing.OnDraw += Game_OnDraw; DamageIndicator.DamageToUnit = GetComboDamage; //Loaded Logging.Write()(LogLevel.Info, "HuyNK_Series_SDK: Ashe Loaded!"); }