public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <KeyBind>("dz191.vhr.misc.condemn.enextauto").Active&& Variables.spells[SpellSlot.E].IsReady()); }
public bool ShouldRun() { return(Variables.spells[SpellSlot.E].IsReady() && MenuExtensions.GetItemValue <bool>("iseriesr.kalista.misc.edeath")); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.specialfocus") && Variables.Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo); }
private static void LoadMenu() { CNLib.MultiLanguage.AddLanguage(new Dictionary <string, Dictionary <string, string> > { { "English", Languages.EnglishDictionary }, }); Chat.Print("Aurelion Sol".ToHtml(32) + " 迎接星辰之力吧,凡人 !".ToHtml("#D15FEE", FontStlye.Bold)); Config = MenuExtensions.CreatMainMenu("Aurelion Sol As the Star Forger", "Aurelion Sol As the Dragon"); Orbwalker = Config.AddOrbwalker("走砍设置", "Orbwalker"); var QMenu = Config.AddMenu("Q设置", "Q Settings"); QMenu.AddBool("连招Q", "Combo Q", true); QMenu.AddBool("消耗Q", "Harss Q", true); QMenu.AddBool("清线Q", "Lanclear Q", true); QMenu.AddBool("清野Q", "Jungle Q", true); QMenu.AddBool("打断Q", "Interrupt", true); QMenu.AddBool("防突Q", "Anti Gapcoloser", true); var WMenu = Config.AddMenu("W设置", "W Settings"); WMenu.AddBool("自动W", "Auto W", true); var EMenu = Config.AddMenu("E设置", "E Settings"); EMenu.AddBool("标识E", "Ping E end position", true); EMenu.AddBool("防突E", "Anti Gapcoloser", true); var RMenu = Config.AddMenu("R设置", "R Settings"); RMenu.AddBool("抢人头R", "KS R", false); RMenu.AddBool("连招R", "Combo R", true); RMenu.AddBool("R打断", "Interrupt", true); RMenu.AddBool("R防突进", "Anti Gapclose", true); var MMenu = Config.AddMenu("其它设置", "Misc. Settings"); MMenu.AddBool("禁止平A", "Combo without AA", true); MMenu.AddBool("调整走位", "Adjustment Orbwalker Piont for W", true); MMenu.AddSeparator(); MMenu.AddLabel("Anti Gapcoloser List"); foreach (var enemy in HeroManager.Enemies) { MMenu.AddBool("防突名单" + enemy.ChampionName, enemy.CnName(), true); } var DMenu = Config.AddMenu("显示设置", "Draw Settings"); DMenu.AddCircle("Q范围", "Q Range", true, Color.AliceBlue); DMenu.AddCircle("W范围", "W Range", true, Color.AliceBlue); DMenu.AddCircle("E范围", "E Range", true, Color.AliceBlue); DMenu.AddCircle("E小地图", "E Range on Minimap", true, Color.AliceBlue); DMenu.AddCircle("R范围", "R Range", true, Color.AliceBlue); DMenu.AddCircle("蓝量显示", "Show W mana", true, Color.AliceBlue); AutoLevelUp.Initialize(Config, new[] { R, W, Q, E }); CheckVersion.Initialize(Config, "https://raw.githubusercontent.com/VivianGit/LeagueSharp/master/Aurelion%20Sol%20As%20the%20Star%20Forger/Aurelion%20Sol%20As%20the%20Star%20Forger/Properties/AssemblyInfo.cs"); }
public static void Execute(EventArgs args) { if (!E.IsEnabledAndReady(Variables.Orbwalker.ActiveMode)) { return; } /** * var CondemnTarget = GetCondemnTarget(ObjectManager.Player.ServerPosition); * if (CondemnTarget.IsValidTarget()) * { * // var AAForE = MenuExtensions.GetItemValue<Slider>("dz191.vhr.misc.condemn.noeaa").Value; * * // if (CondemnTarget.Health / ObjectManager.Player.GetAutoAttackDamage(CondemnTarget, true) < AAForE) * // { * // return; * // } * var targetPosition = CondemnTarget.ServerPosition; * var myPosition = ObjectManager.Player.ServerPosition; * if (WindWall.CollidesWithWall(myPosition, targetPosition)) * { * return; * } * * E.CastOnUnit(CondemnTarget); * }*/ var pushDistance = MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.pushdistance").Value - 25; if (pushDistance >= 410) { var PushEx = pushDistance; pushDistance -= (10 + (PushEx - 410) / 2); } foreach (var target in HeroManager.Enemies.Where(en => en.IsValidTarget(E.Range) && !en.IsDashing())) { //Yasuo Windwall check if (WindWall.CollidesWithWall(ObjectManager.Player.ServerPosition, target.ServerPosition)) { continue; } if (MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.onlystuncurrent") && Variables.Orbwalker.GetTarget() != null && !target.NetworkId.Equals(Variables.Orbwalker.GetTarget().NetworkId)) { continue; } if (target.Health + 10 <= ObjectManager.Player.GetAutoAttackDamage(target) * MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.noeaa").Value) { continue; } var Prediction = Variables.spells[SpellSlot.E].GetPrediction(target); var endPosition = Prediction.UnitPosition.Extend(ObjectManager.Player.ServerPosition, -pushDistance); if (Prediction.Hitchance >= HitChance.VeryHigh) { if (endPosition.IsWall()) { var condemnRectangle = new VHRPolygon(VHRPolygon.Rectangle(target.ServerPosition.To2D(), endPosition.To2D(), target.BoundingRadius)); if (condemnRectangle.Points .Count(point => NavMesh.GetCollisionFlags(point.X, point.Y).HasFlag(CollisionFlags.Wall)) >= condemnRectangle.Points.Count() * (20 / 100f)) { E.CastOnUnit(target); TrinketBush(target.ServerPosition.Extend(ObjectManager.Player.ServerPosition, -450f)); } } else { //It's not a wall. var step = pushDistance / 5f; for (float i = 0; i < pushDistance; i += step) { var endPositionEx = Prediction.UnitPosition.Extend(ObjectManager.Player.ServerPosition, -i); if (endPositionEx.IsWall()) { var condemnRectangle = new VHRPolygon(VHRPolygon.Rectangle(target.ServerPosition.To2D(), endPosition.To2D(), target.BoundingRadius)); if (condemnRectangle.Points .Count(point => NavMesh.GetCollisionFlags(point.X, point.Y).HasFlag(CollisionFlags.Wall)) >= condemnRectangle.Points.Count() * (20 / 100f)) { E.CastOnUnit(target); TrinketBush(target.ServerPosition.Extend(ObjectManager.Player.ServerPosition, -450f)); } return; } } } } } }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.eks") && Variables.spells[SpellSlot.E].IsReady()); }
internal static bool IsEnabled() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.draw.trapDraw")); }
public bool ShouldRun() { return(Variables.spells[SpellSlot.R].IsReady() && MenuExtensions.GetItemValue <bool>("iseriesr.kogmaw.misc.r.slow")); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.threshCatch") && ObjectManager.Player.HealthPercent < MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.general.hpThresh").Value); }
/// <summary> /// Shoulds the module run. /// </summary> /// <returns></returns> public override bool ShouldRun() { return(MenuExtensions.GetItemValue <bool>("dz191.dza.ping.show")); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <KeyBind>("dz191.vhr.misc.tumble.walltumble").Active&& Variables.spells[SpellSlot.Q].IsReady()); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.turnaround")); }
/// <summary> /// Shoulds the module get executed. /// </summary> /// <returns></returns> public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("solo.vayne.misc.condemn.autoe") && Variables.spells[SpellSlot.E].IsReady() && (Variables.Orbwalker.ActiveMode != Orbwalking.OrbwalkingMode.Combo)); }
public static List <ProfileOption> GetOptions() { return(new List <ProfileOption> { #region Q Settings Save new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.QLogic, ValueType = ValueTypes.Stringlist, StringListValue = new Tuple <string[], int>( GetItemValue <StringList>("dz191.vhr.misc.condemn.qlogic").SList, GetItemValue <StringList>("dz191.vhr.misc.condemn.qlogic").SelectedIndex) }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.SmartQ, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.smartq") }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.NoAAStealthEx, ValueType = ValueTypes.Keybind, KeybindValue = new Tuple <uint, KeyBindType>( GetItemValue <KeyBind>("dz191.vhr.misc.tumble.noaastealthex").Key, GetItemValue <KeyBind>("dz191.vhr.misc.tumble.noaastealthex").Type) }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.NoQEnemies, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.noqenemies") }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.DynamicQSafety, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.dynamicqsafety") }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.QSpam, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.qspam") }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.QInRange, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.qinrange") }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.Mirin, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.mirin") }, new ProfileOption { MajorCategory = MajorCategories.Tumble, MinorCategory = MinorCategories.WallTumble, ValueType = ValueTypes.Keybind, KeybindValue = new Tuple <uint, KeyBindType>( GetItemValue <KeyBind>("dz191.vhr.misc.tumble.walltumble").Key, GetItemValue <KeyBind>("dz191.vhr.misc.tumble.walltumble").Type) }, #endregion #region Condemn Bullshit new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.CondemnMethod, ValueType = ValueTypes.Stringlist, StringListValue = new Tuple <string[], int>( GetItemValue <StringList>("dz191.vhr.misc.condemn.condemnmethod").SList, GetItemValue <StringList>("dz191.vhr.misc.condemn.condemnmethod").SelectedIndex) }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.PushDistance, ValueType = ValueTypes.Slider, SliderValue = new Tuple <int, int, int>( GetItemValue <Slider>("dz191.vhr.misc.condemn.pushdistance").Value, 350, 470) }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.Accuracy, ValueType = ValueTypes.Slider, SliderValue = new Tuple <int, int, int>( GetItemValue <Slider>("dz191.vhr.misc.condemn.accuracy").Value, 1, 100) }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.ENextAuto, ValueType = ValueTypes.Keybind, KeybindValue = new Tuple <uint, KeyBindType>( GetItemValue <KeyBind>("dz191.vhr.misc.condemn.enextauto").Key, GetItemValue <KeyBind>("dz191.vhr.misc.condemn.enextauto").Type) }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.OnlyStunCurrent, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.onlystuncurrent") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.AutoE, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.autoe") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.EKS, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.eks") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.NoEAA, ValueType = ValueTypes.Slider, SliderValue = new Tuple <int, int, int>(GetItemValue <Slider>("dz191.vhr.misc.condemn.noeaa").Value, 0, 5) }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.TrinketBush, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.trinketbush") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.EThird, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.ethird") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.LowLifePeel, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.lowlifepeel") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.CondemnTurret, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.condemnturret") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.CondemnFlag, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.condemnflag") }, new ProfileOption { MajorCategory = MajorCategories.Condemn, MinorCategory = MinorCategories.NoETurret, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.noeturret") }, #endregion #region General new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.AntiGP, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.antigp") }, new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.Interrupt, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.interrupt") }, new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.AntiGPDelay, ValueType = ValueTypes.Slider, SliderValue = new Tuple <int, int, int>( GetItemValue <Slider>("dz191.vhr.misc.general.antigpdelay").Value, 0, 1000) }, new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.SpecialFocus, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.specialfocus") }, new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.Reveal, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.reveal") }, new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.DisableMovement, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.disablemovement") }, new ProfileOption { MajorCategory = MajorCategories.General, MinorCategory = MinorCategories.Permashow, ValueType = ValueTypes.Boolean, BoolValue = MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.permashow") }, #endregion }); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <KeyBind>("dz191.vhr.misc.condemn.flashcondemn").Active&& Variables.spells[SpellSlot.E].IsReady() && Flash.Slot != SpellSlot.Unknown && Flash.IsReady()); }
public bool ShouldRun() { return(Variables.spells[SpellSlot.W].IsReady() && MenuExtensions.GetItemValue <bool>("iseriesr.jinx.w.auto") && ObjectManager.Player.ManaPercent > 35); }
public static bool IsJ4Flag(this Vector3 endPosition, Obj_AI_Base target) { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.condemnflag") && ObjectManager.Get <Obj_AI_Base>().Any(m => m.Distance(endPosition) <= target.BoundingRadius && m.Name == "Beacon")); }
private static void HandleBuffTypeCleanser(Items.Item CleanseItem) { var buffCount = Buffs.Count(buff => ObjectManager.Player.HasBuffOfType(buff) && MenuExtensions.GetItemValue <bool>( $"dz191.vhr.cleanser.bufftype.{buff}")); if (buffCount >= MenuExtensions.GetItemValue <Slider>("dz191.vhr.cleanser.bufftype.minbuffs").Value) { CastCleanse(CleanseItem); } }
public bool ShouldRun() { return(MenuExtensions.GetItemValue <bool>("iseriesr.vayne.misc.condemn.autoe")); }
public bool ShouldRun() { return(Variables.spells[SpellSlot.Q].IsReady() && MenuExtensions.GetItemValue <bool>("iseriesr.ezreal.misc.autoq.immobile")); }
public static Obj_AI_Base GetTarget(Vector3 fromPosition) { var HeroList = HeroManager.Enemies.Where( h => h.IsValidTarget(Variables.spells[SpellSlot.E].Range) && !h.HasBuffOfType(BuffType.SpellShield) && !h.HasBuffOfType(BuffType.SpellImmunity)); //dz191.vhr.misc.condemn.rev.accuracy //dz191.vhr.misc.condemn.rev.nextprediction var MinChecksPercent = MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.accuracy").Value; var PushDistance = MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.pushdistance").Value; if (ObjectManager.Player.ServerPosition.UnderTurret(true)) { return(null); } foreach (var Hero in HeroList) { var prediction = Variables.spells[SpellSlot.E].GetSPrediction(Hero); if (MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.onlystuncurrent") && Hero.NetworkId != Variables.Orbwalker.GetTarget().NetworkId) { continue; } if (Hero.Health + 10 <= ObjectManager.Player.GetAutoAttackDamage(Hero) * MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.noeaa").Value) { continue; } var PredictionsList = new List <Vector3> { Hero.ServerPosition, Hero.Position, prediction.CastPosition.To3D(), prediction.UnitPosition.To3D() }; if (Hero.IsDashing()) { PredictionsList.Add(Hero.GetDashInfo().EndPos.To3D()); } var wallsFound = 0; foreach (var position in PredictionsList) { for (var i = 0; i < PushDistance; i += (int)Hero.BoundingRadius) { var cPos = position.Extend(fromPosition, -i); if (cPos.IsWall()) { wallsFound++; break; } } } if ((wallsFound / PredictionsList.Count) >= MinChecksPercent / 100f) { return(Hero); } } return(null); }
public static Obj_AI_Base GetTarget(Vector3 fromPosition) { var HeroList = HeroManager.Enemies.Where( h => h.IsValidTarget(Variables.spells[SpellSlot.E].Range) && !h.HasBuffOfType(BuffType.SpellShield) && !h.HasBuffOfType(BuffType.SpellImmunity)); //dz191.vhr.misc.condemn.rev.accuracy //dz191.vhr.misc.condemn.rev.nextprediction var MinChecksPercent = MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.accuracy").Value; var PushDistance = MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.pushdistance").Value; if (PushDistance >= 410) { var PushEx = PushDistance; PushDistance -= (10 + (PushEx - 410) / 2); } if (ObjectManager.Player.ServerPosition.UnderTurret(true)) { return(null); } foreach (var Hero in HeroList) { if (MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.condemn.onlystuncurrent") && Hero.NetworkId != Variables.Orbwalker.GetTarget().NetworkId) { continue; } if (Hero.Health + 10 <= ObjectManager.Player.GetAutoAttackDamage(Hero) * MenuExtensions.GetItemValue <Slider>("dz191.vhr.misc.condemn.noeaa").Value) { continue; } var targetPosition = Vector3.Zero; var pred = Variables.spells[SpellSlot.E].GetSPrediction(Hero); if (pred.HitChance > HitChance.Impossible) { targetPosition = pred.UnitPosition.To3D(); } if (targetPosition == Vector3.Zero) { return(null); } var finalPosition = targetPosition.Extend(ObjectManager.Player.ServerPosition, -PushDistance); var finalPosition_ex = Hero.ServerPosition.Extend(ObjectManager.Player.ServerPosition, -PushDistance); var condemnRectangle = new VHRPolygon(VHRPolygon.Rectangle(targetPosition.To2D(), finalPosition.To2D(), Hero.BoundingRadius)); var condemnRectangle_ex = new VHRPolygon(VHRPolygon.Rectangle(Hero.ServerPosition.To2D(), finalPosition_ex.To2D(), Hero.BoundingRadius)); if (IsBothNearWall(Hero)) { return(null); } if (condemnRectangle.Points.Count(point => NavMesh.GetCollisionFlags(point.X, point.Y).HasFlag(CollisionFlags.Wall)) >= condemnRectangle.Points.Count() * (MinChecksPercent / 100f) && condemnRectangle_ex.Points.Count(point => NavMesh.GetCollisionFlags(point.X, point.Y).HasFlag(CollisionFlags.Wall)) >= condemnRectangle_ex.Points.Count() * (MinChecksPercent / 100f)) { return(Hero); } } return(null); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.disablemovement") || MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.disableattk")); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.tumble.qinrange") && Variables.spells[SpellSlot.Q].IsReady()); }
public bool ShouldRun() { return(MenuExtensions.GetItemValue <bool>("iseriesr.vayne.misc.general.focus2w")); }
public void OnExecute() { Variables.Orbwalker.SetMovement(!MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.disablemovement")); Variables.Orbwalker.SetAttack(!MenuExtensions.GetItemValue <bool>("dz191.vhr.misc.general.disableattk")); }
/// <summary> /// Shoulds the module run. /// </summary> /// <returns></returns> public override bool ShouldRun() { return(MenuExtensions.GetItemValue <bool>("dz191.dza.ranges.enemy") || MenuExtensions.GetItemValue <bool>("dz191.dza.ranges.ally")); }
public bool ShouldRun() { return(MenuExtensions.GetItemValue <bool>("iseriesr.activator.spells.barrier.always") || (MenuExtensions.GetItemValue <bool>("iseriesr.activator.spells.barrier.combo") && Variables.Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)); }
/// <summary> /// Creates the render objects. /// </summary> public void CreateRenderObjects() { TextObject = new Render.Text((int)Drawing.WorldToScreen(Position).X, (int)Drawing.WorldToScreen(Position).Y, "", 17, new ColorBGRA(255, 255, 255, 255)) { VisibleCondition = sender => Render.OnScreen(Drawing.WorldToScreen(Position)) && MenuExtensions.GetItemValue <bool>("dz191.dza.ward.track"), PositionUpdate = () => new Vector2(Drawing.WorldToScreen(Position).X, Drawing.WorldToScreen(Position).Y + 12), TextUpdate = () => (Environment.TickCount < startTick + WardTypeW.WardDuration && WardTypeW.WardDuration < float.MaxValue) ? (Utils.FormatTime(Math.Abs(Environment.TickCount - (startTick + WardTypeW.WardDuration)) / 1000f)) : string.Empty }; TextObject.Add(0); MinimapSpriteObject = new Render.Sprite(MinimapBitmap, new Vector2()) { PositionUpdate = () => MinimapPosition, VisibleCondition = sender => MenuExtensions.GetItemValue <bool>("dz191.dza.ward.track") && Environment.TickCount < this.startTick + this.WardTypeW.WardDuration, Scale = new Vector2(0.7f, 0.7f) }; MinimapSpriteObject.Add(0); }
public bool ShouldGetExecuted() { return(MenuExtensions.GetItemValue <bool>("dz191.vhr.farm.condemnjungle") && Variables.spells[SpellSlot.E].IsReady() && (Variables.Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)); }