예제 #1
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Tristana" /> class.
        /// </summary>
        /// <param name="manaEnabled">
        ///     if set to <c> true </c> [mana enabled].
        /// </param>
        /// <param name="orbwalker">
        ///     The orbwalker.
        /// </param>
        public Tristana(bool manaEnabled, Orbwalking.Orbwalker orbwalker)
        {
            Q=new Spell(SpellSlot.Q, 550);
            E=new Spell(SpellSlot.E, 625);
            R=new Spell(SpellSlot.R, 517);

            _manaManager=new Mana(Q, W, E, R, manaEnabled);
            // ReSharper disable once UnusedVariable
            var temp=new Menus.Tristana();

            Game.OnUpdate+=OnUpdate;
            Game.OnUpdate+=AutoEvents;

            LeagueSharp.Drawing.OnDraw+=OnDraw;
            LeagueSharp.Drawing.OnDraw+=OnDrawEnemy;
            _damageIndicator=new DamageIndicator(GetDamage, 2000);
            Orbwalker=orbwalker;
        }
예제 #2
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Ashe" /> class.
        /// </summary>
        /// <param name="manaEnabled">
        ///     if set to <c> true </c> [mana enabled].
        /// </param>
        /// <param name="orbwalker">
        ///     The orbwalker.
        /// </param>
        public Ashe(bool manaEnabled, Orbwalking.Orbwalker orbwalker)
        {
            Q=new Spell(SpellSlot.Q);
            W=new Spell(SpellSlot.W, 1200);
            R=new Spell(SpellSlot.R, 2200);

            W.SetSkillshot(.25f, 57.5f, 2000, true, SkillshotType.SkillshotCone);
            R.SetSkillshot(.25f, 250, 1600, false, SkillshotType.SkillshotLine);

            _manaManager=new Mana(Q, W, E, R, manaEnabled);
            // ReSharper disable once UnusedVariable
            var temp=new Menus.Ashe();

            Game.OnUpdate+=OnUpdate;

            LeagueSharp.Drawing.OnDraw+=OnDraw;
            LeagueSharp.Drawing.OnDraw+=OnDrawEnemy;
            AntiGapcloser.OnEnemyGapcloser+=OnGapcloser;

            _damageIndicator=new DamageIndicator(GetDamage, 2000);
            Orbwalker=orbwalker;
        }
예제 #3
0
        /// <summary>
        ///     Initializes a new instance of the <see cref="Ezreal" /> class.
        /// </summary>
        /// <param name="manaEnabled">
        ///     if set to <c> true </c> [mana enabled].
        /// </param>
        /// <param name="orbwalker">
        ///     The orbwalker.
        /// </param>
        public Ezreal(bool manaEnabled, Orbwalking.Orbwalker orbwalker)
        {
            Q=new Spell(SpellSlot.Q, 1190);
            W=new Spell(SpellSlot.W, 950);
            R=new Spell(SpellSlot.R, 2200);

            Q.SetSkillshot(.25f, 60, 2000, true, SkillshotType.SkillshotLine);
            W.SetSkillshot(.25f, 80, 1600, false, SkillshotType.SkillshotLine);
            R.SetSkillshot(1, 160, 2000, false, SkillshotType.SkillshotLine);

            _manaManager=new Mana(Q, W, E, R, manaEnabled);
            // ReSharper disable once UnusedVariable
            var temp=new Menus.Ezreal();

            Game.OnUpdate+=OnUpdate;
            Game.OnUpdate+=AutoEvents;
            LeagueSharp.Drawing.OnDraw+=OnDraw;
            LeagueSharp.Drawing.OnDraw+=OnDrawEnemy;
            Spellbook.OnCastSpell+=OnCastSpell;
            //Obj_AI_Base.OnProcessSpellCast += OnProcessSpellCast;
            _damageIndicator=new DamageIndicator(GetDamage, 2000);
            Orbwalker=orbwalker;
        }