private static void OnGameUpdate(EventArgs args) { if (getKeyBindItem(debugMenu, "debugOn")) //fullDMG { foreach (var buf in MasterYi.player.Buffs) { //Console.WriteLine(buf.Name); } } foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(enemy => enemy.IsEnemy && enemy.Health < MasterYi.Q.GetDamage(enemy) && MasterYi.Q.IsInRange(enemy) && enemy.IsVisible && enemy.IsHPBarRendered)) { if (getCheckBoxItem(extraMenu, "ks" + enemy.NetworkId)) { ObjectManager.Player.Spellbook.CastSpell(SpellSlot.Q, enemy); } } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { var target = TargetSelector.GetTarget(800, DamageType.Physical); if (target != null) { //Orbwalker.ForcedTarget = target; MasterYi.slayMaderDuker(target); } } else { //Orbwalker.ForcedTarget = null; } DetectedSkillshots.RemoveAll(skillshot => !skillshot.IsActive()); foreach (var skillShot in DetectedSkillshots) { if (skillShot.IsAboutToHit(250, MasterYi.player)) { MasterYi.evadeSkillShot(skillShot); } } //anti buferino foreach (var buf in MasterYi.player.Buffs) { var skill = TargetedSkills.dagerousBuffs.FirstOrDefault(ob => ob.sName.ToLower() == buf.Name.ToLower()); if (skill != null) { // Console.WriteLine("Evade: " + buf.Name); MasterYi.evadeBuff(buf, skill); } // if(buf.EndTime-Game.Time<0.2f) } }
private static void OnGameUpdate(EventArgs args) { if (getKeyBindItem(debugMenu, "debugOn")) //fullDMG { foreach (var buf in MasterYi.player.Buffs) { //Console.WriteLine(buf.Name); } } if (Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo)) { var target = TargetSelector.GetTarget(800, DamageType.Physical); Orbwalker.ForcedTarget = target; if (target != null) { MasterYi.selectedTarget = target; } MasterYi.slayMaderDuker(target); } else { Orbwalker.ForcedTarget = null; } DetectedSkillshots.RemoveAll(skillshot => !skillshot.IsActive()); foreach (var skillShot in DetectedSkillshots) { if (skillShot.IsAboutToHit(250, MasterYi.player)) { MasterYi.evadeSkillShot(skillShot); } } //anti buferino foreach (var buf in MasterYi.player.Buffs) { var skill = TargetedSkills.dagerousBuffs.FirstOrDefault(ob => ob.sName.ToLower() == buf.Name.ToLower()); if (skill != null) { // Console.WriteLine("Evade: " + buf.Name); MasterYi.evadeBuff(buf, skill); } // if(buf.EndTime-Game.Time<0.2f) } }
private static void OnGameUpdate(EventArgs args) { if (Config.Item("debugOn").GetValue <KeyBind>().Active) //fullDMG { foreach (var buf in MasterYi.player.Buffs) { Console.WriteLine(buf.Name); } } if (LXOrbwalker.CurrentMode == LXOrbwalker.Mode.Combo) { Obj_AI_Hero target = TargetSelector.GetTarget(800, TargetSelector.DamageType.Physical); LXOrbwalker.ForcedTarget = target; if (target != null) { MasterYi.selectedTarget = target; } MasterYi.slayMaderDuker(target); } DetectedSkillshots.RemoveAll(skillshot => !skillshot.IsActive()); foreach (var skillShot in DetectedSkillshots) { if (skillShot.IsAboutToHit(250, MasterYi.player)) { MasterYi.evadeSkillShot(skillShot); } } //anti buferino foreach (var buf in MasterYi.player.Buffs) { TargetedSkills.TargSkill skill = TargetedSkills.dagerousBuffs.FirstOrDefault(ob => ob.sName == buf.Name); if (skill != null) { // Console.WriteLine("Evade: " + buf.Name); MasterYi.evadeBuff(buf, skill); } // if(buf.EndTime-Game.Time<0.2f) } }
private static void OnGameUpdate(EventArgs args) { if (Config.Item("debugOn").GetValue <KeyBind>().Active) //fullDMG { foreach (var buf in MasterYi.player.Buffs) { Console.WriteLine(buf.Name); } } if (LXOrbwalker.CurrentMode == LXOrbwalker.Mode.Combo) { Obj_AI_Hero target = SimpleTs.GetTarget(MasterYi.Q.IsReady(500)?800:300, SimpleTs.DamageType.Physical); LXOrbwalker.ForcedTarget = target; if (target != null) { MasterYi.selectedTarget = target; } MasterYi.slayMaderDuker(target); } DetectedSkillshots.RemoveAll(skillshot => !skillshot.IsActive()); foreach (var skillShot in DetectedSkillshots) { if (skillShot.IsAboutToHit(250, MasterYi.player)) { MasterYi.evadeSkillShot(skillShot); } } //anti buferino foreach (var buf in MasterYi.player.Buffs) { if (TargetedSkills.dagerousBuffs.Contains(buf.Name)) { Console.WriteLine("evade buuf"); // if(buf.EndTime-Game.Time<0.2f) MasterYi.evadeBuff(buf); } } }
private static void OnGameUpdate(EventArgs args) { if (LXOrbwalker.CurrentMode == LXOrbwalker.Mode.Combo) { Obj_AI_Hero target = SimpleTs.GetTarget(MasterYi.Q.IsReady(500)?800:300, SimpleTs.DamageType.Physical); LXOrbwalker.ForcedTarget = target; if (target != null) { MasterYi.selectedTarget = target; } MasterYi.slayMaderDuker(target); } DetectedSkillshots.RemoveAll(skillshot => !skillshot.IsActive()); foreach (var skillShot in DetectedSkillshots) { if (skillShot.IsAboutToHit(250, MasterYi.player)) { MasterYi.evadeSkillShot(skillShot); } } }