//RX public bool CanCastSmite(Obj_AI_Hero champion, ChampionSpellValues championSpells, MenuManager menu) { if (championSpells._smiteSpell != null && championSpells._smiteSpell.Ready && champion.Mana >= MenuHelper.GetMenuSliderValue(menu._menuItems.Misc, Constants.ChampionMenus.manaManagerQL)) { return(true); } return(false); }
/// <summary> /// Determines whether this instance [can cast q] useing the specified champion. /// </summary> /// <param name="champion">The champion.</param> /// <param name="championSpells">The champion spells.</param> /// <param name="menu">The menu.</param> /// <returns> /// <c>true</c> if this instance [can cast q] the specified champion; otherwise, <c>false</c>. /// </returns> public bool CanCastW(Obj_AI_Hero champion, ChampionSpellValues championSpells, Menu menu) { //RC neeed to pass in specific menu of the orbwalking mode if (championSpells._wSpell != null && champion.SpellBook.CanUseSpell(SpellSlot.W) && championSpells._wSpell.Ready && champion.Mana >= MenuHelper.GetMenuSliderValue(menu, Constants.ChampionMenus.manaManagerWL)) { return(true); } return(false); }