Exemple #1
0
        private void OnLoad(EventArgs args)
        {
            if (Hero.ChampionName != "Syndra")
            {
                return;
            }
            Game.PrintChat("<b><font color =\"#FF33D6\">Dark Mage Loaded!</font></b>");
            var events = new GameEvents(this);

            GetMenu    = new SyndraMenu("Dark.Mage", this);
            GetSpells  = new Spells();
            drawDamage = new DrawDamage(this);
            _modes     = new SyndraModes();
            AntiGapcloser.OnEnemyGapcloser     += OnGapcloser;
            Interrupter2.OnInterruptableTarget += OnInterrupt;
            Game.OnUpdate += OnUpdate;
            LeagueSharp.Drawing.OnDraw += Ondraw;
        }
Exemple #2
0
        /* private void OnInterrupt(AIHeroClient sender, Interrupter2.InterruptableTargetEventArgs args)
         * {
         * bool onI = GetMenu.GetMenu.Item("IE");
         * if (onI)
         * {
         * if (sender.IsValidTarget(300)&&GetSpells.GetE.IsInRange(sender))
         * {
         * GetSpells.GetE.Cast(sender.Position);
         * }
         * }
         * }
         *
         * private void OnGapcloser(ActiveGapcloser gapcloser)
         * {
         * bool onGap=GetMenu.GetMenu.Item("AE");
         * if (onGap)
         * {
         * if (gapcloser.Sender.IsValidTarget(300))
         * {
         * GetSpells.GetE.Cast(gapcloser.Sender);
         * }
         * }
         * }*/

        private void OnLoad()
        {
            if (ObjectManager.Player.CharacterName != "Syndra")
            {
                return;
            }
            Game.Print("<b><font color =\"#FF33D6\">Dark Mage Loaded!</font></b>");
            var events = new GameEvents(this);

            GetMenu    = new SyndraMenu("Dark.Mage by sergix", this);
            GetSpells  = new Spells();
            drawDamage = new DrawDamage(this);
            _modes     = new SyndraModes();

            //    AntiGapcloser.OnEnemyGapcloser += OnGapcloser;
            //    Interrupter2.OnInterruptableTarget += OnInterrupt;
            Game.OnUpdate  += OnUpdate;
            Drawing.OnDraw += Ondraw;
        }