예제 #1
0
        private static void Initializer()
        {
            Q = new Aimtec.SDK.Spell(SpellSlot.Q, 800f);
            Q.SetSkillshot(0.25f, 40f, 3000f, false, SkillshotType.Line);

            W = new Aimtec.SDK.Spell(SpellSlot.W, 900f);
            W.SetSkillshot(0.25f, 250f, 1000f, false, SkillshotType.Circle);

            E = new Aimtec.SDK.Spell(SpellSlot.E, 425f);

            R = new Aimtec.SDK.Spell(SpellSlot.R, 1050f);
            R.SetSkillshot(0.25f, 100f, 2100f, false, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboEReset", "Use E|Reset Attack");
            ComboOption.AddBool("ComboECheck", "Use E|Check Safe");
            ComboOption.AddSliderBool("ComboRCount", "Use R| When Min Hit Count >= x", 4, 1, 5);

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddSliderBool("LaneClearQCount", "Use Q| Min Hit Count >= x", 3, 1, 5, true);
            LaneClearOption.AddE();
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddW();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();

            DrawOption.AddMenu();
            DrawOption.AddQ(Q.Range);
            DrawOption.AddW(W.Range);
            DrawOption.AddE(E.Range);
            DrawOption.AddR(R.Range);
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate += OnUpdate;
            Obj_AI_Base.OnProcessAutoAttack += OnProcessAutoAttack;
            Orbwalker.PostAttack            += PostAttack;
            Gapcloser.OnGapcloser           += OnGapcloser;
            Obj_AI_Base.OnIssueOrder        += OnIssueOrder;
            SpellBook.OnCastSpell           += OnCastSpell;
        }
예제 #2
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 800f);
            Q.SetSkillshot(0.25f, 40f, 3000f, false, false, SkillshotType.Line);

            W = new Spell(SpellSlot.W, 900f);
            W.SetSkillshot(0.25f, 250f, 1000f, false, true, SkillshotType.Circle);

            E = new Spell(SpellSlot.E, 425f);

            R = new Spell(SpellSlot.R, 1050f);
            R.SetSkillshot(0.25f, 60f, 2100f, false, true, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboEReset", "Use E|Reset Attack");
            ComboOption.AddBool("ComboECheck", "Use E|Check Safe");
            ComboOption.AddSliderBool("ComboRCount", "Use R| When Min Hit Count >= x", 4, 1, 5);

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddSliderBool("LaneClearQCount", "Use Q| Min Hit Count >= x", 3, 1, 5, true);
            LaneClearOption.AddE();
            LaneClearOption.AddMana();

            JungleClearOption.AddMenu();
            JungleClearOption.AddQ();
            JungleClearOption.AddW();
            JungleClearOption.AddE();
            JungleClearOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddW();
            KillStealOption.AddR();
            KillStealOption.AddTargetList();

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddW(W);
            DrawOption.AddE(E);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(true, true, false, true, true);

            Tick.OnTick        += OnUpdate;
            Orbwalker.OnAction += OnAction;
            //Gapcloser.OnGapcloser += OnGapcloser;
            AIBaseClient.OnProcessSpellCast += OnBasicAttack;
            Spellbook.OnCastSpell           += OnCastSpell;
        }