Beispiel #1
0
        private static void NewSumm(CoreSum summoner, Menu parent)
        {
            try
            {
                if (summoner.Name.Contains("smite") && SmiteInGame)
                {
                    Lists.Summoners.Add(summoner.CreateMenu(parent));
                }

                if (!summoner.Name.Contains("smite"))
                {
                    if (Player.GetSpellSlot(summoner.Name) != SpellSlot.Unknown)
                    {
                        if (summoner.Name == "summonerteleport")
                        {
                            Drawing.OnDraw += summoner.OnDraw;
                        }

                        Lists.Summoners.Add(summoner.CreateMenu(parent));
                    }
                }
            }

            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
Beispiel #2
0
        private static void NewSumm(CoreSum summoner, Menu parent)
        {
            try
            {
                if (summoner.Name.Contains("smite") && SmiteInGame)
                {
                    Lists.Summoners.Add(summoner.CreateMenu(parent));
                }

                if (!summoner.Name.Contains("smite"))
                {
                    if (Player.GetSpellSlot(summoner.Name) != SpellSlot.Unknown)
                    {
                        if (summoner.Name == "summonerteleport")
                        {
                            Drawing.OnDraw += summoner.OnDraw;
                        }

                        Lists.Summoners.Add(summoner.CreateMenu(parent));
                    }
                }
            }

            catch (Exception e)
            {
                Console.WriteLine(e);
                Game.PrintChat("Exception thrown at <font color=\"#FFF280\">Activator.NewSumm</font>");
            }
        }
Beispiel #3
0
        private static void NewSummoner(CoreSum summoner, Menu parent)
        {
            if (!summoner.Name.Contains("smite") &&
                Player.GetSpellSlot(summoner.Name) != SpellSlot.Unknown)
            {
                Lists.Summoners.Add(summoner.CreateMenu(parent));
            }

            if (summoner.Name.Contains("smite") && SmiteInGame)
            {
                Lists.Summoners.Add(summoner.CreateMenu(parent));
            }
        }
        private static void NewSumm(CoreSum summoner, Menu parent)
        {
            try
            {
                if (summoner.Name.Contains("smite") && SmiteInGame)
                {
                    Lists.Summoners.Add(summoner.CreateMenu(parent));
                }

                if (!summoner.Name.Contains("smite") && Player.GetSpellSlot(summoner.Name) != SpellSlot.Unknown)
                {
                    Lists.Summoners.Add(summoner.CreateMenu(parent));
                }
            }

            catch (Exception e)
            {
                Console.WriteLine(e);
                //Game.PrintChat("Exception thrown at <font color=\"#FFF280\">Activator.NewSumm</font>");
                FrozenGJ.Info("K活化剂", "新召唤师技能异常!");
            }
        }