Esempio n. 1
0
 public static void KS()
 {
     foreach (var target in ObjectManager.Get <AIHeroClient>().Where(a => a.IsValidTarget(1000, true)))
     {
         MySpells.KS(target);
     }
 }
Esempio n. 2
0
        public static void Combo()
        {
            if (MyMenu.IsChecked("Combo.R"))
            {
                MySpells.Rlogic();
            }
            if (MyMenu.IsChecked("Combo.E"))
            {
                MySpells.Elogic();
            }
            if (MyMenu.IsChecked("Combo.Q"))
            {
                if (MySpells.Qlogic(0, true))
                {
                    return;
                }
            }
            if (MyMenu.IsChecked("Combo.W"))
            {
                MySpells.Wlogic();
            }

            if (MySpells.Ignite != null && MyMenu.IsChecked("Combo.Ignite"))
            {
                MySpells.IgniteLogic();
            }
        }
Esempio n. 3
0
 private static void Orbwalker_AfterAttack(AttackableUnit unit, AttackableUnit target)
 {
     if (!unit.IsMe)
     {
         return;
     }
     MySpells.autoE(unit, (Obj_AI_Base)target);
 }
Esempio n. 4
0
 public static void LaneClear()
 {
     if (LastHit())
     {
         return;
     }
     if (MyMenu.IsChecked("LaneClear.Q"))
     {
         MySpells.Qlogic(MyMenu.GetValue("LaneClear.QMana"));
     }
     if (MyMenu.IsChecked("LaneClear.E") && MyMenu.GetValue("LaneClear.EMana") < Cassio.Player.ManaPercent)
     {
         MySpells.Elogic(false, MyMenu.IsChecked("LaneClear.Ep"), true);
     }
 }
Esempio n. 5
0
        internal static void Init()
        {
            Player = ObjectManager.Me;
            if (Player.ChampionName != "Cassiopeia")
            {
                return;
            }
            MySpells.Init();
            MyMenu.CreateMenus();

            Game.OnTick           += Game_OnTick;
            Orbwalker.AfterAttack += Orbwalker_AfterAttack;

            Chat.Print("Azeryo'Cassio Loaded");
        }
Esempio n. 6
0
        public static void Harass()
        {
            if (LastHit())
            {
                return;
            }

            if (MyMenu.IsChecked("Harass.Q"))
            {
                MySpells.Qlogic(MyMenu.GetValue("Harass.QMana"), true);
            }
            if (MyMenu.IsChecked("Harass.E"))
            {
                MySpells.Elogic(true, true);
            }
        }