Exemplo n.º 1
0
 public Other()
 {
     InitMenu();
     ////Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Underrated AIO Common</font>");
     Jungle.setSmiteSlot();
     Game.OnUpdate += Game_OnGameUpdate;
     Console.WriteLine(ObjectManager.Player.ChampionName);
 }
Exemplo n.º 2
0
        private void Game_OnGameUpdate(EventArgs args)
        {
            bool minionBlock = false;

            foreach (Obj_AI_Minion minion in MinionManager.GetMinions(player.Position, player.AttackRange + 55, MinionTypes.All, MinionTeam.Enemy, MinionOrderTypes.None))
            {
                if (HealthPrediction.GetHealthPrediction(minion, 3000) <= Damage.GetAutoAttackDamage(player, minion, false))
                {
                    minionBlock = true;
                }
            }
            if (System.Environment.TickCount - lastE > 4100)
            {
                lastE = 0;
            }
            if (config.Item("useSmite").GetValue <bool>() && Jungle.smiteSlot != SpellSlot.Unknown)
            {
                var  target     = Jungle.GetNearest(player.Position);
                bool smiteReady = ObjectManager.Player.Spellbook.CanUseSpell(Jungle.smiteSlot) == SpellState.Ready;

                if (target != null)
                {
                    Jungle.setSmiteSlot();
                    if (Jungle.smite.CanCast(target) && smiteReady &&
                        player.Distance(target.Position) <= Jungle.smite.Range && Jungle.smiteDamage() >= target.Health)
                    {
                        Jungle.CastSmite(target);
                    }
                }
            }
            switch (orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                if (!minionBlock)
                {
                    Harass();
                }
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                Clear();
                break;

            case Orbwalking.OrbwalkingMode.LastHit:
                break;

            default:
                if (!minionBlock)
                {
                }
                break;
            }
        }
Exemplo n.º 3
0
 public Volibear()
 {
     InitVolibear();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Volibear</font>");
     Drawing.OnDraw += Game_OnDraw;
     Game.OnUpdate  += Game_OnGameUpdate;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 4
0
 public Volibear()
 {
     InitVolibear();
     InitMenu();
     //Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Volibear</font>");
     Drawing.OnDraw += Game_OnDraw;
     Game.OnUpdate  += Game_OnGameUpdate;
     Jungle.setSmiteSlot();
     HpBarDamageIndicator.DamageToUnit = ComboDamage;
 }
Exemplo n.º 5
0
 public Garen()
 {
     InitGaren();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Garen</font>");
     Game.OnUpdate          += Game_OnGameUpdate;
     Orbwalking.AfterAttack += AfterAttack;
     Drawing.OnDraw         += Game_OnDraw;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 6
0
 public Hecarim()
 {
     InitHecarim();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Hecarim</font>");
     Game.OnUpdate  += Game_OnUpdate;
     Drawing.OnDraw += Drawing_OnDraw;
     Jungle.setSmiteSlot();
     Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
 }
Exemplo n.º 7
0
 public Evelynn()
 {
     InitEvelynn();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Evelynn</font>");
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Game_OnDraw;
     Jungle.setSmiteSlot();
     Orbwalking.OnAttack += Orbwalking_AfterAttack;
 }
Exemplo n.º 8
0
 public Renekton()
 {
     InitRenekton();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Renekton</font>");
     Game.OnUpdate           += Game_OnGameUpdate;
     Orbwalking.BeforeAttack += beforeAttack;
     Orbwalking.AfterAttack  += afterAttack;
     Drawing.OnDraw          += Game_OnDraw;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 9
0
        public Ivern()
        {
            InitIvern();
            InitMenu();
            //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Ivern</font>");
            Game.OnUpdate  += Game_OnGameUpdate;
            Drawing.OnDraw += Game_OnDraw;
            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;

            Jungle.setSmiteSlot();
        }
Exemplo n.º 10
0
 public Poppy()
 {
     Initpoppy();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Poppy</font>");
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Game_OnDraw;
     AntiGapcloser.OnEnemyGapcloser     += OnEnemyGapcloser;
     Interrupter2.OnInterruptableTarget += OnInterruptableTarget;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 11
0
        private static void Game_OnGameUpdate(EventArgs args)
        {
            bool minionBlock = false;

            foreach (Obj_AI_Minion minion in MinionManager.GetMinions(me.Position, me.AttackRange, MinionTypes.All, MinionTeam.Enemy, MinionOrderTypes.None))
            {
                if (HealthPrediction.GetHealthPrediction(minion, 3000) <= Damage.GetAutoAttackDamage(me, minion, false))
                {
                    minionBlock = true;
                }
            }
            switch (orbwalker.ActiveMode)
            {
            case Orbwalking.OrbwalkingMode.Combo:
                Combo();
                break;

            case Orbwalking.OrbwalkingMode.Mixed:
                //if (!minionBlock) Harass();
                break;

            case Orbwalking.OrbwalkingMode.LaneClear:
                if (!minionBlock)
                {
                    Clear();
                }
                break;

            case Orbwalking.OrbwalkingMode.LastHit:
                break;

            default:
                break;
            }

            if (config.Item("useSmite").GetValue <bool>() && Jungle.smiteSlot != SpellSlot.Unknown)
            {
                Jungle.setSmiteSlot();
                var  target     = Jungle.GetNearest(me.Position);
                bool smiteReady = ObjectManager.Player.Spellbook.CanUseSpell(Jungle.smiteSlot) == SpellState.Ready;
                if (target != null)
                {
                    if (Jungle.smite.CanCast(target) && smiteReady && me.Distance(target.Position) <= Jungle.smite.Range && Jungle.smiteDamage() >= target.Health)
                    {
                        Jungle.CastSmite(target);
                    }
                }
            }

            if (config.Item("manualR").GetValue <KeyBind>().Active&& R.IsReady())
            {
                CastR();
            }
        }
Exemplo n.º 12
0
 public Evelynn()
 {
     InitEvelynn();
     InitMenu();
     //Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Evelynn</font>");
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Game_OnDraw;
     Jungle.setSmiteSlot();
     Orbwalking.OnAttack += Orbwalking_AfterAttack;
     HpBarDamageIndicator.DamageToUnit = ComboDamage;
 }
Exemplo n.º 13
0
 public Garen()
 {
     InitGaren();
     InitMenu();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Garen</font>");
     Game.OnUpdate          += Game_OnGameUpdate;
     Orbwalking.AfterAttack += AfterAttack;
     Drawing.OnDraw         += Game_OnDraw;
     Jungle.setSmiteSlot();
     Utility.HpBarDamageIndicator.DamageToUnit = ComboDamage;
 }
Exemplo n.º 14
0
 public Hecarim()
 {
     InitHecarim();
     InitMenu();
     //Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Hecarim</font>");
     Game.OnUpdate  += Game_OnUpdate;
     Drawing.OnDraw += Drawing_OnDraw;
     Jungle.setSmiteSlot();
     Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
     HpBarDamageIndicator.DamageToUnit   = ComboDamage;
 }
Exemplo n.º 15
0
 public Ivern()
 {
     InitIvern();
     InitMenu();
     //Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Ivern</font>");
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Game_OnDraw;
     Obj_AI_Base.OnProcessSpellCast   += Obj_AI_Base_OnProcessSpellCast;
     HpBarDamageIndicator.DamageToUnit = ComboDamage;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 16
0
        //public static AutoLeveler autoLeveler;

        public Renekton()
        {
            InitRenekton();
            InitMenu();
            //Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Renekton</font>");
            Game.OnUpdate           += Game_OnGameUpdate;
            Orbwalking.BeforeAttack += beforeAttack;
            Orbwalking.AfterAttack  += afterAttack;
            Drawing.OnDraw          += Game_OnDraw;
            Jungle.setSmiteSlot();
            HpBarDamageIndicator.DamageToUnit = ComboDamage;
        }
Exemplo n.º 17
0
        //public static AutoLeveler autoLeveler;

        public Poppy()
        {
            Initpoppy();
            InitMenu();
            //Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Poppy</font>");
            Game.OnTick    += Game_OnGameUpdate;
            Drawing.OnDraw += Game_OnDraw;
            AntiGapcloser.OnEnemyGapcloser     += OnEnemyGapcloser;
            Interrupter2.OnInterruptableTarget += OnInterruptableTarget;
            Jungle.setSmiteSlot();
            //HpBarDamageIndicator.DamageToUnit = ComboDamage;
        }
Exemplo n.º 18
0
 public Sejuani()
 {
     InitSejuani();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Sejuani</font>");
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Game_OnDraw;
     AntiGapcloser.OnEnemyGapcloser     += OnEnemyGapcloser;
     Interrupter2.OnInterruptableTarget += OnPossibleToInterrupt;
     Orbwalking.AfterAttack             += AfterAttack;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 19
0
 public Yorick()
 {
     InitYorick();
     InitMenu();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Yorick</font>");
     Jungle.setSmiteSlot();
     Game.OnUpdate           += Game_OnGameUpdate;
     Orbwalking.AfterAttack  += AfterAttack;
     Orbwalking.BeforeAttack += beforeAttack;
     Drawing.OnDraw          += Game_OnDraw;
     Utility.HpBarDamageIndicator.DamageToUnit = ComboDamage;
     Obj_AI_Base.OnProcessSpellCast           += Obj_AI_Base_OnProcessSpellCast;
 }
Exemplo n.º 20
0
 public Evelynn()
 {
     if (player.BaseSkinName != "Evelynn")
     {
         return;
     }
     InitMenu();
     InitEvelynn();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Evelynn</font>");
     Game.OnGameUpdate += Game_OnGameUpdate;
     Drawing.OnDraw    += Game_OnDraw;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 21
0
 public Shen()
 {
     InitShen();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Shen</font>");
     Game.OnUpdate  += Game_OnGameUpdate;
     Drawing.OnDraw += Game_OnDraw;
     AntiGapcloser.OnEnemyGapcloser     += OnEnemyGapcloser;
     Interrupter2.OnInterruptableTarget += OnPossibleToInterrupt;
     Obj_AI_Base.OnDamage           += Obj_AI_Base_OnDamage;
     Obj_AI_Base.OnProcessSpellCast += Game_ProcessSpell;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 22
0
 public Poppy()
 {
     Initpoppy();
     InitMenu();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Poppy</font>");
     Game.OnUpdate                      += Game_OnGameUpdate;
     Drawing.OnDraw                     += Game_OnDraw;
     Orbwalking.AfterAttack             += AfterAttack;
     Orbwalking.BeforeAttack            += Orbwalking_BeforeAttack;
     AntiGapcloser.OnEnemyGapcloser     += OnEnemyGapcloser;
     Interrupter2.OnInterruptableTarget += OnInterruptableTarget;
     Jungle.setSmiteSlot();
     Utility.HpBarDamageIndicator.DamageToUnit = ComboDamage;
 }
Exemplo n.º 23
0
 public Renekton()
 {
     if (player.BaseSkinName != "Renekton")
     {
         return;
     }
     InitMenu();
     InitRenekton();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Renekton</font>");
     Game.OnGameUpdate       += Game_OnGameUpdate;
     Orbwalking.BeforeAttack += beforeAttack;
     Drawing.OnDraw          += Game_OnDraw;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 24
0
 public Fiora()
 {
     InitFiora();
     InitMenu();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Fiora</font>");
     Game.OnUpdate                  += Game_OnGameUpdate;
     Drawing.OnDraw                 += Game_OnDraw;
     Orbwalking.AfterAttack         += AfterAttack;
     Obj_AI_Base.OnProcessSpellCast += Game_ProcessSpell;
     Jungle.setSmiteSlot();
     Utility.HpBarDamageIndicator.DamageToUnit = ComboDamage;
     GameObject.OnCreate += GameObject_OnCreate;
     GameObject.OnDelete += GameObject_OnDelete;
 }
Exemplo n.º 25
0
        public Fiora()
        {
            InitFiora();
            InitMenu();
            //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Fiora</font>");
            Game.OnUpdate                  += Game_OnGameUpdate;
            Drawing.OnDraw                 += Game_OnDraw;
            Orbwalking.AfterAttack         += AfterAttack;
            Obj_AI_Base.OnProcessSpellCast += Game_ProcessSpell;
            Jungle.setSmiteSlot();

            GameObject.OnCreate += GameObject_OnCreate;
            GameObject.OnDelete += GameObject_OnDelete;
        }
Exemplo n.º 26
0
 public Garen()
 {
     if (player.BaseSkinName != "Garen")
     {
         return;
     }
     InitMenu();
     InitGaren();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Garen</font>");
     Game.OnGameUpdate      += Game_OnGameUpdate;
     Orbwalking.AfterAttack += AfterAttack;
     Drawing.OnDraw         += Game_OnDraw;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 27
0
 public Trundle()
 {
     InitTrundle();
     InitMenu();
     //Chat.Print("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Trundle</font>");
     Game.OnUpdate  += Game_OnUpdate;
     Drawing.OnDraw += Drawing_OnDraw;
     Jungle.setSmiteSlot();
     Obj_AI_Base.OnDamage               += Obj_AI_Base_OnDamage;
     Orbwalking.AfterAttack             += AfterAttack;
     Interrupter2.OnInterruptableTarget += Interrupter2_OnInterruptableTarget;
     HpBarDamageIndicator.DamageToUnit   = ComboDamage;
     Obj_AI_Base.OnProcessSpellCast     += Obj_AI_Base_OnProcessSpellCast;
 }
Exemplo n.º 28
0
 public Sejuani()
 {
     if (me.BaseSkinName != "Sejuani")
     {
         return;
     }
     InitMenu();
     InitSejuani();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Sejuani</font>");
     Game.OnGameUpdate += Game_OnGameUpdate;
     Drawing.OnDraw    += Game_OnDraw;
     AntiGapcloser.OnEnemyGapcloser    += OnEnemyGapcloser;
     Interrupter.OnPossibleToInterrupt += OnPossibleToInterrupt;
     Jungle.setSmiteSlot();
 }
Exemplo n.º 29
0
 public Yorick()
 {
     if (player.BaseSkinName != "Yorick")
     {
         return;
     }
     InitMenu();
     InitYorick();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Yorick</font>");
     Jungle.setSmiteSlot();
     Game.OnGameUpdate       += Game_OnGameUpdate;
     Orbwalking.AfterAttack  += AfterAttack;
     Orbwalking.BeforeAttack += beforeAttack;
     Drawing.OnDraw          += Game_OnDraw;
 }
Exemplo n.º 30
0
 public Fiora()
 {
     if (player.BaseSkinName != "Fiora")
     {
         return;
     }
     InitMenu();
     InitFiora();
     Game.PrintChat("<font color='#9933FF'>Soresu </font><font color='#FFFFFF'>- Fiora</font>");
     Game.OnGameUpdate              += Game_OnGameUpdate;
     Drawing.OnDraw                 += Game_OnDraw;
     Orbwalking.AfterAttack         += AfterAttack;
     Obj_AI_Base.OnProcessSpellCast += Game_ProcessSpell;
     Jungle.setSmiteSlot();
 }