private static void Harass() { var useQ = ChewyMoonsLux.Menu.Item("useQHarass").GetValue <bool>(); var useE = ChewyMoonsLux.Menu.Item("useEHarass").GetValue <bool>(); var target = SimpleTs.GetTarget(ChewyMoonsLux.Q.Range, SimpleTs.DamageType.Magical); if (!target.IsValidTarget()) { return; } if (HasPassive(target)) { return; } if (useQ & ChewyMoonsLux.Q.IsReady() && !HasPassive(target)) { SpellCombo.CastQ(target); } if (!useE || !ChewyMoonsLux.E.IsReady() || HasPassive(target) || _eGameObject != null) { return; } ChewyMoonsLux.E.Cast(target, ChewyMoonsLux.PacketCast); }
private static void Harass() { var useQ = ChewyMoonsLux.harassMenu["useQHarass"].GetValue <MenuBool>().Enabled; var useE = ChewyMoonsLux.harassMenu["useEHarass"].GetValue <MenuBool>().Enabled; var target = TargetSelector.GetTarget(1000); if (target == null) { return; } if (HasPassive(target)) { return; } if (useQ & Q.IsReady() && !HasPassive(target)) { SpellCombo.CastQ(target); } if (!useE || !ChewyMoonsLux.E.IsReady() || HasPassive(target) || _eGameObject != null) { return; } E.Cast(target, PacketCast); }
private static void Harass() { var useQ = ChewyMoonsLux.Menu.Item("useQHarass").GetValue <bool>(); var useE = ChewyMoonsLux.Menu.Item("useEHarass").GetValue <bool>(); var target = ChewyMoonsLux.Orbwalker.GetTarget() as Obj_AI_Hero; if (target == null) { return; } if (HasPassive(target)) { return; } if (useQ & ChewyMoonsLux.Q.IsReady() && !HasPassive(target)) { SpellCombo.CastQ(target); } if (!useE || !ChewyMoonsLux.E.IsReady() || HasPassive(target) || _eGameObject != null) { return; } ChewyMoonsLux.E.Cast(target, ChewyMoonsLux.PacketCast); }
private static void Combo() { var useQ = ChewyMoonsLux.Menu.Item("useQ").GetValue <bool>(); var useW = ChewyMoonsLux.Menu.Item("useW").GetValue <bool>(); var useE = ChewyMoonsLux.Menu.Item("useE").GetValue <bool>(); var useR = ChewyMoonsLux.Menu.Item("useR").GetValue <bool>(); var target = SimpleTs.GetTarget(ChewyMoonsLux.Q.Range, SimpleTs.DamageType.Magical); var useDfg = ChewyMoonsLux.Menu.Item("useDFG").GetValue <bool>(); // Pop e if (_eGameObject != null) { var targetsInE = ObjectManager.Get <Obj_AI_Hero>().Where(hero => hero.IsValidTarget(_eGameObject.BoundingRadius)).ToList(); if (targetsInE.Any(leTarget => !HasPassive(leTarget))) { ChewyMoonsLux.E.Cast(ChewyMoonsLux.PacketCast); } } if (!target.IsValidTarget()) { return; } if (HasPassive(target)) { return; } if (useDfg) { if (Items.CanUseItem(3128) && Items.HasItem(3128)) { Items.UseItem(3128, target); } } if (ChewyMoonsLux.Q.IsReady() && useQ && !HasPassive(target)) { SpellCombo.CastQ(target); } if (ChewyMoonsLux.E.IsReady() && useE && !HasPassive(target) && _eGameObject == null) { ChewyMoonsLux.E.Cast(target, ChewyMoonsLux.PacketCast); } if (ChewyMoonsLux.W.IsReady() && useW) { ChewyMoonsLux.W.Cast(Game.CursorPos, ChewyMoonsLux.PacketCast); } if (target.IsDead) { return; } if (!ChewyMoonsLux.R.IsReady() || !useR || HasPassive(target)) { return; } if (ChewyMoonsLux.Menu.Item("onlyRIfKill").GetValue <bool>()) { if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.Q) >= target.Health) { ChewyMoonsLux.R.Cast(target, ChewyMoonsLux.PacketCast); } } else { ChewyMoonsLux.R.Cast(target, ChewyMoonsLux.PacketCast); } }
private static void Combo() { var useQ = ChewyMoonsLux.comboMenu["useQ"].GetValue <MenuBool>(); var useW = ChewyMoonsLux.comboMenu["useW"].GetValue <MenuBool>(); var useE = ChewyMoonsLux.comboMenu["useE"].GetValue <MenuBool>(); var useR = ChewyMoonsLux.comboMenu["useR"].GetValue <MenuBool>(); var target = TargetSelector.GetTarget(1000); var useDfg = ChewyMoonsLux.itemsMenu["useDFG"].GetValue <MenuBool>(); // Pop e if (_eGameObject != null) { var targetsInE = ObjectManager.Get <AIHeroClient>() .Where(hero => hero.IsValidTarget(_eGameObject.BoundingRadius)) .ToList(); if (ChewyMoonsLux.E.IsReady() && useE && !HasPassive(target)) { if (targetsInE.Any(leTarget => !HasPassive(leTarget))) { E.Cast(PacketCast); } } } if (target == null) { return; } if (HasPassive(target)) { return; } if (useDfg) { /* if (Items.CanUseItem(3128) && Items.HasItem(3128)) * { * Items.UseItem(3128, target); * }*/ } if (ChewyMoonsLux.Q.IsReady() && useQ && !HasPassive(target)) { SpellCombo.CastQ(target); } if (ChewyMoonsLux.E.IsReady() && useE && !HasPassive(target)) { E.Cast(target, PacketCast); } if (ChewyMoonsLux.W.IsReady() && useW) { W.Cast(Game.CursorPos, PacketCast); } if (target.IsDead) { return; } if (!ChewyMoonsLux.R.IsReady() || !useR || HasPassive(target)) { return; } if (ChewyMoonsLux.comboMenu["onlyRIfKill"].GetValue <MenuBool>().Enabled) { if (ObjectManager.Player.GetSpellDamage(target, SpellSlot.Q) >= target.Health) { R.Cast(target, PacketCast); } } else { R.Cast(target, PacketCast); } }