Esempio n. 1
0
        private void Drawing_OnDraw(System.EventArgs args)
        {
            if (!zedMenu.GetParamBool("koreanzed.drawing.skillranges"))
            {
                return;
            }

            ZedSpell zedSpell = null;

            if (zedSpells.R.UseOnCombo && zedSpells.R.IsReady() && zedSpells.R.Instance.ToggleState == 0)
            {
                zedSpell = zedSpells.R;
            }
            else if (zedSpells.Q.UseOnCombo && zedSpells.Q.IsReady())
            {
                zedSpell = zedSpells.Q;
            }
            else if (zedSpells.E.UseOnCombo && zedSpells.E.IsReady())
            {
                zedSpell = zedSpells.E;
            }

            if (zedSpell != null)
            {
                Render.Circle.DrawCircle(ObjectManager.Player.Position, zedSpell.Range, Color.FromArgb(150, Color.DarkGreen), 5);
            }
        }
Esempio n. 2
0
 public ZedAntiGapCloser(ZedMenu menu, ZedSpells spells)
 {
     zedMenu = menu;
     w       = spells.W;
     e       = spells.E;
     AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
 }
Esempio n. 3
0
 public ZedAntiGapCloser(ZedMenu menu, ZedSpells spells)
 {
     zedMenu = menu;
     w = spells.W;
     e = spells.E;
     AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
 }
Esempio n. 4
0
        public ZedSpellDodge(ZedSpells spells, ZedMenu mainMenu)
        {
            r       = spells.R;
            zedMenu = mainMenu;
            player  = ObjectManager.Player;

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
Esempio n. 5
0
        public ZedAutoE(ZedMenu zedMenu, ZedShadows zedShadows, ZedSpells zedSpells)
        {
            this.zedMenu    = zedMenu;
            this.zedShadows = zedShadows;
            e = zedSpells.E;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 6
0
        public ZedSpellDodge(ZedSpells spells, ZedMenu mainMenu)
        {
            r = spells.R;
            zedMenu = mainMenu;
            player = ObjectManager.Player;

            Obj_AI_Base.OnProcessSpellCast += Obj_AI_Base_OnProcessSpellCast;
        }
Esempio n. 7
0
        public ZedAutoE(ZedMenu zedMenu, ZedShadows zedShadows, ZedSpells zedSpells)
        {
            this.zedMenu = zedMenu;
            this.zedShadows = zedShadows;
            e = zedSpells.E;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 8
0
        public ZedShadows(ZedMenu mainMenu, ZedSpells spells)
        {
            zedMainMenu = mainMenu;
            q           = spells.Q;
            w           = spells.W;
            e           = spells.E;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 9
0
        public ZedShadows(ZedMenu mainMenu, ZedSpells spells)
        {
            zedMainMenu = mainMenu;
            q = spells.Q;
            w = spells.W;
            e = spells.E;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 10
0
        public ZedShadows(ZedMenu menu, ZedSpells spells, ZedEnergyChecker energy)
        {
            zedMenu = menu;
            q = spells.Q;
            w = spells.W;
            e = spells.E;
            this.energy = energy;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 11
0
        public ZedUnderTurretFarm(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker)
        {
            q = zedSpells.Q;
            e = zedSpells.E;

            this.zedOrbwalker = zedOrbwalker;

            Obj_AI_Base.OnTarget += Obj_AI_Base_OnTarget;
            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 12
0
        public ZedUnderTurretFarm(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker)
        {
            q = zedSpells.Q;
            e = zedSpells.E;

            this.zedOrbwalker = zedOrbwalker;

            Obj_AI_Base.OnTarget += Obj_AI_Base_OnTarget;
            Game.OnUpdate        += Game_OnUpdate;
        }
Esempio n. 13
0
        public ZedShadows(ZedMenu menu, ZedSpells spells, ZedEnergyChecker energy)
        {
            zedMenu     = menu;
            q           = spells.Q;
            w           = spells.W;
            e           = spells.E;
            this.energy = energy;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 14
0
        public ZedAntiGapCloser(ZedMenu menu, ZedSpells spells, ZedShadows shadows)
        {
            zedMenu      = menu;
            w            = spells.W;
            e            = spells.E;
            this.shadows = shadows;
            player       = ObjectManager.Player;

            actionQueue       = new ActionQueue();
            antiGapCloserList = new ActionQueueList();

            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
        }
Esempio n. 15
0
        public ZedKS(ZedSpells spells, Orbwalking.Orbwalker orbwalker, ZedShadows zedShadows)
        {
            q = spells.Q;
            w = spells.W;
            e = spells.E;

            player = ObjectManager.Player;

            zedOrbwalker = orbwalker;
            this.zedShadows = zedShadows;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 16
0
        public ZedKS(ZedSpells spells, Orbwalking.Orbwalker orbwalker, ZedShadows zedShadows)
        {
            q = spells.Q;
            w = spells.W;
            e = spells.E;

            player = ObjectManager.Player;

            zedOrbwalker    = orbwalker;
            this.zedShadows = zedShadows;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 17
0
        public ZedAntiGapCloser(ZedMenu menu, ZedSpells spells, ZedShadows shadows)
        {
            zedMenu = menu;
            w = spells.W;
            e = spells.E;
            this.shadows = shadows;
            player = ObjectManager.Player;

            actionQueue = new ActionQueue();
            antiGapCloserList = new ActionQueueList();

            AntiGapcloser.OnEnemyGapcloser += AntiGapcloser_OnEnemyGapcloser;
            
        }
Esempio n. 18
0
        public ZedSpells()
        {
            Q = new ZedSpell(SpellSlot.Q, 925F, TargetSelector.DamageType.Physical);
            Q.SetSkillshot(0.25F, 50F, 1600F, false, SkillshotType.SkillshotLine);

            float wRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.W).SData.CastRange;
            W = new ZedSpell(SpellSlot.W, wRange, TargetSelector.DamageType.Physical);
            W.SetSkillshot(0.75F, 75F, 1000F, false, SkillshotType.SkillshotLine);

            float eRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.E).SData.CastRange - 10;
            E = new ZedSpell(SpellSlot.E, eRange, TargetSelector.DamageType.Physical);

            float rRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange;
            R = new ZedSpell(SpellSlot.R, rRange, TargetSelector.DamageType.Physical);
        }
Esempio n. 19
0
        public ZedSpells()
        {
            Q = new ZedSpell(SpellSlot.Q, 925F, TargetSelector.DamageType.Physical);
            Q.SetSkillshot(0.25F, 50F, 1600F, false, SkillshotType.SkillshotLine);

            float wRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.W).SData.CastRange;

            W = new ZedSpell(SpellSlot.W, wRange, TargetSelector.DamageType.Physical);
            W.SetSkillshot(0.75F, 75F, 900F, false, SkillshotType.SkillshotLine);

            float eRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.E).SData.CastRange;

            E = new ZedSpell(SpellSlot.E, eRange, TargetSelector.DamageType.Physical);

            float rRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange;

            R = new ZedSpell(SpellSlot.R, rRange, TargetSelector.DamageType.Physical);
        }
Esempio n. 20
0
        public ZedCore(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker, ZedMenu zedMenu, ZedShadows zedShadows)
        {
            q = zedSpells.Q;
            w = zedSpells.W;
            e = zedSpells.E;
            r = zedSpells.R;

            player = ObjectManager.Player;
            ZedOrbwalker = zedOrbwalker;
            this.zedMenu = zedMenu;

            actionQueue = new ActionQueue();
            harasQueue = new ActionQueueList();
            comboQueue = new ActionQueueList();
            zedItems = new ZedOffensiveItems(zedMenu);
            energy = new ZedEnergyChecker(zedMenu);
            shadows = zedShadows;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 21
0
        public ZedCore(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker, ZedMenu zedMenu, ZedShadows zedShadows)
        {
            q = zedSpells.Q;
            w = zedSpells.W;
            e = zedSpells.E;
            r = zedSpells.R;

            player       = ObjectManager.Player;
            ZedOrbwalker = zedOrbwalker;
            this.zedMenu = zedMenu;

            actionQueue = new ActionQueue();
            harasQueue  = new ActionQueueList();
            comboQueue  = new ActionQueueList();
            zedItems    = new ZedOffensiveItems(zedMenu);
            energy      = new ZedEnergyChecker(zedMenu);
            shadows     = zedShadows;

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 22
0
        public ZedSpells()
        {
            float qRange = 800F; //ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Q).SData.CastRange; <<BUGGED
            float qDelay = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Q).SData.SpellCastTime;
            float qWidth = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Q).SData.LineWidth;
            float qSpeed = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.Q).SData.MissileSpeed;

            Q = new ZedSpell(SpellSlot.Q, qRange, TargetSelector.DamageType.Physical);
            Q.SetSkillshot(qDelay, qWidth, qSpeed, false, SkillshotType.SkillshotLine);

            float wRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.W).SData.CastRange;

            W = new ZedSpell(SpellSlot.W, wRange, TargetSelector.DamageType.Physical);

            float eRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.E).SData.CastRange;

            E = new ZedSpell(SpellSlot.E, eRange, TargetSelector.DamageType.Physical);

            float rRange = ObjectManager.Player.Spellbook.GetSpell(SpellSlot.R).SData.CastRange;

            R = new ZedSpell(SpellSlot.R, rRange, TargetSelector.DamageType.Physical);
        }
Esempio n. 23
0
        public ZedCore(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker, ZedMenu zedMenu, ZedShadows zedShadows, ZedEnergyChecker zedEnergy)
        {
            q = zedSpells.Q;
            w = zedSpells.W;
            e = zedSpells.E;
            r = zedSpells.R;

            player = ObjectManager.Player;
            ZedOrbwalker = zedOrbwalker;
            this.zedMenu = zedMenu;
            energy = zedEnergy;

            actionQueue = new ActionQueue();
            harasQueue = new ActionQueueList();
            comboQueue = new ActionQueueList();
            laneClearQueue = new ActionQueueList();
            lastHitQueue = new ActionQueueList();
            checkAutoAttack = new ActionQueueCheckAutoAttack();
            zedItems = new ZedOffensiveItems(zedMenu);
            shadows = zedShadows;
            zedComboSelector = new ZedComboSelector(zedMenu);

            Game.OnUpdate += Game_OnUpdate;
        }
Esempio n. 24
0
        public ZedCore(ZedSpells zedSpells, Orbwalking.Orbwalker zedOrbwalker, ZedMenu zedMenu, ZedShadows zedShadows, ZedEnergyChecker zedEnergy)
        {
            q = zedSpells.Q;
            w = zedSpells.W;
            e = zedSpells.E;
            r = zedSpells.R;

            player       = ObjectManager.Player;
            ZedOrbwalker = zedOrbwalker;
            this.zedMenu = zedMenu;
            energy       = zedEnergy;

            actionQueue      = new ActionQueue();
            harasQueue       = new ActionQueueList();
            comboQueue       = new ActionQueueList();
            laneClearQueue   = new ActionQueueList();
            lastHitQueue     = new ActionQueueList();
            checkAutoAttack  = new ActionQueueCheckAutoAttack();
            zedItems         = new ZedOffensiveItems(zedMenu);
            shadows          = zedShadows;
            zedComboSelector = new ZedComboSelector(zedMenu);

            Game.OnUpdate += Game_OnUpdate;
        }