Ejemplo n.º 1
0
        public static void OnDrawSelf(EventArgs args)
        {
            if (!SMenu.Item(_MenuItemBase + "Boolean.DrawOnSelf").GetValue <bool>())
            {
                return;
            }

            if (!Player.Position.IsOnScreen())
            {
                return;
            }

            if (SMenu.Item(_MenuItemBase + "Boolean.DrawOnSelf.RendColor").GetValue <Circle>().Active&&
                Champion.E.Level > 0)
            {
                Render.Circle.DrawCircle(Player.Position, Champion.E.Range,
                                         SMenu.Item(_MenuItemBase + "Boolean.DrawOnSelf.RendColor").GetValue <Circle>().Color, 2);
            }

            if (SMenu.Item(_MenuItemBase + "Boolean.DrawOnSelf.SentinelMode").GetValue <bool>() && Champion.W.Level > 0)
            {
                if (SMenu.Item(SentinelHandler._MenuItemBase + "Boolean.UseSentinel").GetValue <bool>()) //enabled
                {
                    var playerPos = EloBuddy.Drawing.WorldToScreen(Player.Position);
                    var vColor    = GetColor(Champion.W.IsReady());
                    var text      = "Sentinel Mode:" + SentinelHandler.GetSentinelSelected();
                    EloBuddy.Drawing.DrawText(playerPos.X - 30 + 50,
                                              playerPos.Y - 80 + 60, vColor, text);
                }
            }
        }
Ejemplo n.º 2
0
        public static void OnLoad()
        {
            if (Player.ChampionName != "Kalista")
            {
                return;
            }

            Console.WriteLine(@"S+ Class Kalista Loading Core...");
            Core.Champion.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Humanizer...");
            Humanizer.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Drawing...");
            DrawingHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Orbwalker...");
            OrbwalkHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Auto Events...");
            RendHandler.Load();
            SentinelHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading ManaManager...");
            // ManaHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Trinkets...");
            TrinketHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Items...");
            ItemHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Levels...");
            LevelHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading SoulBound...");
            SoulBoundHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Loading Debugger...");
            DebugHandler.Load();
            Console.WriteLine(@"S+ Class Kalista Finalizing Menu...");
            SMenu.AddSubMenu(new Menu("Credits: By Kallen", "doesnotMatterMenu"));
            Core.SMenu.AddToMainMenu();

            Console.WriteLine(@"S+ Class Kalista Load Completed");
        }