private static void Initializer() { Q = new Spell(SpellSlot.Q, 1100f); Q.SetSkillshot(0.25f, 60f, 4000f, false, false, SkillshotType.Line); W = new Spell(SpellSlot.W); E = new Spell(SpellSlot.E); R = new Spell(SpellSlot.R, 1100f); R.SetSkillshot(1.0f, 60f, float.MaxValue, false, false, SkillshotType.Cone); ComboOption.AddMenu(); ComboOption.AddQ(); ComboOption.AddW(); ComboOption.AddE(); ComboOption.AddBool("ComboERoot", "Use E| If Target Can imprison", false); ComboOption.AddBool("ComboELogic", "Use E| Logic Cast(1AA + 1Q + 1E DMG)"); HarassOption.AddMenu(); HarassOption.AddQ(); HarassOption.AddE(); HarassOption.AddSlider("HarassECount", "Use E|Min Passive Hit Count >= x", 3, 1, 10); HarassOption.AddMana(); HarassOption.AddTargetList(); LaneClearOption.AddMenu(); LaneClearOption.AddQ(); LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= x", 3, 1, 5); LaneClearOption.AddW(); LaneClearOption.AddMana(); JungleClearOption.AddMenu(); JungleClearOption.AddQ(); JungleClearOption.AddW(); JungleClearOption.AddE(); JungleClearOption.AddMana(); KillStealOption.AddMenu(); KillStealOption.AddQ(); KillStealOption.AddE(); MiscOption.AddMenu(); MiscOption.AddBasic(); MiscOption.AddSubMenu("Block", "Block Spell Settings"); MyEvadeManager.Attach(MiscMenu["SharpShooter.MiscSettings.Block"] as Menu); DrawOption.AddMenu(); DrawOption.AddQ(Q); DrawOption.AddR(R); DrawOption.AddDamageIndicatorToHero(false, false, true, false, false); CPrediction.BoundingRadiusMultiplicator = 1.15f; Game.OnTick += OnUpdate; GameObject.OnCreate += (sender, args) => OnCreate(sender); GameObject.OnDelete += (sender, args) => OnDestroy(sender); AIBaseClient.OnProcessSpellCast += OnProcessSpellCast; Orbwalker.OnAction += OnAction; }
private static void Initializer() { Q = new Aimtec.SDK.Spell(SpellSlot.Q, 1200f); Q.SetSkillshot(0.25f, 90f, 1350f, false, SkillshotType.Line); W = new Aimtec.SDK.Spell(SpellSlot.W); E = new Aimtec.SDK.Spell(SpellSlot.E); R = new Aimtec.SDK.Spell(SpellSlot.R); ComboOption.AddMenu(); ComboOption.AddQ(); ComboOption.AddW(); ComboOption.AddR(); ComboOption.AddSlider("ComboRCount", "Use R| Enemies Count >= x", 3, 1, 5); HarassOption.AddMenu(); HarassOption.AddQ(); HarassOption.AddMana(); HarassOption.AddTargetList(); LaneClearOption.AddMenu(); LaneClearOption.AddQ(); LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= x", 3, 1, 5); LaneClearOption.AddW(); LaneClearOption.AddMana(); JungleClearOption.AddMenu(); JungleClearOption.AddQ(); JungleClearOption.AddW(); JungleClearOption.AddMana(); KillStealOption.AddMenu(); KillStealOption.AddQ(); MiscOption.AddMenu(); MiscOption.AddBasic(); MiscOption.AddQ(); MiscOption.AddBool("Q", "AutoQ", "Auto Q| CC"); MiscOption.AddE(); MiscOption.AddSubMenu("Block", "Block Spell Settings"); MyEvadeManager.Attach(MiscMenu["SharpShooter.MiscSettings.Block"].As <Menu>()); MiscOption.AddR(); MiscOption.AddBool("R", "AutoR", "Auto R", false); DrawOption.AddMenu(); DrawOption.AddQ(Q); DrawOption.AddFarm(); DrawOption.AddDamageIndicatorToHero(true, false, false, false, true); Game.OnUpdate += OnUpdate; Orbwalker.PostAttack += PostAttack; }