Exemplo n.º 1
0
        private static void Game_OnGameUpdate(EventArgs args)
        {
            // Permanent checks for something like killsteal
            ActiveModes.OnPermaActive();

            if (SpellQueue.IsReady)
            {
                if (Config.KeyLinks["comboActive"].Value.Active)
                {
                    ActiveModes.OnCombo();
                }
                if (Config.KeyLinks["harassActive"].Value.Active)
                {
                    ActiveModes.OnHarass();
                }
                if (Config.KeyLinks["waveActive"].Value.Active)
                {
                    ActiveModes.OnWaveClear();
                }
                if (Config.KeyLinks["jungleActive"].Value.Active)
                {
                    ActiveModes.OnJungleClear();
                }
            }
            if (Config.KeyLinks["fleeActive"].Value.Active)
            {
                ActiveModes.OnFlee();
            }
            else
            {
                ActiveModes.fleeTargetPosition = null;
            }
        }
Exemplo n.º 2
0
 public static void Orbwalking_AfterAttack(AttackableUnit unit, AttackableUnit target)
 {
     if (unit.IsMe && target is Obj_AI_Base)
     {
         if (Config.KeyLinks["comboActive"].Value.Active)
         {
             ActiveModes.OnCombo(true, target as Obj_AI_Base);
         }
     }
 }