Пример #1
0
        public static SpellClass GetSpellClassByID(SpellSlotID ID)
        {
            SpellClass SClass = new SpellClass();

            SClass.CurrentSpell = Memory.Read <int>(GetSpellBookInstance + SpellArray + (0x4 * (int)ID));
            return(SClass);
        }
Пример #2
0
        private static bool IsSummonerSpellReady(SummonerSpellSlot Slot)
        {
            SpellSlotID FindSlotID =
                (SpellSlotID)Enum.Parse(typeof(SpellSlotID), Enum.GetName(typeof(SummonerSpellSlot), Slot));

            return(GetSpellClassByID(FindSlotID).IsSpellReady());
        }