public static void LaneClear() { if (GetCheckBoxValue(MenuTypes.LaneClear, "qLane")) { FarmLogics.laneQ(); } if (GetCheckBoxValue(MenuTypes.LaneClear, "eLane")) { FarmLogics.laneE(); } }
public static void LaneClear() { if (GetCheckBoxValue(MenuTypes.LaneClear, "qLane") && Player.Instance.ManaPercent >= GetSliderValue(MenuTypes.LaneClear, "manaLane")) { var count = GetSliderValue(MenuTypes.LaneClear, "qLaneCount"); FarmLogics.laneQBarrel(count); } if (GetCheckBoxValue(MenuTypes.LaneClear, "eLane")) { var count = GetSliderValue(MenuTypes.LaneClear, "eLaneCount"); var ecount = GetSliderValue(MenuTypes.LaneClear, "eKeep"); FarmLogics.laneE(count, ecount); } if (GetCheckBoxValue(MenuTypes.LaneClear, "qLaneLast") && Player.Instance.ManaPercent >= GetSliderValue(MenuTypes.LaneClear, "manaLane")) { FarmLogics.laneLastQ(); } }