public static SpellClass GetSpellClassByID(SpellSlotID ID) { SpellClass SClass = new SpellClass(); SClass.CurrentSpell = Memory.Read <int>(GetSpellBookInstance + SpellArray + (0x4 * (int)ID)); return(SClass); }
private static bool IsSummonerSpellReady(SummonerSpellSlot Slot) { SpellSlotID FindSlotID = (SpellSlotID)Enum.Parse(typeof(SpellSlotID), Enum.GetName(typeof(SummonerSpellSlot), Slot)); return(GetSpellClassByID(FindSlotID).IsSpellReady()); }