Ejemplo n.º 1
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;

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

            Orbwalker = orbwalker;
        }
Ejemplo n.º 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;
        }