コード例 #1
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q);

            W = new Spell(SpellSlot.W, 1225f);
            W.SetSkillshot(0.25f, 60f, 2000f, true, true, SkillshotType.Cone);

            E = new Spell(SpellSlot.E, 5000f);
            E.SetSkillshot(0.25f, 300f, 1400f, false, false, SkillshotType.Line);

            R = new Spell(SpellSlot.R, 2000f);
            R.SetSkillshot(0.25f, 130f, 1550f, true, true, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboSaveMana", "Use Q |Save Mana");
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddR();
            ComboOption.AddBool("ComboRSolo", "Use R |Solo Mode");
            ComboOption.AddBool("ComboRTeam", "Use R |Team Fight");

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

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddW();
            LaneClearOption.AddSlider("LaneClearWCount", "Use W |Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

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

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

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddR();
            MiscOption.AddKey("R", "SemiR", "Semi-manual R Key", Keys.T, KeyBindType.Press);
            MiscOption.AddBool("R", "AutoR", "Auto R| Anti Gapcloser");

            DrawOption.AddMenu();
            DrawOption.AddW(W);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(false, true, false, true, true);

            Tick.OnTick        += OnUpdate;
            Orbwalker.OnAction += OnAction;
            //Gapcloser.OnGapcloser += OnGapcloser;
        }
コード例 #2
0
ファイル: Xayah.cs プロジェクト: emrah2324/EnsoulSharp
        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;
        }
コード例 #3
0
ファイル: Ashe.cs プロジェクト: GermanKingYT/HesaPrivate
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q);
            W = new Spell(SpellSlot.W, 1255f);
            E = new Spell(SpellSlot.E, 5000f);
            R = new Spell(SpellSlot.R, 2000f);

            W.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotCone);
            E.SetSkillshot(0.25f, 300f, 1400f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.25f, 130f, 1600f, true, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboSaveMana", "Save Mana to Cast Q");
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddR();

            HarassOption.AddW();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddW();
            LaneClearOption.AddSlider("LaneClearWCount", "Use W| Min Hit Count >= x", 3, 1, 5);
            LaneClearOption.AddMana();

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

            LastHitOption.AddNothing();

            FleeOption.AddMove();

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

            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto Cast Ult");
            //MiscOption.AddBool("Interrupt", "Interrupt Danger Spells");
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);
            MiscOption.AddBool("AntiGapCloser", "Anti GapCloser");
            MiscOption.AddSlider("AntiGapCloserHp", "AntiGapCloser |When Player HealthPercent <= x%", 30);
            MiscOption.AddGapcloserTargetList();

            DrawOption.AddW();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate         += OnUpdate;
            Orbwalker.AfterAttack += AfterAttack;
            //Interrupt.
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
        }
コード例 #4
0
ファイル: Sivir.cs プロジェクト: aleks9829/AimTec-9
        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;
        }
コード例 #5
0
ファイル: Sivir.cs プロジェクト: GermanKingYT/HesaPrivate
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 1200f)
            {
                MinHitChance = HitChance.VeryHigh
            };
            W = new Spell(SpellSlot.W);
            E = new Spell(SpellSlot.E);
            R = new Spell(SpellSlot.R);

            Q.SetSkillshot(0.25f, 90f, 1350f, false, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddR();
            ComboOption.AddSlider("ComboRCount", "Use R| Min Enemies Counts >= x", 3, 1, 5);

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

            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q| Min Hit Counts >= x", 3, 1, 5);
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

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

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();

            MiscOption.AddQ();
            MiscOption.AddBool("AutoQ", "Auto Q| CC");
            MiscOption.AddE();
            MiscOption.AddBool("AutoE", "Auto E| Shield Spell");
            MiscOption.AddSlider("AutoEHp", "Auto E| Player HealthPercent <= x%", 80);
            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto R", false);

            DrawOption.AddQ();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.AfterAttack          += AfterAttack;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
        }
コード例 #6
0
ファイル: Lucian.cs プロジェクト: thienha1/SharpShooter
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 650f)
            {
                Delay = 0.35f
            };

            Q2 = new Spell(SpellSlot.Q, 900f);
            Q2.SetSkillshot(0.35f, 25f, int.MaxValue, false, true, SkillshotType.Line);

            W = new Spell(SpellSlot.W, 1000f);
            W.SetSkillshot(0.30f, 80f, 1600f, true, true, SkillshotType.Line);

            W2 = new Spell(SpellSlot.W, 1000f);
            W2.SetSkillshot(0.30f, 80f, 1600f, false, true, SkillshotType.Line);

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

            R = new Spell(SpellSlot.R, 1200f);
            R.SetSkillshot(0.10f, 110f, 2500f, true, true, SkillshotType.Line);

            R2 = new Spell(SpellSlot.R, 1200f);
            R2.SetSkillshot(0.10f, 110f, 2500f, false, true, SkillshotType.Line);


            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboQExtend", "Use Q Extend", false);
            ComboOption.AddW();
            ComboOption.AddBool("ComboWLogic", "Use W |Logic Cast");
            ComboOption.AddBool("ComboEDash", "Use E Dash to target");
            ComboOption.AddBool("ComboEReset", "Use E Reset Auto Attack");
            ComboOption.AddBool("ComboESafe", "Use E| Safe Check");
            ComboOption.AddBool("ComboEWall", "Use E| Dont Dash to Wall");
            ComboOption.AddBool("ComboEShort", "Use E| Enabled the Short E Logic");
            ComboOption.AddR();

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddBool("HarassQExtend", "Use Q Extend");
            HarassOption.AddW(false);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

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

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

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

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddR();
            MiscOption.AddKey("R", "SemiRKey", "Semi-manual R Key", Keys.T, KeyBindType.Press);

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

            Tick.OnTick += OnUpdate;
            AIBaseClient.OnPlayAnimation    += OnPlayAnimation;
            Spellbook.OnCastSpell           += OnCastSpell;
            AIBaseClient.OnProcessSpellCast += OnProcessSpellCast;
            Orbwalker.OnAction += OnAction;
            //Gapcloser.OnGapcloser += OnGapcloser;
        }
コード例 #7
0
ファイル: Ezreal.cs プロジェクト: GermanKingYT/HesaPrivate
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 1150f)
            {
                MinHitChance = HitChance.VeryHigh
            };
            W  = new Spell(SpellSlot.W, 950f);
            E  = new Spell(SpellSlot.E, 475f);
            R  = new Spell(SpellSlot.R, 10000f);
            EQ = new Spell(SpellSlot.Q, 1150f + 475f);

            EQ.SetSkillshot(0.25f + 0.65f, 60f, 2000f, true, SkillshotType.SkillshotLine);
            Q.SetSkillshot(0.25f, 60f, 2000f, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.25f, 80f, 1600f, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(1.1f, 160f, 2000f, false, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboECheck", "Use E | Safe Check");
            ComboOption.AddBool("ComboEWall", "Use E | Wall Check");
            ComboOption.AddR();

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

            LaneClearOption.AddQ();
            LaneClearOption.AddBool("LaneClearQLH", "Use Q| Only LastHit", false);
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

            JungleClearOption.AddQ();
            JungleClearOption.AddMana();

            LastHitOption.AddQ();
            LastHitOption.AddMana();

            FleeOption.AddMove();

            KillStealOption.AddQ();
            KillStealOption.AddW();

            MiscOption.AddE();
            MiscOption.AddBool("Gapcloser", "Anti GapCloser");
            MiscOption.AddBool("AntiMelee", "Anti Melee");
            MiscOption.AddSlider("AntiMeleeHp", "Anti Melee|When Player HealthPercent <= x%", 50);
            MiscOption.AddR();
            MiscOption.AddBool("AutoR", "Auto R?");
            MiscOption.AddSlider("RRange", "Use R |Min Cast Range >= x", 800, 0, 1500);
            MiscOption.AddSlider("RMaxRange", "Use R |Max Cast Range >= x", 3000, 1500, 5000);
            MiscOption.AddSlider("RMinCast", "Use R| Min Hit Enemies >= x (6 = off)", 2, 1, 6);
            MiscOption.AddKey("SemiR", "Semi-manual R Key", SharpDX.DirectInput.Key.T);
            MiscOption.AddSetting("Mode");
            MiscOption.AddList("PlayMode", "Play Mode: ", new[] { "AD", "AP" });

            DrawOption.AddQ();
            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.BeforeAttack         += BeforeAttack;
            Orbwalker.AfterAttack          += AfterAttack;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
        }
コード例 #8
0
ファイル: TwistedFate.cs プロジェクト: emrah2324/EnsoulSharp
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 1450f);
            Q.SetSkillshot(0.25f, 40f, 1000f, false, false, SkillshotType.Line);

            W = new Spell(SpellSlot.W, 850f);

            E = new Spell(SpellSlot.E);

            R = new Spell(SpellSlot.R, 5500f);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboSaveMana", "Use Q| Save Mana To Cast W");
            ComboOption.AddW();
            ComboOption.AddList("ComboWSmartKS", "Use W| Smart Card KillAble", new[] { "First Card", "Blue Card", "Off" });
            ComboOption.AddBool("ComboDisableAA", "Auto Disable Attack| When Selecting");

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

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddSlider("LaneClearQCount", "Use Q|Min Hit Count >= x", 4, 1, 10);
            LaneClearOption.AddW();
            LaneClearOption.AddBool("LaneClearWBlue", "Use W| Blue Card");
            LaneClearOption.AddBool("LaneClearWRed", "Use W| Red Card");
            LaneClearOption.AddMana();

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

            KillStealOption.AddMenu();
            KillStealOption.AddQ();

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddSubMenu("CardSelect", "Card Select Settings");
            MiscOption.AddKey("CardSelect", "CardSelectYellow", "Gold Card", Keys.W, KeyBindType.Press);
            MiscOption.AddKey("CardSelect", "CardSelectBlue", "Blue Card", Keys.E, KeyBindType.Press);
            MiscOption.AddKey("CardSelect", "CardSelectRed", "Red Card", Keys.T, KeyBindType.Press);
            MiscOption.AddBool("CardSelect", "HumanizerSelect", "Humanizer Select Card", false);
            MiscOption.AddSlider("CardSelect", "HumanizerSelectMin", "Humanizer Select Card Min Delay", 0, 0, 2000);
            MiscOption.AddSlider("CardSelect", "HumanizerSelectMax", "Humanizer Select Card Max Delay", 2000, 0, 3500);
            MiscOption.AddQ();
            MiscOption.AddBool("Q", "AutoQImmobile", "Auto Q|Enemy Cant Movement");
            MiscOption.AddKey("Q", "SemiQ", "Semi-manual Q Key", Keys.Q, KeyBindType.Press);
            MiscOption.AddR();
            MiscOption.AddBool("R", "UltYellow", "Auto Gold Card| In Ult");

            DrawOption.AddMenu();
            DrawOption.AddQ(Q);
            DrawOption.AddR(R);
            DrawOption.AddDamageIndicatorToHero(true, true, true, false, true);

            Game.OnTick += OnUpdate;
            //Gapcloser.OnGapcloser += OnGapcloser;
            AIBaseClient.OnProcessSpellCast += OnProcessSpellCast;
            Orbwalker.OnAction += OnAction;
        }
コード例 #9
0
ファイル: Ezreal.cs プロジェクト: tuantee01/EnsoulSharp
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 1150f);
            Q.SetSkillshot(0.25f, 60f, 2000f, true, false, SkillshotType.Line);

            W = new Spell(SpellSlot.W, 950f);
            W.SetSkillshot(0.25f, 60f, 1200f, false, false, SkillshotType.Line);

            E = new Spell(SpellSlot.E, 475f)
            {
                Delay = 0.65f
            };

            R = new Spell(SpellSlot.R, 5000f);
            R.SetSkillshot(1.05f, 160f, 2200f, false, false, SkillshotType.Line);

            EQ = new Spell(SpellSlot.Q, 1625f);
            EQ.SetSkillshot(0.90f, 60f, 1350f, true, false, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddW();
            ComboOption.AddE();
            ComboOption.AddBool("ComboECheck", "Use E |Safe Check");
            ComboOption.AddBool("ComboEWall", "Use E |Wall Check");
            ComboOption.AddR();

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

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddBool("LaneClearQLH", "Use Q| Only LastHit", false);
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

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

            LastHitOption.AddMenu();
            LastHitOption.AddQ();
            LastHitOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddR();
            MiscOption.AddBool("R", "AutoR", "Auto R");
            MiscOption.AddSlider("R", "RRange", "Auto R |Min Cast Range >= x", 800, 0, 1500);
            MiscOption.AddSlider("R", "RMaxRange", "Auto R |Max Cast Range >= x", 3000, 1500, 5000);
            MiscOption.AddKey("R", "SemiR", "Semi-manual R Key", Keys.T, KeyBindType.Press);

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

            Game.OnUpdate += OnUpdate;
            //Gapcloser.OnGapcloser += OnGapcloser;
            Orbwalker.OnAction += OnAction;
        }
コード例 #10
0
        private static void Initializer()
        {
            Q = new Spell(SpellSlot.Q, 600f);

            W = new Spell(SpellSlot.W, 2500f);
            W.SetSkillshot(0.75f, 40f, 5000f, false, false, SkillshotType.Line);

            E = new Spell(SpellSlot.E, 750f);
            E.SetSkillshot(0.50f, 120f, 1600f, false, true, SkillshotType.Circle);

            R = new Spell(SpellSlot.R, 3500f);
            R.SetSkillshot(0.21f, 80f, 5000f, true, false, SkillshotType.Line);

            ComboOption.AddMenu();
            ComboOption.AddQ();
            ComboOption.AddBool("ComboQMinion", "Use Q| On Minion", false);
            ComboOption.AddW();
            ComboOption.AddBool("ComboWAA", "Use W| After Attack");
            ComboOption.AddBool("ComboWOnly", "Use W| Only Use to MarkTarget");
            ComboOption.AddE();
            ComboOption.AddR();

            HarassOption.AddMenu();
            HarassOption.AddQ();
            HarassOption.AddBool("HarassQMinion", "Use Q| On Minion");
            HarassOption.AddW();
            HarassOption.AddBool("HarassWOnly", "Use W| Only Use to MarkTarget");
            HarassOption.AddE();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddMenu();
            LaneClearOption.AddQ();
            LaneClearOption.AddW();
            LaneClearOption.AddMana();
            LaneClearOption.AddBool("LaneClearReload", "Use Spell Clear| Only Jhin Reloading");

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

            LastHitOption.AddMenu();
            LastHitOption.AddQ();
            LastHitOption.AddMana();

            KillStealOption.AddMenu();
            KillStealOption.AddQ();
            KillStealOption.AddW();
            KillStealOption.AddBool("KillStealWInAttackRange", "Use W| Target In Attack Range");

            //GapcloserOption.AddMenu();

            MiscOption.AddMenu();
            MiscOption.AddBasic();
            MiscOption.AddW();
            MiscOption.AddBool("W", "AutoW", "Auto W| CC");
            MiscOption.AddE();
            MiscOption.AddBool("E", "AutoE", "Auto E| CC");
            MiscOption.AddR();
            MiscOption.AddBool("R", "rMenuAuto", "Auto R");
            MiscOption.AddKey("R", "rMenuSemi", "Semi-manual R Key", Keys.T, KeyBindType.Press);
            MiscOption.AddBool("R", "rMenuCheck", "Use R| Check is Safe?");
            MiscOption.AddSlider("R", "rMenuMin", "Use R| Min Range >= x", 1000, 500, 2500);
            MiscOption.AddSlider("R", "rMenuMax", "Use R| Max Range <= x", 3000, 1500, 3500);
            MiscOption.AddSlider("R", "rMenuKill", "Use R| Min Shot Can Kill >= x (0 = off)", 3, 0, 4);

            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;
            AIBaseClient.OnProcessSpellCast += OnProcessSpellCast;
            //Gapcloser.OnGapcloser += OnGapcloser;
        }
コード例 #11
0
ファイル: Jhin.cs プロジェクト: GermanKingYT/HesaPrivate
        internal static void Init()
        {
            Q = new Spell(SpellSlot.Q, 600f);
            W = new Spell(SpellSlot.W, 2500f);
            E = new Spell(SpellSlot.E, 750f);
            R = new Spell(SpellSlot.R, 3500f);

            W.SetSkillshot(0.75f, 40, float.MaxValue, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.5f, 120, 1600, false, SkillshotType.SkillshotCircle);
            R.SetSkillshot(0.21f, 80, 5000, false, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboQMinion", "Use Q| On Minion", false);
            ComboOption.AddW();
            ComboOption.AddBool("ComboWAA", "Use W| After Attack");
            ComboOption.AddBool("ComboWOnly", "Use W| Only Use to MarkTarget");
            ComboOption.AddE();
            ComboOption.AddR();

            HarassOption.AddQ();
            HarassOption.AddBool("HarassQMinion", "Use Q| On Minion");
            HarassOption.AddW();
            HarassOption.AddBool("HarassWOnly", "Use W| Only Use to MarkTarget");
            HarassOption.AddE();
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddW();
            LaneClearOption.AddMana();

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

            LastHitOption.AddQ();
            LastHitOption.AddMana();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();
            KillStealOption.AddW();
            KillStealOption.AddBool("KillStealWInAttackRange", "Use W| Target In Attack Range");

            MiscOption.AddW();
            MiscOption.AddBool("AutoW", "Auto W| When target Cant Move");
            MiscOption.AddBool("GapW", "Anti GapCloser W| When target HavePassive");
            MiscOption.AddE();
            MiscOption.AddBool("AutoE", "Auto E| When target Cant Move");
            MiscOption.AddBool("GapE", "Anti GapCloser E");
            MiscOption.AddR();
            MiscOption.AddBool("rMenuAuto", "Auto R?");
            MiscOption.AddKey("rMenuSemi", "Semi R Key(One Press One Shot)", SharpDX.DirectInput.Key.T);
            MiscOption.AddBool("rMenuCheck", "Use R| Check is Safe?");
            MiscOption.AddSlider("rMenuMin", "Use R| Min Range >= x", 1000, 500, 2500);
            MiscOption.AddSlider("rMenuMax", "Use R| Man Range <= x", 3000, 1500, 3500);
            MiscOption.AddSlider("rMenuKill", "Use R| Min Shot Can Kill >= x", 3, 1, 4);
            MiscOption.AddSetting("Notification");
            MiscOption.AddBool("PingKill", "Auto Ping Killable Target");
            MiscOption.AddBool("NormalPingKill", "Normal Ping Notification", false);
            MiscOption.AddBool("NotificationKill", "Notification Show Killable Target");

            DrawOption.AddQ();
            DrawOption.AddW();
            DrawOption.AddE();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate                  += OnUpdate;
            Orbwalker.AfterAttack          += AfterAttack;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
        }
コード例 #12
0
        internal static void Init()
        {
            Q       = new Spell(SpellSlot.Q, 650f);
            QExtend = new Spell(SpellSlot.Q, 900f);
            W       = new Spell(SpellSlot.W, 1000f, TargetSelector.DamageType.Magical)
            {
                MinHitChance = HitChance.VeryHigh
            };
            W1 = new Spell(SpellSlot.W, 1000f, TargetSelector.DamageType.Magical)
            {
                MinHitChance = HitChance.VeryHigh
            };
            E = new Spell(SpellSlot.E, 425f);
            R = new Spell(SpellSlot.R, 1200f)
            {
                MinHitChance = HitChance.High
            };
            R1 = new Spell(SpellSlot.R, 1200f)
            {
                MinHitChance = HitChance.High
            };

            Q.SetTargetted(0.25f, float.MaxValue);
            QExtend.SetSkillshot(0.35f, 25f, float.MaxValue, false, SkillshotType.SkillshotLine);
            W.SetSkillshot(0.3f, 80f, 1600f, true, SkillshotType.SkillshotLine);
            W1.SetSkillshot(0.3f, 80f, 1600f, false, SkillshotType.SkillshotLine);
            E.SetSkillshot(0.25f, 1f, float.MaxValue, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(0.1f, 110f, 2800f, true, SkillshotType.SkillshotLine);
            R1.SetSkillshot(0.1f, 110f, 2800f, false, SkillshotType.SkillshotLine);

            ComboOption.AddQ();
            ComboOption.AddBool("ComboQExtend", "Use Q Extend");
            ComboOption.AddW();
            ComboOption.AddBool("ComboWFast", "Use W| Fast Reset the Passive");
            ComboOption.AddE();
            ComboOption.AddBool("ComboEDash", "Use E| Dash to Target");
            ComboOption.AddBool("ComboEReset", "Use E| Reset Auto Attack");
            ComboOption.AddBool("ComboEShort", "Use E| Short E Reset Auto Attack");
            ComboOption.AddBool("ComboESafe", "Use E| Safe Check");
            ComboOption.AddR();

            HarassOption.AddQ();
            HarassOption.AddBool("HarassQExtend", "Use Q Extend");
            HarassOption.AddW(false);
            HarassOption.AddMana();
            HarassOption.AddTargetList();

            LaneClearOption.AddQ();
            LaneClearOption.AddW();
            LaneClearOption.AddE();
            LaneClearOption.AddMana();

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

            LastHitOption.AddNothing();

            FleeOption.AddMove(false);

            KillStealOption.AddQ();
            KillStealOption.AddW();

            MiscOption.AddE();
            MiscOption.AddBool("EnabledAnti", "Use E| Anti Gapcloser");
            MiscOption.AddSlider("AntiGapCloserHp", "Use E| Player HealthPercent <= x%", 45);
            MiscOption.AddBool("EnabledAntiMelee", "Use E| Anti Melee");
            MiscOption.AddSlider("AntiMeleeHp", "Use E| Player HealthPercent <= x%", 35);
            MiscOption.AddR();
            MiscOption.AddKey("SemiR", "Semi Cast R Key", Key.T);

            DrawOption.AddQ();
            DrawOption.AddQExtend();
            DrawOption.AddW();
            DrawOption.AddR();
            DrawOption.AddFarm();
            DrawOption.AddEvent();

            Game.OnUpdate += OnUpdate;
            AntiGapcloser.OnEnemyGapcloser += OnEnemyGapcloser;
            Obj_AI_Base.OnPlayAnimation    += OnPlayAnimation;
            Orbwalker.AfterAttack          += AfterAttack;
            Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            SpellBook.OnCastSpell          += OnCastSpell;
        }