Exemple #1
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     ShowPingMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_SHOWPING_MAIN"), "SAssembliesMiscsShowPing"));
     ShowPingMisc.MenuItems.Add(
         ShowPingMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsShowPingActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return ShowPingMisc;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     FowWardPlacementWard.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("WARDS_FOWWARDPLACEMENT_MAIN"), "SAssembliesWardsFowWardPlacement"));
     FowWardPlacementWard.MenuItems.Add(
         FowWardPlacementWard.Menu.AddItem(new MenuItem("SAssembliesWardsFowWardPlacementActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return FowWardPlacementWard;
 }
Exemple #3
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     CloneTracker.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TRACKERS_CLONE_MAIN"), "SAssembliesTrackersClone"));
     CloneTracker.MenuItems.Add(
         CloneTracker.Menu.AddItem(new MenuItem("SAssembliesTrackersCloneActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return CloneTracker;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     var newMenu = Menu.GetSubMenu(menu, "SAssembliesDetectorsSharedExperience");
     if (newMenu == null)
     {
         SharedExperienceDetector.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("DETECTORS_SHAREDEXPERIENCE_MAIN"), "SAssembliesDetectorsSharedExperience"));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceResetTime", Language.GetString("DETECTORS_SHAREDEXPERIENCE_RESETTIME")).SetValue(new Slider(60, 120, 1)));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceTrackRange", Language.GetString("DETECTORS_SHAREDEXPERIENCE_TRACKRANGE")).SetValue(new Slider(2000, 10000, 100)));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperiencePingTimes", Language.GetString("GLOBAL_PING_TIMES")).SetValue(new Slider(0, 5, 0)));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperiencePingType", Language.GetString("GLOBAL_PING_TYPE")).SetValue(new StringList(new[]
         {
             Language.GetString("GLOBAL_PING_TYPE_NORMAL"),
             Language.GetString("GLOBAL_PING_TYPE_DANGER"),
             Language.GetString("GLOBAL_PING_TYPE_ENEMYMISSING"),
             Language.GetString("GLOBAL_PING_TYPE_ONMYWAY"),
             Language.GetString("GLOBAL_PING_TYPE_FALLBACK"),
             Language.GetString("GLOBAL_PING_ASSISTME")
         })));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceLocalPing", Language.GetString("GLOBAL_PING_LOCAL")).SetValue(true));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceChat", Language.GetString("GLOBAL_CHAT")).SetValue(false));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceNotification", Language.GetString("GLOBAL_NOTIFICATION")).SetValue(false));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceVoice", Language.GetString("GLOBAL_VOICE")).SetValue(false));
         SharedExperienceDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsSharedExperienceDrawing", Language.GetString("GLOBAL_DRAWING")).SetValue(false));
         SharedExperienceDetector.CreateActiveMenuItem("SAssembliesDetectorsSharedExperienceActive", () => new SharedExperience());
     }
     return SharedExperienceDetector;
 }
Exemple #5
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     VisionRange.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("RANGES_VISION_MAIN"), "SAssembliesRangesVision"));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionMode", Language.GetString("RANGES_ALL_MODE")).SetValue(new StringList(new[]
         {
             Language.GetString("RANGES_ALL_MODE_ME"),
             Language.GetString("RANGES_ALL_MODE_ENEMY"),
             Language.GetString("RANGES_ALL_MODE_BOTH")
         }))));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayMe", Language.GetString("RANGES_VISION_ME")).SetValue(false)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayChampion", Language.GetString("RANGES_VISION_CHAMPION")).SetValue(false)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayTurret", Language.GetString("RANGES_VISION_TURRET")).SetValue(false)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayMinion", Language.GetString("RANGES_VISION_MINION")).SetValue(false)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionDisplayWard", Language.GetString("RANGES_VISION_WARD")).SetValue(false)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionColorMe", Language.GetString("RANGES_ALL_COLORME")).SetValue(Color.Indigo)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionColorEnemy", Language.GetString("RANGES_ALL_COLORENEMY")).SetValue(Color.Indigo)));
     VisionRange.MenuItems.Add(
         VisionRange.Menu.AddItem(new MenuItem("SAssembliesRangesVisionActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return VisionRange;
 }
Exemple #6
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     TurretHealth.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("HEALTHS_TURRET_MAIN"), "SAssembliesHealthsTurret"));
     TurretHealth.MenuItems.Add(
         TurretHealth.Menu.AddItem(new MenuItem("SAssembliesHealthsTurretActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return TurretHealth;
 }
Exemple #7
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     AutoIgniteActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOIGNITE_MAIN"), "SAssembliesActivatorsAutoIgnite"));
     AutoIgniteActivator.MenuItems.Add(
         AutoIgniteActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoIgniteActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return AutoIgniteActivator;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     SurrenderVoteMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_SURRENDERVOTE_MAIN"), "SAssembliesMiscsSurrenderVote"));
     SurrenderVoteMisc.MenuItems.Add(
         SurrenderVoteMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsSurrenderVoteActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return SurrenderVoteMisc;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     SafeFlashMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_SAFEFLASH_MAIN"), "SAssembliesMiscsSafeFlash"));
     SafeFlashMisc.MenuItems.Add(
         SafeFlashMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsSafeFlashActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return SafeFlashMisc;
 }
Exemple #10
0
        // use underTurret and .Extend for this please
        public static bool IsPositionSafe(AIHeroClient target, LeagueSharp.Common.Spell spell)
        {
            var predPos = spell.GetPrediction(target).UnitPosition.LSTo2D();
            var myPos = ObjectManager.Player.Position.LSTo2D();
            var newPos = (target.Position.LSTo2D() - myPos);
            newPos.Normalize();

            var checkPos = predPos + newPos*(spell.Range - Vector2.Distance(predPos, myPos));
            Obj_Turret closestTower = null;

            foreach (var tower in ObjectManager.Get<Obj_Turret>()
                .Where(tower => tower.IsValid && !tower.IsDead && Math.Abs(tower.Health) > float.Epsilon)
                .Where(tower => Vector3.Distance(tower.Position, ObjectManager.Player.Position) < 1450))
            {
                closestTower = tower;
            }

            if (closestTower == null)
                return true;

            if (Vector2.Distance(closestTower.Position.LSTo2D(), checkPos) <= 910)
                return false;

            return true;
        }
Exemple #11
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     GankDetector.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("DETECTORS_GANK_MAIN"), "SAssembliesDetectorsGank"));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankPingTimes", Language.GetString("GLOBAL_PING_TIMES")).SetValue(new Slider(0, 5, 0))));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankPingType", Language.GetString("GLOBAL_PING_TYPE")).SetValue(new StringList(new[]
         {
             Language.GetString("GLOBAL_PING_TYPE_NORMAL"),
             Language.GetString("GLOBAL_PING_TYPE_DANGER"),
             Language.GetString("GLOBAL_PING_TYPE_ENEMYMISSING"),
             Language.GetString("GLOBAL_PING_TYPE_ONMYWAY"),
             Language.GetString("GLOBAL_PING_TYPE_FALLBACK"),
             Language.GetString("GLOBAL_PING_ASSISTME")
         }))));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankLocalPing", Language.GetString("GLOBAL_PING_LOCAL")).SetValue(true)));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankChat", Language.GetString("GLOBAL_CHAT")).SetValue(false)));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankNotification", Language.GetString("GLOBAL_NOTIFICATION")).SetValue(false)));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankTrackRangeMin", Language.GetString("DETECTORS_GANK_RANGE_MIN")).SetValue(new Slider(1, 10000, 1))));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankTrackRangeMax", Language.GetString("DETECTORS_GANK_RANGE_MAX")).SetValue(new Slider(1, 10000, 1))));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankDisableTime", Language.GetString("DETECTORS_GANK_DISABLETIME")).SetValue(new Slider(20, 180, 1))));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankShowJungler", Language.GetString("DETECTORS_GANK_SHOWJUNGLER")).SetValue(false)));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankVoice", Language.GetString("GLOBAL_VOICE")).SetValue(false)));
     GankDetector.MenuItems.Add(
         GankDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsGankActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return GankDetector;
 }
Exemple #12
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     ExecuteTimer.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TIMERS_EXECUTE_MAIN"), "SAssembliesTimersExecute"));
     ExecuteTimer.MenuItems.Add(
         ExecuteTimer.Menu.AddItem(new MenuItem("SAssembliesTimersExecuteActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return ExecuteTimer;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     DestinationTracker.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TRACKERS_DESTINATION_MAIN"), "SAssembliesTrackersDestination"));
     DestinationTracker.MenuItems.Add(
         DestinationTracker.Menu.AddItem(new MenuItem("SAssembliesTrackersDestinationActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return DestinationTracker;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     AntiNexusTurretMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_ANTINEXUSTURRET_MAIN"), "SAssembliesMiscsAntiNexusTurret"));
     AntiNexusTurretMisc.MenuItems.Add(
         AntiNexusTurretMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsAntiNexusTurretActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return AntiNexusTurretMisc;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     SmartPingImproveMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_SMARTPINGIMPROVE_MAIN"), "SAssembliesMiscsSmartPingImprove"));
     SmartPingImproveMisc.MenuItems.Add(
         SmartPingImproveMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsSmartPingImproveActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return SmartPingImproveMisc;
 }
Exemple #16
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     InhibitorHealth.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("HEALTHS_INHIBITOR_MAIN"), "SAssembliesHealthsInhibitor"));
     InhibitorHealth.MenuItems.Add(
         InhibitorHealth.Menu.AddItem(new MenuItem("SAssembliesHealthsInhibitorActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return InhibitorHealth;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     EasyRangedJungleMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_EASYRANGEDJUNGLE_MAIN"), "SAssembliesMiscsEasyRangedJungle"));
     EasyRangedJungleMisc.MenuItems.Add(
         EasyRangedJungleMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsEasyRangedJungleActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return EasyRangedJungleMisc;
 }
Exemple #18
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     WaypointTracker.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TRACKERS_WAYPOINT_MAIN"), "SAssembliesTrackersWaypoint"));
     WaypointTracker.MenuItems.Add(
         WaypointTracker.Menu.AddItem(new MenuItem("SAssembliesTrackersWaypointActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return WaypointTracker;
 }
Exemple #19
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     AutoExhaustActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOEXHAUST_MAIN"), "SAssembliesActivatorsAutoExhaust"));
     AutoExhaustActivator.MenuItems.Add(
         AutoExhaustActivator.Menu.AddItem(
             new MenuItem("SAssembliesSActivatorsAutoExhaustAutoCast", Language.GetString("ACTIVATORS_AUTOEXHAUST_AUTOCAST")).SetValue(
                 new KeyBind(32, KeyBindType.Press))));
     AutoExhaustActivator.MenuItems.Add(
         AutoExhaustActivator.Menu.AddItem(
             new MenuItem("SAssembliesSActivatorsAutoExhaustMinEnemies", Language.GetString("ACTIVATORS_AUTOEXHAUST_MIN_ENEMIES")).SetValue(
                 new Slider(3, 5, 1))));
     AutoExhaustActivator.MenuItems.Add(
         AutoExhaustActivator.Menu.AddItem(
             new MenuItem("SAssembliesSActivatorsAutoExhaustAllyPercent", Language.GetString("ACTIVATORS_AUTOEXHAUST_ALLY_PERCENT")).SetValue(
                 new Slider(20, 100, 1))));
     AutoExhaustActivator.MenuItems.Add(
         AutoExhaustActivator.Menu.AddItem(
             new MenuItem("SAssembliesSActivatorsAutoExhaustSelfPercent", Language.GetString("ACTIVATORS_AUTOEXHAUST_SELF_PERCENT")).SetValue(
                 new Slider(20, 100, 1))));
     AutoExhaustActivator.MenuItems.Add(
         AutoExhaustActivator.Menu.AddItem(
             new MenuItem("SAssembliesSActivatorsAutoExhaustUseUltSpells", Language.GetString("ACTIVATORS_AUTOEXHAUST_ULTSPELLS")).SetValue(
                 false)));
     AutoExhaustActivator.MenuItems.Add(
         AutoExhaustActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoExhaustActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return AutoExhaustActivator;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     MinionLocationMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_MINIONLOCATION_MAIN"), "SAssembliesMiscsMinionLocation"));
     MinionLocationMisc.MenuItems.Add(
         MinionLocationMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsMinionLocationActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return MinionLocationMisc;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     AutoDervishBladeActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOITEMS_DEFENSIVE_CLEANSE_DERVISHBLADE_MAIN"), "SAssembliesActivatorsAutoItemsDefensiveCleanseDervishBlade"));
     AutoDervishBladeActivator.MenuItems.Add(
         AutoDervishBladeActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoItemsDefensiveCleanseDervishBladeActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return AutoDervishBladeActivator;
 }
Exemple #22
0
        public void DrawSpell(LeagueSharp.SDK.Spell spell)
        {
            if (spell == null) return;

            var color = System.Drawing.Color.White;
            var CanDraw = true;

            switch (spell.Slot)
            {
                case SpellSlot.Q:
                    color = QColor;
                    CanDraw = DrawQ;
                    break;
                case SpellSlot.W:
                    color = WColor;
                    CanDraw = DrawW;
                    break;
                case SpellSlot.E:
                    color = EColor;
                    CanDraw = DrawE;
                    break;
                case SpellSlot.R:
                    color = RColor;
                    CanDraw = DrawR;
                    break;
            }

            if (CanDraw && (!DrawReady || spell.IsReady())) Render.Circle.DrawCircle(Me.Position, spell.Range, color);
        }
Exemple #23
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     AutoShieldActivator.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOSHIELD_MAIN"), "SAssembliesActivatorsAutoShield"));
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(
             new MenuItem("SAssembliesActivatorsAutoShieldBlockAA", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_AA")).SetValue(false)));
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldBlockCC", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_CC")).SetValue(false)));
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(
             new MenuItem("SAssembliesActivatorsAutoShieldBlockDamageAmount", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_DMG")).SetValue(
                 new StringList(new[] { "Medium", "High", "Extreme" }))));
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(
             new MenuItem("SAssembliesActivatorsAutoShieldBlockMinDamageAmount", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_DMG_MIN")).SetValue(
                 new Slider(50, 2000, 1))));
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldBlockableSpellsActive", Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_SPECIFIC_SPELL")).SetValue(false)));
     AutoShieldActivatorBlockableSpells.Menu =
         AutoShieldActivator.Menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("ACTIVATORS_AUTOSHIELD_BLOCK_BLOCKABLE_SPELL"),
             "SAssembliesActivatorsAutoShieldBlockableSpells"));
     foreach (var spell in AutoShield.GetBlockableSpells())
     {
         AutoShieldActivatorBlockableSpells.MenuItems.Add(
             AutoShieldActivatorBlockableSpells.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldBlockableSpells" + spell, spell).SetValue(false)));
     }
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldAlly", Language.GetString("ACTIVATORS_AUTOSHIELD_ALLY")).SetValue(false)));
     AutoShieldActivator.MenuItems.Add(
         AutoShieldActivator.Menu.AddItem(new MenuItem("SAssembliesActivatorsAutoShieldActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return AutoShieldActivator;
 }
Exemple #24
0
        public static void Orbwalker_OnPostAttack(LeagueSharp.Common.AfterAttackArgs args)
        {
            var dgfg = args.Target;
            if (dgfg is AIHeroClient)
            {
                var Target = dgfg as AIHeroClient;

                if (PortAIO.OrbwalkerManager.isComboActive || PortAIO.OrbwalkerManager.isHarassActive)
                {
                    if (Target == null || Target.IsDead || Target.IsInvulnerable || !Target.LSIsValidTarget(Spells.Q.Range)) return;
                    {
                        if (MenuConfig.TowerCheck && Target.IsUnderEnemyTurret()) return;
                        if (Spells.Q.IsReady())
                        {
                            Spells.Q.Cast(Target);
                        }
                    }

                    if (PortAIO.OrbwalkerManager.isLaneClearActive) return;

                    var mob = GameObjects.Jungle.Where(m => m != null && m.LSIsValidTarget(Player.AttackRange) && !GameObjects.JungleSmall.Contains(m));

                    foreach (var m in mob)
                    {
                        if (Spells.Q.IsReady())
                        {
                            Spells.Q.Cast(m);
                        }
                    }
                }
            }
        }
Exemple #25
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu, bool useExisitingMenu = false)
 {
     Language.SetLanguage();
     if (!useExisitingMenu)
     {
         Timers.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TIMERS_TIMER_MAIN"), "SAssembliesTimers"));
     }
     else
     {
         Timers.Menu = menu;
     }
     Timers.MenuItems.Add(
         Timers.Menu.AddItem(new MenuItem("SAssembliesTimersPingTimes", Language.GetString("GLOBAL_PING_TIMES")).SetValue(new Slider(0, 5, 0))));
     Timers.MenuItems.Add(
         Timers.Menu.AddItem(new MenuItem("SAssembliesTimersRemindTime", Language.GetString("TIMERS_REMIND_TIME")).SetValue(new Slider(0, 50, 0))));
     Timers.MenuItems.Add(
         Timers.Menu.AddItem(new MenuItem("SAssembliesTimersLocalPing", Language.GetString("GLOBAL_PING_LOCAL")).SetValue(true)));
     Timers.MenuItems.Add(
         Timers.Menu.AddItem(new MenuItem("SAssembliesTimersChatChoice", Language.GetString("GLOBAL_CHAT_CHOICE")).SetValue(new StringList(new[]
         {
             Language.GetString("GLOBAL_CHAT_CHOICE_NONE"),
             Language.GetString("GLOBAL_CHAT_CHOICE_LOCAL"),
             Language.GetString("GLOBAL_CHAT_CHOICE_SERVER")
         }))));
     Timers.MenuItems.Add(
         Timers.Menu.AddItem(new MenuItem("SAssembliesTimersNotification", Language.GetString("GLOBAL_NOTIFICATION")).SetValue(false)));
     Timers.MenuItems.Add(
         Timers.Menu.AddItem(new MenuItem("SAssembliesTimersTextScale", Language.GetString("TIMERS_TIMER_SCALE")).SetValue(new Slider(12, 8, 20))));
     if (!useExisitingMenu)
     {
         Timers.MenuItems.Add(Timers.Menu.AddItem(new MenuItem("SAssembliesTimersActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     }
     return Timers;
 }
Exemple #26
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     JunglerTracker.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("TRACKERS_JUNGLER_MAIN"), "SAssembliesTrackersJungler"));
     JunglerTracker.MenuItems.Add(
         JunglerTracker.Menu.AddItem(new MenuItem("SAssembliesTrackersJunglerActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return JunglerTracker;
 }
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     FoWSpellEnemyDetector.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("DETECTORS_FOWSPELLENEMY_MAIN"), "SAssembliesDetectorsFoWSpellEnemy"));
     FoWSpellEnemyDetector.MenuItems.Add(
         FoWSpellEnemyDetector.Menu.AddItem(new MenuItem("SAssembliesDetectorsFoWSpellEnemyActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return FoWSpellEnemyDetector;
 }
Exemple #28
0
 public static Menu.MenuItemSettings SetupMenu(LeagueSharp.Common.Menu menu)
 {
     AutoBuyMisc.Menu = menu.AddSubMenu(new LeagueSharp.Common.Menu(Language.GetString("MISCS_AUTOBUY_MAIN"), "SAssembliesMiscsAutoBuy"));
     AutoBuyMisc.MenuItems.Add(
         AutoBuyMisc.Menu.AddItem(new MenuItem("SAssembliesMiscsAutoBuyActive", Language.GetString("GLOBAL_ACTIVE")).SetValue(false)));
     return AutoBuyMisc;
 }
Exemple #29
0
 static void AntiGapcloser_OnEnemyGapcloser(LeagueSharp.Common.ActiveGapcloser gapcloser)
 {
     if (!Misc["autoE"].Cast<CheckBox>().CurrentValue) return;
     if (EloBuddy.ObjectManager.Player.LSDistance(gapcloser.Sender, true) < _spellE.Range * _spellE.Range)
     {
         _spellE.Cast(gapcloser.Sender);
     }
 }
Exemple #30
0
 /// <summary>
 /// Called when a spell cast is processed by the client.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The <see cref="LeagueSharp.GameObjectProcessSpellCastEventArgs"/> instance containing the event data.</param>
 internal static void OnProcessSpellCast(LeagueSharp.Obj_AI_Base sender, LeagueSharp.GameObjectProcessSpellCastEventArgs args)
 {
     if (sender.IsValid && sender.Team != ObjectManager.Player.Team && args.SData.Name == "YasuoWMovingWall")
     {
         _wallCastT = Utils.TickCount;
         _yasuoWallCastedPos = sender.ServerPosition.To2D();
     }
 }