Exemplo n.º 1
0
        protected override void BeforeAttack(xSaliceWalker.BeforeAttackEventArgs args)
        {
            if (!menu.Item("disableAA", true).GetValue<bool>() || !(args.Target is Obj_AI_Hero))
                return;

            if (Q.IsReady() || W.IsReady() || (E.IsReady() && _poisonTargets.Any(x => x.NetworkId == args.Target.NetworkId)))
                args.Process = false;
            else
                args.Process = true;
        }
Exemplo n.º 2
0
        protected override void BeforeAttack(xSaliceWalker.BeforeAttackEventArgs args)
        {
            if (!menu.Item("ComboActive", true).GetValue<KeyBind>().Active &&
                !menu.Item("HarassActive", true).GetValue<KeyBind>().Active)
                return;

            if (args.Target.Type == GameObjectType.obj_AI_Hero)
            {
                args.Process = !(Q.IsReady() && Player.Mana >= QSpell.ManaCost);
            }
            else
                args.Process = true;
        }
Exemplo n.º 3
0
 protected virtual void BeforeAttack(xSaliceWalker.BeforeAttackEventArgs args)
 {
     //for champ use
 }
Exemplo n.º 4
0
 private void BeforeAttackEvent(xSaliceWalker.BeforeAttackEventArgs args)
 {
     BeforeAttack(args);
 }
Exemplo n.º 5
0
        protected override void BeforeAttack(xSaliceWalker.BeforeAttackEventArgs args)
        {
            if (!menu.Item("disableAA", true).GetValue<bool>() )
                return;

            if ((args.Target is Obj_AI_Minion) && menu.Item("HarassActive", true).GetValue<KeyBind>().Active)
                args.Process = false;
        }