Exemple #1
0
        private static void Initializer()
        {
            Q = new Aimtec.SDK.Spell(SpellSlot.Q, 1050f);
            Q.SetSkillshot(0.25f, 79f, 1200f, true, SkillshotType.Line);

            Q2 = new Aimtec.SDK.Spell(SpellSlot.Q, 600f)
            {
                Speed = float.MaxValue, Delay = 0.25f
            };

            QE = new Aimtec.SDK.Spell(SpellSlot.Q, 1650f);
            QE.SetSkillshot(0.35f, 98f, 1900f, true, SkillshotType.Line);

            W = new Aimtec.SDK.Spell(SpellSlot.W);

            W2 = new Aimtec.SDK.Spell(SpellSlot.W, 350f);

            E = new Aimtec.SDK.Spell(SpellSlot.E, 650f);
            E.SetSkillshot(0.1f, 120f, float.MaxValue, false, SkillshotType.Circle);

            E2 = new Aimtec.SDK.Spell(SpellSlot.E, 240f)
            {
                Speed = float.MaxValue, Delay = 0.25f
            };

            R = new Aimtec.SDK.Spell(SpellSlot.R);

            ComboOption.AddMenu();
            ComboOption.AddBool("UsQECombo", "Use Cannon Q");
            ComboOption.AddBool("UseWCombo", "Use Cannon W");
            ComboOption.AddBool("UseECombo", "Use Cannon E");
            ComboOption.AddBool("UsQEComboHam", "Use Hammer Q");
            ComboOption.AddBool("UseWComboHam", "Use Hammer W");
            ComboOption.AddBool("UseEComboHam", "Use Hammer E");
            ComboOption.AddBool("UseRCombo", "Use R Switch");

            HarassOption.AddMenu();
            HarassOption.AddBool("UsQEHarass", "Use Cannon Q");
            HarassOption.AddBool("UseWHarass", "Use Cannon W");
            HarassOption.AddBool("UseEHarass", "Use Cannon E");
            HarassOption.AddBool("UsQEHarassHam", "Use Hammer Q", false);
            HarassOption.AddBool("UseWHarassHam", "Use Hammer W", false);
            HarassOption.AddBool("UseEHarassHam", "Use Hammer E", false);
            HarassOption.AddBool("UseRHarass", "Use R Switch");
            HarassOption.AddMana(60);
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddBool("UsQEFarm", "Use Cannon Q");
            LaneClearOption.AddBool("UseRFarm", "Use R Switch");
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddBool("UsQEJungle", "Use Cannon Q");
            JungleClearOption.AddBool("UseWJungle", "Use Cannon W");
            JungleClearOption.AddBool("UseEJungle", "Use Cannon E");
            JungleClearOption.AddBool("UsQEJungleHam", "Use Hammer Q");
            JungleClearOption.AddBool("UseWJungleHam", "Use Hammer W");
            JungleClearOption.AddBool("UseEJungleHam", "Use Hammer E");
            JungleClearOption.AddBool("UseRJungle", "Use R Switch");
            JungleClearOption.AddMana();

            FleeOption.AddMenu();
            FleeOption.AddQ();
            FleeOption.AddE();
            FleeOption.AddR();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddE();
            KillStealOption.AddBool("UsQEEKS", "Use QE");
            KillStealOption.AddR();

            GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddE();
            MiscOption.AddBool("E", "forceGate", "Auto E| After Q", false);
            MiscOption.AddSlider("E", "gatePlace", "Gate Place Distance", 50, 50, 110);
            MiscOption.AddSlider("E", "autoE", "Auto E Save|When Player HealthPercent < x%", 20, 0, 101);
            MiscOption.AddSetting("QE");
            MiscOption.AddKey("QE", "SemiQE", "Semi-manual QE Key", KeyCode.T, KeybindType.Press);
            MiscOption.AddList("QE", "SemiQEMode", "Semi-manual QE Mode", new[] { "To Target", "To Mouse" });

            DrawOption.AddMenu();
            DrawOption.AddRange(Q, "Cannon Q");
            DrawOption.AddRange(QE, "Cannon Q Extend");
            DrawOption.AddRange(W, "Cannon W");
            DrawOption.AddRange(E, "Cannon E");
            DrawOption.AddRange(Q, "Hammer Q");
            DrawOption.AddRange(W, "Hammer W");
            DrawOption.AddRange(E, "Hammer E");
            DrawOption.AddFarm();
            DrawOption.AddDamageIndicatorToHero(true, true, true, false, false);
            DrawOption.AddBool("DrawCoolDown", "Draw Spell CoolDown");

            Game.OnUpdate         += OnUpdate;
            Orbwalker.PostAttack  += PostAttack;
            GameObject.OnCreate   += OnCreate;
            Gapcloser.OnGapcloser += OnGapcloser;
            Render.OnRender       += OnRender;
        }