public static Vector3 GetInsecPos(Obj_AI_Hero target) { if (Program.menu.Item("Mode").GetValue <StringList>().SelectedIndex == 0) { return(WardJump.InsecposTower(target)); // insec torre } else if (Program.menu.Item("Mode").GetValue <StringList>().SelectedIndex == 1) { return(WardJump.InsecposToAlly(insecEnemy, insecAlly)); //insec ally } else if (Program.menu.Item("Mode").GetValue <StringList>().SelectedIndex == 2) { return(WardJump.Insecpos(target)); // insec normal } return(WardJump.Insecpos(target)); }