Example #1
0
        public static bool IsActive(this Spell spell, bool ks = false)
        {
            var mode = Orbwalker.ActiveModesFlags.HasFlag(Orbwalker.ActiveModes.Combo);
            var name = string.Format("{0}{1}{2}", ks ? "KS" : string.Empty, spell.Slot.ToString().ToUpper(),
                                     ks ? string.Empty : (mode ? "Combo" : "Harass"));
            var item = false;

            if ((spell.Slot == SpellSlot.Q || spell.Slot == SpellSlot.Q || spell.Slot == SpellSlot.Q ||
                 spell.Slot == SpellSlot.Q) && ks)
            {
                item = Katarina.getCheckBoxItem(Katarina.ksMenu, name);
            }
            if (!ks)
            {
                if (spell.Slot == SpellSlot.Q)
                {
                    item = Katarina.getCheckBoxItem(Katarina.qMenu, name);
                }
                if (spell.Slot == SpellSlot.W)
                {
                    item = Katarina.getCheckBoxItem(Katarina.wMenu, name);
                }
                if (spell.Slot == SpellSlot.E)
                {
                    item = Katarina.getCheckBoxItem(Katarina.eMenu, name);
                }
                if (spell.Slot == SpellSlot.R)
                {
                    item = Katarina.getCheckBoxItem(Katarina.rMenu, name);
                }
            }
            return(item);
        }
Example #2
0
 public static void Main()
 {
     if (ObjectManager.Player.ChampionName == "Katarina")
     {
         Bootstrap.Initialize();
         var s = new Katarina();
     }
 }
Example #3
0
 private static void Main(string[] args)
 {
     CustomEvents.Game.OnGameLoad += eventArgs =>
     {
         if (ObjectManager.Player.ChampionName == "Katarina")
         {
             Bootstrap.Initialize();
             var s = new Katarina();
         }
     };
 }